fill fields in with geodesic polygons, to match the changes made for links

This commit is contained in:
Jon Atkins 2013-07-17 22:20:35 +01:00
parent d2715b8765
commit f232de3617

View File

@ -802,7 +802,7 @@ window.renderField = function(ent) {
L.latLng(reg.vertexC.location.latE6/1E6, reg.vertexC.location.lngE6/1E6) L.latLng(reg.vertexC.location.latE6/1E6, reg.vertexC.location.lngE6/1E6)
]; ];
var poly = L.polygon(latlngs, { var poly = L.geodesicPolygon(latlngs, {
fillColor: COLORS[team], fillColor: COLORS[team],
fillOpacity: 0.25, fillOpacity: 0.25,
stroke: false, stroke: false,