1var path = [[-12.040397656836609,-77.03373871559225], [-12.044804866577001,-77.02154422636042]];
2
3polygon = map.drawPolygon({
4 paths: path, // pre-defined polygon shape
5 strokeColor: '#BBD8E9',
6 strokeOpacity: 1,
7 strokeWeight: 3,
8 fillColor: '#BBD8E9',
9 fillOpacity: 0.6
10});
1var path = [[-12.040397656836609,-77.03373871559225], [-12.040248585302038,-77.03993927003302], [-12.050047116528843,-77.02448169303511]];
2
3polygon = map.drawPolygon({
4 paths: path, // pre-defined polygon shape
5 strokeColor: '#BBD8E9',
6 strokeOpacity: 1,
7 strokeWeight: 3,
8 fillColor: '#BBD8E9',
9 fillOpacity: 0.6
10});