From 1e3a7c1bfedd64e4f47b6b2c4d4a2faed3277942 Mon Sep 17 00:00:00 2001 From: Christopher Baines Date: Tue, 31 Mar 2015 22:34:23 +0100 Subject: Add var to map in the example This trips up Internet Explorer... --- examples/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/index.html b/examples/index.html index 9dcc2cf..6844590 100644 --- a/examples/index.html +++ b/examples/index.html @@ -43,7 +43,7 @@ attribution: "Map data © OpenStreetMap contributors" }); - map = new L.Map('map', { + var map = new L.Map('map', { layers: [osm], center: new L.LatLng(49.41873, 8.67689), zoom: 19 -- cgit v1.2.3