remove loading message when zoomed out

This commit is contained in:
Stefan Breunig
2013-02-01 15:36:26 +01:00
parent 5f71e4569c
commit 8e08fba4d9

View File

@ -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);