I managed to find boundaries in KML-format. Actually it is a requirement now for my application to use KML-files loaded from server. Only if it were so easy... Only if all countries were just polygons... But Russia is not, and USA and Denmark and many others too - they consist of multiple polygons (MultiGeometry in KML). Only KML- parser I managed to find (Kml22 in GoogleMapsAPIUtilityLibrary.swc: http://gmaps-utility-library-flash.googlecode.com/svn/trunk/docs/index.html ) does not understand tag <MultiGeometry> (and any of its children consequently).
It seems, I am into a bad luck of writing some hardcoded parser just for my countries (fortunately they consist only of polygons and nothing else)... On 17 сент, 15:02, abr <[EMAIL PROTECTED]> wrote: > Well, I agree that geocoding can help me determine the country name. > But I won't be able to highlight that country without shapes. > > On Sep 17, 2:34 pm, Javier de la Torre <[EMAIL PROTECTED]> wrote: > > > > > Have you try geocoding your mouse position? > > It should give you the country information. > > > Or you want to know dynamically on the client? > > > Javier. > > > On Sep 17, 2008, at 12:30 PM, abr wrote: > > > > Hello everyone! > > > > In my Flex app I want to be able to determine in which country mouse > > > event occured. Also, I need to be able to highlight some countries > > > (selected by user). As I believe, I have to find some sort of shapes > > > for each country (and also subdivisions for some countries). The > > > problem is - shapes must match those on Google Maps. As I have seen, > > > Google Maps includes political boundaries for countries. Is there some > > > way to get those (in KML or any other reasonable format, which can be > > > displayed as or converted to flash)? > > > > Maybe you have any suggestions as to where can I find country shapes?- > > > Hide quoted text - > > > - Show quoted text -- Скрыть цитируемый текст - > > - Показать цитируемый текст - --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Maps API For Flash" 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-for-flash?hl=en -~----------~----~----~----~------~----~------~--~---
