Hi Guys,
I am creating a webpage that is going to use google maps.
At the moment I am just using standard icons, but i was hoping to use
numbered icons but was unsure how.
Here is my google maps code, and would like point2 to be numbered '2',
and point1 to be numbered '1'.
function load() {
if (GBrowserIsCompatible()) {
var map = new GMap2(document.getElementById("map"));
//zoom and movement buttons
map.addControl(new GSmallMapControl());
//change the view buttons
map.addControl(new GMapTypeControl());
//
*****************************************************
//change the coordinates
map.setCenter(new GLatLng(-33.0512, 135.4653), 8);
//creates the pointer and points it at that location
var point1 = new GLatLng(-34.9258, 138.5997);
var point2 = new GLatLng(-33.0512, 135.4653);
//
*****************************************************
map.addOverlay(new GMarker(point1))
map.addOverlay(new GMarker(point2))
}
}
Thanks
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---