On Feb 10, 1:53 am, Brock <[email protected]> wrote: > All I am looking to do is color states or > countries based on a value. To do this, I think I need to overlay the > polygons and then color them.
There are two techniques that can be used, and the choice would depend on how many polygons you have and what interaction you want with them. GPolygon objects are suitable for few polygons and allow full interaction, like clicking and editing. A GTileLayer is suitable for many polygons, with limited interaction. This example, (Population Density), uses a GTileLayer, and adds click interaction through a server side script: http://maps.forum.nu/gm_main.html?lat=37.649034&lon=-96.855469&z=4&mType=13 The polygon data is obtained from the US Census Bureau and stored in a spatially enabled MySQL database. -- Marcelo - http://maps.forum.nu -- --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
