Having trouble using KML overlays for states and countries
51 views
Skip to first unread message
Michael Kaufman
unread,
Jul 20, 2011, 12:45:36 PM7/20/11
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to google-map...@googlegroups.com
My goal is to have a map which has different states and countries display with overlays using KML. I have tried to incorporate a KMl file from a generator (http://www.zonums.com/gmaps/colorit2.php?action=color&dset=FRANCE&tmap=RAMP) but nothing happens when I link up the KML file into my map (I have tested and proven that my method to call the KML file works with other KMl files).
Ideally I would want my map to function similarily to how this image looks.
Is it possible?
Rossko
unread,
Jul 20, 2011, 3:25:55 PM7/20/11
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Google Maps JavaScript API v3
> but nothing happens when I link up the KML file into my map
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Google Maps JavaScript API v3
I did exactly this but unfortunately the work isn't public. here's the
strategy;
1. you need one big kml layer for the top level map
2. you need individual layers for each region
3. you will bind click event listeners for top layer that hide itself
and turn on later for the child region
4. do the same for the smaller region, mutatis mutandis
I'm writing on my phone so I can't been more verbose :(