From dc6961667c23a07c9c9f53ad88a7524156280c26 Mon Sep 17 00:00:00 2001 From: qnstie Date: Wed, 17 Jul 2013 13:31:46 +0200 Subject: [PATCH] Changed link from polyline to geodesicPolyline --- code/map_data.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/map_data.js b/code/map_data.js index 89696b27..f3c784c9 100644 --- a/code/map_data.js +++ b/code/map_data.js @@ -754,7 +754,7 @@ window.renderLink = function(ent) { [edge.originPortalLocation.latE6/1E6, edge.originPortalLocation.lngE6/1E6], [edge.destinationPortalLocation.latE6/1E6, edge.destinationPortalLocation.lngE6/1E6] ]; - var poly = L.polyline(latlngs, { + var poly = L.geodesicPolyline(latlngs, { color: COLORS[team], opacity: 1, weight:2,