Hi Javier- Your best option right now for high performance is a tile layer. For interactivity, you can combine that with client-side operations that check to see what polygonal area the mouse cursor is in, and you can highlight using one Polygon at a time. JavaScript is quite fast at doing in-polygon or in-bounds checks - I imagine AS3 would be even faster.
The Maps data API will likely not bring country layers with it any time soon. - pamela On Tue, Apr 28, 2009 at 11:41 PM, Javier de la Torre <[email protected]> wrote: > > Hi Pamela, > > Regarding this. I am also representing countries and states for doing > thematic mapping. > I had to set up a server for that. I was wondering if it is worth > moving that to appengine or wait for Google to release a Maps Data API. > I hope this new API will be accompanied with classes on the Flash API > to load directly layers of data like this. > > But regarding performance, loading all countries polygons does not > work well... too much for the client and it becomes unresponsive. It > could be great to be able to load tiles for things like that, but then > there is little you can do with them on the client. > Ideally I would like to be able to load a simplified polygon for a > certain country, so that I can control its apparence and so on, or > choose to do like with Google Charts, define the styling for a tile > layer and google answering tiles with my desired style. > > But probably I am asking for too much. Meanwhile CloudFront is working > fine for me for distributing tiles up to a certain zoom level. > > Javier de la Torre > www.vizzuality.com > > On Apr 28, 2009, at 2:41 PM, pamela fox wrote: > >> >> Ah, I understand. We do have that data internally, but we haven't yet >> exposed it via an API. There's a feature request for that here: >> http://code.google.com/p/gmaps-api-issues/issues/detail?id=109 >> >> The country border example was this one: >> http://gvlt.wordpress.com/2008/05/17/tutorial-thematic-mapping-with-the-google-maps-flash-api/ >> >> There's also a lot of links to border resources here: >> http://groups.google.com/group/Google-Maps-API/web/resources-gisgeographical-data >> >> - pamela >> >> >> On Tue, Apr 28, 2009 at 1:24 AM, [email protected] <[email protected]> >> wrote: >>> >>> Thanks, but I meant country border(Sorry, but I'm not English native >>> speaker). >>> >>> I saw such tuttorial, but I thought that google maps have such data, >>> because of the fact, that map already have country border. >>>> >>> >> >> > > > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
