I am tying to load KML files into google maps, but the icon that the
KML has in it style does not exist.
<Style id="loc">
<IconStyle>
<Icon>
<href>http://ondemand.metacarta.com/img/symbols/location-
marker.png</href>
</Icon>
</IconStyle>
</Style>
I want to override the style provided in the kml so that I can see the
markers on the map.
I tried to do
var blueIcon = new GIcon(G_DEFAULT_ICON);
blueIcon.image = "http://www.google.com/intl/en_us/mapfiles/ms/micons/
blue-dot.png";
// Set up our GMarkerOptions object
markerOptions = { icon:blueIcon };
but no luck, it still uses the Icon defined in the KML
thanks,
John
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---