prettier vector example

This commit is contained in:
Mourner 2011-06-21 18:26:39 +03:00
parent d63d39cabf
commit 5772c995f3

View File

@ -33,9 +33,8 @@
var circleLocation = new L.LatLng(51.508, -0.11),
circleOptions = {
color: 'red',
fillColor: 'blue',
fillOpacity: 0.7,
weight: 20
fillColor: 'yellow',
fillOpacity: 0.7
};
var circle = new L.Circle(circleLocation, 500000, circleOptions);
@ -69,7 +68,7 @@
var polygon = new L.Polygon([polygonPoints, holePoints], {
fillColor: "#333",
weight: 20
color: 'green'
});
map.addLayer(polygon);