Ok thanks,
I have found a script I can use but I would like to have more than one
pointer on the map and am unsure how to do this?!
As the first pointer takes the coordinates from the map centre I do
not know how to set the coordinates for the oterh pointers?!
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.1666, 134.6834), 8);
//creates the pointer
var newIcon5 = MapIconMaker.createLabeledMarkerIcon
({ label: "5", primaryColor: "#a3e934" });
var newIcon2 = MapIconMaker.createLabeledMarkerIcon
({ label: "2", primaryColor: "#a3e934" });
//points it at that location
var marker5 = new GMarker(map.getCenter(), { icon:
newIcon5 });
var marker2 = new GMarker(....???
map.addOverlay(marker5);
map.addOverlay(marker2);
}
}
On Jan 5, 11:05 am, Rossko <[email protected]> wrote:
> > 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.
>
> Simply searching this group for 'numbered icons' should give you a
> starthttp://groups.google.com/group/Google-Maps-API/search?group=Google-Ma...
>
> There's two parts to look into really ; selecting and applying custom
> icons to markers based on some data of your own, and generating or
> selecting the actual images froma library.
>
> cheers, Ross K
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---