The mouse over effect in Analytics is Flash. With only a few polygons it is no problem to implement client side, but I doubt it will be easy to implement on 200+ polygons with good performance.
There are a bunch of shapefiles with country borders out there, (just Google for them), but my preference for performance would be either custom tiles, like this: http://maps.forum.nu/gm_main.html?lat=23.885838&lon=-95.625000&z=3&mType=10 within the United States, you can click the map and a server side scriptreturns couty information, but this would be impractical to implement in a mouseover event handler,as it would fire too often. The alternative would be a server side cluster and no polygons, like this: http://maps.forum.nu/server_side_clusterer/ Please note that I'm not releasing the server side cluster code for free, but I'm showing here as a proof of concept. -- Marcelo - http://maps.forum.nu -- On Oct 15, 12:18 pm, Prague <[EMAIL PROTECTED]> wrote: > Hi, > > I have thought of a good solution for this > pagehttp://360cities.net/map#lat=51.17934&lng=18.98438&zoom=2 > we used to not have so many pins. but now europe is covered, and we > need a more complex (on the backend) solution so that the map is less > complex for people to use :) > > Basically, on zoom levels 0-3 or 4, we would show no pins at all, but > rather country polys only. click on a country to zoom in and see the > area / image pins. > > But we need to import this counry poly data from somewhere. > > Is this a good > start?http://mappinghacks.com/data/TM_WORLD_BORDERS_SIMPL-0.2.zip > > I want speed more than precision. Ideally, each country shape would > change color on mouseover, similar to how it works in google > analytics. > > (note: yes, we need marker clustering too. that's also planned for the > very near future, but I think these country borders are also > necessary) > > If anyone can help point me in the right direction i'd be really > happy. Thank you! > > Jeffrey Martinwww.360cities.net --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Maps API" 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?hl=en -~----------~----~----~----~------~----~------~--~---
