/ Published in: JavaScript
![](/img/icon_sav.png?v3)
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
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);
Comments
![RSS Feed for Comments RSS Icon](/images/rss.png?v3)