fix comment

This commit is contained in:
Robin 2016-07-14 19:46:27 +02:00
parent e890513733
commit 71d1a3ab5f

View File

@ -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 &copy; <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,