fix grey maps
parent
2a9b611f20
commit
546cfa7996
|
|
@ -176,12 +176,14 @@ TODO:
|
|||
</div>
|
||||
</div>
|
||||
`;
|
||||
setTimeout(function() {
|
||||
let map = L.map(`tile-map-${mapNumber}`);
|
||||
L.tileLayer(PREVIEWTILELAYER, {
|
||||
maxZoom: 18
|
||||
}).addTo(map);
|
||||
let marker = new L.marker(latlon).addTo(map);
|
||||
map.fitBounds(latlon.toBounds(2000/*meters*/), {animation: false});
|
||||
}, 100);
|
||||
}
|
||||
resolve();
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in New Issue