I am very new to Google Maps, API , Java Script and HTML. I've
created a map and have my markers, but I would like to label them.
I've tried reading the tutorial on http://econym.org.uk/gmap/ but I am
confused to where and how to write the label and incorporate a
sidebar.
I would just like the latitude and longitude locations labeled A, B, C
& D.
//<![CDATA[
var map;
function load() {
if (GBrowserIsCompatible()) {
map = new GMap2(document.getElementById("map"));
map.setCenter(new GLatLng(44.557252, -79.660980), 13);
// add a point onto the map
map.addOverlay(new GMarker(new GLatLng(44.557252,
-79.660980)));
map.addOverlay(new GMarker(new GLatLng(44.709808,
-79.641839)));
map.addOverlay(new GMarker(new GLatLng(44.534419,
-79.563431)));
map.addOverlay(new GMarker(new GLatLng(44.433406, -79.832951)));
map.setZoom(10);
}
}
Can somebody please help?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Maps API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/Google-Maps-API?hl=en
-~----------~----~----~----~------~----~------~--~---