Disable markersLayer in maps_controller.js by default to improve performance

This commit is contained in:
Eugene Burmakin 2024-04-21 17:15:52 +02:00
parent 54ba5566f1
commit bdfa75cf70

View file

@ -29,7 +29,7 @@ export default class extends Controller {
var layerControl = L.control.layers(this.baseMaps(), controlsLayer).addTo(map);
this.addTileLayer(map);
markersLayer.addTo(map);
// markersLayer.addTo(map);
polylineLayer.addTo(map);
this.addLastMarker(map, markers);
}