I tried what you suggested and it doesn't seem to work... here's an excerpt of one placemark from a KML: <Placemark> <name>Cave Creek Rd. and Greenway Pkwy. </name> <visibility>1</visibility> <Style> <icon>http://www.google.com/intl/en_us/mapfiles/ms/icons/green- dot.png</icon> </Style> <Point> <coordinates>-112.030764,33.631951,0</coordinates> </Point> </Placemark>
But the KML still shows it as blue... as you can see here: http://maps.google.com/maps?q=http://www.radarrover.com/service/kml/test7.kml Any ideas? Thanks On Dec 8, 12:38 am, Brett DeWoody <[EMAIL PROTECTED]> wrote: > In your KML file there should be an <Icon> element that contains a URL > that looks something like "http://www.google.com/intl/en_us/mapfiles/ > ms/icons/blue-dot.png". The exact URL might be different, but it's > pointing to some URL that contains the blue icon you're seeing. To > change the icon, you just have to insert a different URL. > > Thankfully Google has provided a bunch of icons for us. Unfortunately > I've never found a Google-supplied list of all their icons. But in > your case it sounds like you just want to change the color of the > icon. To change it to red, simply replace the URL in the <Icon> > element with "http://www.google.com/intl/en_us/mapfiles/ms/icons/red- > dot.png". So it would then look like: > > <Icon>http://www.google.com/intl/en_us/mapfiles/ms/icons/red-dot.png</ > Icon> > > You can take guesses at what the URL for the other colored icons are, > like:http://www.google.com/intl/en_us/mapfiles/ms/icons/green-dot.pnghttp://www.google.com/intl/en_us/mapfiles/ms/icons/orange-dot.pnghttp://www.google.com/intl/en_us/mapfiles/ms/icons/yellow-dot.png > > For more info and URLs for other Google-supplied icons go here > -http://econym.googlepages.com/geicons.htm > > Hope this helps. > > -Brett > > On Dec 7, 11:33 pm, msaz87 <[EMAIL PROTECTED]> wrote: > > > Hey all, > > > I have a feeling this is a simple question... but I couldn't find an > > answer anywhere... > > > I'm having a map load some markers via KML, but I want some of them to > > be green, some to be red, etc. I don't care about the markers being > > custom, the standard type is fine -- just different colors. > > >http://maps.google.com/maps?q=http://www.radarrover.com/service/kml/t... > > is my attempt at figuring out different markers... and nothing really > > worked. All I'm looking for is a way to color the blue markers > > differently. > > > Any help is appreciated. > > > Thanks in advance! --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
