Create Polygons in Google Maps?

20 views
Skip to first unread message

Phil Arbeau

unread,
Jan 23, 2012, 3:36:15 PM1/23/12
to google-map...@googlegroups.com
Good afternoon,

I have been working on a project in which points from a database are plotted on a google map. This database contains information regarding power outages, including cause, and the number of minutes of the outage.

I was curious if it would be possible to create a polygon, which could summarize the number of minutes lost for the power outages within the polygon, or take a sum of the power outages of each cause within the polygon.

Thanks,

Phil

geoco...@gmail.com

unread,
Jan 23, 2012, 10:08:39 PM1/23/12
to Google Maps JavaScript API v3
On Jan 23, 12:36 pm, Phil Arbeau <parb...@gmail.com> wrote:
> Good afternoon,
>
> I have been working on a project in which points from a database are
> plotted on a google map. This database contains information regarding power
> outages, including cause, and the number of minutes of the outage.
>
> I was curious if it would be possible to create a polygon,

Yes. See the documentation:
http://code.google.com/apis/maps/documentation/javascript/reference.html#Polygon

> which could
> summarize the number of minutes lost for the power outages within the
> polygon, or take a sum of the power outages of each cause within the
> polygon.

If you have that data and a geographically enabled database. But that
doesn't have anything to do with the API (and the API doesn't have
support for your data).

Have you looked at FusionTables & the FusionTablesLayer google maps
API v3 layer? That might do what you need.

-- Larry


>
> Thanks,
>
> Phil
Reply all
Reply to author
Forward
0 new messages