remove loading message when zoomed out
This commit is contained in:
@ -35,6 +35,8 @@ window.setupStyles = function() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
window.setupMap = function() {
|
window.setupMap = function() {
|
||||||
|
$('#map').text('');
|
||||||
|
|
||||||
var osmOpt = {attribution: 'Map data © OpenStreetMap contributors', maxZoom: 18};
|
var osmOpt = {attribution: 'Map data © OpenStreetMap contributors', maxZoom: 18};
|
||||||
var osm = new L.TileLayer('http://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', osmOpt);
|
var osm = new L.TileLayer('http://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', osmOpt);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user