Return to Snippet

Revision: 30852
at August 24, 2010 03:14 by alegarza


Updated Code
var points =
[
new GLatLng(41.934977,-114.038086),
new GLatLng(41.934977,-120.014648),
new GLatLng(38.925229,-119.970703),
new GLatLng(34.957995,-114.56543),
new GLatLng(35.782171,-114.609375),
new GLatLng(36.102376,-114.697266),
new GLatLng(36.102376,-114.301758),
new GLatLng(36.102376,-114.213867),
new GLatLng(36.315125,-114.082031),
new GLatLng(37.892196,-113.994141)
];
var polygon = new GPolygon(points,'#FF0000',0.1,0.4,'#FF0000',0.4);
map.addOverlay(polygon);

Revision: 30851
at August 24, 2010 03:13 by alegarza


Initial Code
andre legarza to Corey
show details 10:07 AM (5 minutes ago)
var points =
[
new GLatLng(41.934977,-114.038086),
new GLatLng(41.934977,-120.014648),
new GLatLng(38.925229,-119.970703),
new GLatLng(34.957995,-114.56543),
new GLatLng(35.782171,-114.609375),
new GLatLng(36.102376,-114.697266),
new GLatLng(36.102376,-114.301758),
new GLatLng(36.102376,-114.213867),
new GLatLng(36.315125,-114.082031),
new GLatLng(37.892196,-113.994141)
];
var polygon = new GPolygon(points,'#FF0000',0.1,0.4,'#FF0000',0.4);
map.addOverlay(polygon);

Initial URL
http://code.google.com/

Initial Description

                                

Initial Title
Polygon GMaps Javascript V2

Initial Tags

                                

Initial Language
JavaScript