diff options
author | Christopher Baines <cbaines8@gmail.com> | 2013-02-07 13:53:57 +0000 |
---|---|---|
committer | Christopher Baines <cbaines8@gmail.com> | 2013-02-07 13:53:57 +0000 |
commit | 48bb641f4c2dd7af6c6b5e06daf26ccf055ab621 (patch) | |
tree | 4ce96650236742ef37c6b18c8f99725ff0fcde3a /resources | |
parent | 9073049284c1aa64fa74e41face555b3a8ae1d78 (diff) | |
download | health-map-48bb641f4c2dd7af6c6b5e06daf26ccf055ab621.tar health-map-48bb641f4c2dd7af6c6b5e06daf26ccf055ab621.tar.gz |
Add the leaflet hash plugin
Diffstat (limited to 'resources')
m--------- | resources/leaflet-hash | 0 | ||||
-rw-r--r-- | resources/map.js | 2 |
2 files changed, 2 insertions, 0 deletions
diff --git a/resources/leaflet-hash b/resources/leaflet-hash new file mode 160000 +Subproject 07f9178d8fd84b3fb030f34f361f63e5a19dbcd 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 |