> From: Neil.Young
> Hi Michael,
> could PG be used to cover other countries too?
> For now it looks very fixed to the USA.

Hi Neil,

The basic polygon code in polygonzo.js doesn't know or care which JSON
shapes it's getting. polymap.js and testmap.js implement a test map
that does have USA shapes only at the moment. One of my clients asked
me to add worldwide country polygons to their map, so it looks like
I'll be doing that pretty soon.

The code that generates the JSON data is in makeshapes.py. Some of
that is specific to the Census Bureau USA shapefiles, but most of it
is generic for any shapefile. So I don't expect it to be very hard to
generate JSON data for any shapefile. Once the data is in the JSON
format that PolyGonzo uses, the rest is easy - whether it's adding
that data to the test app, or using PolyGonzo.GOverlay in another Maps
API app.

-Mike
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to