player tracker: multiPolyLine removed in leaflet 0.8-dev - so let's work without it
This commit is contained in:
parent
aaaf2f0b46
commit
a341aeb8f8
@ -399,7 +399,9 @@ window.plugin.playerTracker.drawData = function() {
|
|||||||
dashArray: "5,8"
|
dashArray: "5,8"
|
||||||
};
|
};
|
||||||
|
|
||||||
L.multiPolyline(polyLine, opts).addTo(plugin.playerTracker.drawnTracesEnl);
|
$.each(polyLine,function(ind,poly) {
|
||||||
|
L.polyline(poly, opts).addTo(plugin.playerTracker.drawnTracesEnl);
|
||||||
|
});
|
||||||
});
|
});
|
||||||
$.each(polyLineByAgeRes, function(i, polyLine) {
|
$.each(polyLineByAgeRes, function(i, polyLine) {
|
||||||
if(polyLine.length === 0) return true;
|
if(polyLine.length === 0) return true;
|
||||||
@ -412,7 +414,9 @@ window.plugin.playerTracker.drawData = function() {
|
|||||||
dashArray: "5,8"
|
dashArray: "5,8"
|
||||||
};
|
};
|
||||||
|
|
||||||
L.multiPolyline(polyLine, opts).addTo(plugin.playerTracker.drawnTracesRes);
|
$.each(polyLine, function(ind,poly) {
|
||||||
|
L.polyline(poly, opts).addTo(plugin.playerTracker.drawnTracesRes);
|
||||||
|
});
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user