This commit is contained in:
Jon Atkins
2013-07-17 17:41:18 +01:00
4 changed files with 134 additions and 3 deletions

View File

@ -513,6 +513,7 @@ try { console.log('Loading included JS now'); } catch(e) {}
@@INCLUDERAW:external/leaflet.js@@
// modified version of https://github.com/shramov/leaflet-plugins. Also
// contains the default Ingress map style.
@@INCLUDERAW:external/L.Geodesic.js@@
@@INCLUDERAW:external/leaflet_google.js@@
@@INCLUDERAW:external/autolink.js@@

View File

@ -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,