I am very new to this internet mapping thing. With that said, I
believe that I wrote the html correctly afterall I got the code from,
http://www.mandladventures.com/2006/05/04/google-maps-api/ but for
some reason I do not have a sidebar nor are my markers labelled.
Below is a short string of code, and I can't figure out what I am
doing wrong because I have no sidebar and no labels.
var map;
function load() {
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);
map.addControl(new GMapTypeControl());
map.addControl(new GLargeMapControl());
map.addControl(new GScaleControl());
}
}
//]]>
Could somebody please help me by writing in the exact code that is
needed for the sidebar and the marker labels to appear?
Thanks in advance for your cooperation.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---