I'm trying to achieve an effect similar to this:
Notice how France is brighter than the other countries. It has the 'focus'. I've been exploring the API and it looks like I'm supposed use kmlLayers
to achieve this effect. Is this correct? If so, how do I leverage or even find kml to do this? How else could I do this?
Thanks
I'm trying to achieve an effect similar to this:
Notice how France is brighter than the other countries. It has the 'focus'. I've been exploring the API and it looks like I'm supposed use kmlLayers
to achieve this effect. Is this correct? If so, how do I leverage or even find kml to do this? How else could I do this?
Thanks
Share Improve this question asked Apr 29, 2012 at 0:05 Dane O'ConnorDane O'Connor 77.4k39 gold badges120 silver badges174 bronze badges3 Answers
Reset to default 2I found this can be done with polygons and 'holes'. Google has this pentagon example
The only down side is the polygon needs to be drawn by hand (maybe there's a database of country outlines?) I used this tool to assist with the manual drawing for now.
The information at these links will help you, I think:
- KML of the World Countries as created by Valery Hronusov
- KML of the World Capitals as created by Filipumme
this demo shows you how: https://google-developers.appspot./maps/documentation/javascript/examples/layer-kml
aight, got kml for france; working demo: http://dev.bowdenweb./maps/gmaps/layer-kml-02.html