fix comment
This commit is contained in:
parent
e890513733
commit
71d1a3ab5f
@ -15,14 +15,14 @@ navigator.geolocation.getCurrentPosition((position) => {
|
||||
makeDummyLayer(InitialPosition);
|
||||
});
|
||||
|
||||
//Layers
|
||||
//Tiles
|
||||
L.tileLayer('http://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', {
|
||||
attribution: 'Map data © <a href="http://openstreetmap.org">OpenStreetMap</a> contributors, <a href="http://creativecommons.org/licenses/by-sa/2.0/">CC-BY-SA</a>, Imagery © <a href="http://mapbox.com">Mapbox</a>',
|
||||
maxZoom: 18
|
||||
}).addTo(Map);
|
||||
|
||||
|
||||
function makeDummyLayer(markerPos) { //
|
||||
function makeDummyLayer(markerPos) {
|
||||
//All layers will have to be initialized like this
|
||||
const dummyLayer = L.markerClusterGroup({
|
||||
spiderfyOnMaxZoom: false,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user