Add this to your createMarker function
var icontype = markerData.getAttribute("icontype");
and this to be edited to look like this
var marker = new GMarker(point,icons[icontype]);
and these lines like this
icons["0"] = icon;
icons["1"] = icon1;
icons["2"] = icon2;
Ralph
-
www.easypagez.com/maps/map_index.html
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---