GPolygon is here

The API team has just announced the existence of a new API feature (since 2.69): The GPolygon.

Needless to say this is a feature we’ve been expecting for a while. A transparent, filled, polygon is something that many people have been trying to do for a while now, none of which were more than polyline or overlay hacks. The nearest we came was the state overlay demo that Mike explained in September.

I’m hoping that Mike can revisit the shape files example and do a GPolygon demo as a compliment to the custom tiles one from September. The logic of the shape-file parsing is still valid, but the rendering mechanism would be completely new.

Enjoy!


3 Responses to “GPolygon is here”  

  1. 1 Ashish Mohta

    Really a nice thing.Transparency was required.Thx for the update

  2. 2 Rob

    Well done on the book, it reads well. Is there a limit to how many verticies a polygon could have?

  3. 3 James Love

    I am working on a project where I need to map numerous irregular polygons by clicking on the google map. For example a person would click around a valley to identify the limits of the valley. The clicks would be captured into a database and a transparent filled polygon would appear once the polygon was closed. I am going to attach comments to the polygons.

    Has anyone seen a free or paid script for this? Is so email me. Peace. - Jim

    james.milebymile@gmail.com

Leave a Reply