My users have the option of putting their longitude and latitude in their DNN profile if they would like to be displayed on a google map.
http://stackoverflow.com/questions/3059044/google-maps-js-api-v3-simple-multiple-marker-example
Is there a way to only repeat tokens in a limited section of an HTML template? Pardon my ignorance on the coding terminology
If you look at the link above, I'd like to change the following, but keep the rest of the code the same:
var locations = [
['Bondi Beach', 41.349511,-82.796477, 4],
['Coogee Beach', 41.649511,-82.696477, 5],
['Cronulla Beach', 41.249511,-82.596477, 3],
['Manly Beach<br>test<br>test', 39.949511,-82.496477, 2],
['Maroubra Beach', 39.349511,-81.996477, 1]
];
____________
CHANGE to:
var locations = [
Do loop
['[DisplayName]', [Latitude],[Longitude],
Loop until there are no more Latitudes or Longitudes
];