artefacts removed

This commit is contained in:
The Ripper 2020-07-08 10:47:44 +02:00
parent 3f7e0fa66a
commit 2c70b31376

View file

@ -8,7 +8,6 @@ BR.routeLoader = function(map, layersControl, routing, pois) {
_maxTrackPoints: 200, _maxTrackPoints: 200,
_closeCanceled: true, _closeCanceled: true,
_currentGeoJSON: {}, _currentGeoJSON: {},
_counter: 0,
_options: { _options: {
format: undefined, format: undefined,
showTrackLayer: true, showTrackLayer: true,
@ -44,7 +43,6 @@ BR.routeLoader = function(map, layersControl, routing, pois) {
highQuality: true highQuality: true
}); });
return simplifiedLine.coordinates; return simplifiedLine.coordinates;
// return L.GeoJSON.coordsToLatLngs(simplifiedLine.coordinates);
}, },
refreshTestLayer: function() { refreshTestLayer: function() {