On Aug 20, 6:09 am, KnutMarius <[email protected]> wrote: > I have an application where I would like the users to be able to > select a country by clicking in the google map. From before I had an > icon on each country, but that does not seem intuitive enough, so I > want the users to be able to click on the entire country. I guess this > is possible by geocoding the point where the user clicks, and extract > the country code, but I would also like to make it more clear which > countries the user can actually click (Not all countries can be > selected) by colouring the specific countries in the map. > > Does anyone have a suggestion for a good way to do this? I guess I > would need a collection of polygons for each country or something > without it being too high-resolution (heavy loading times?)
Don't know how well it will work for you, but I think you can get the shape files you need here: http://www.diva-gis.org/gdata Then convert them into kml or whatever format works for you (as you say, you may need to simplify them to get the load times down). -- Larry -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" 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-js-api-v3?hl=en.
