From 48bb641f4c2dd7af6c6b5e06daf26ccf055ab621 Mon Sep 17 00:00:00 2001 From: Christopher Baines Date: Thu, 7 Feb 2013 13:53:57 +0000 Subject: Add the leaflet hash plugin --- resources/map.js | 2 ++ 1 file changed, 2 insertions(+) (limited to 'resources/map.js') diff --git a/resources/map.js b/resources/map.js index 42eea93..7ec9cf5 100644 --- a/resources/map.js +++ b/resources/map.js @@ -132,6 +132,8 @@ function initMap(self) { layers: [self.tileLayer], }).setView([12.4822, -11.9463], 11); + var hash = new L.Hash(map); + self.amenitiesShown = ["hospital"]; self.amenities = {}; self.amenityLayers = {}; // contains the layers for each amenity type -- cgit v1.2.3