From 8e08fba4d96892b46a62df87765f19677fa87eea Mon Sep 17 00:00:00 2001 From: Stefan Breunig Date: Fri, 1 Feb 2013 15:36:26 +0100 Subject: [PATCH] remove loading message when zoomed out --- code/boot.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/code/boot.js b/code/boot.js index d607a02b..290915f0 100644 --- a/code/boot.js +++ b/code/boot.js @@ -35,6 +35,8 @@ window.setupStyles = function() { } window.setupMap = function() { + $('#map').text(''); + var osmOpt = {attribution: 'Map data © OpenStreetMap contributors', maxZoom: 18}; var osm = new L.TileLayer('http://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', osmOpt);