diff options
author | Willi <willi@jups42.de> | 2012-12-02 23:33:47 +0100 |
---|---|---|
committer | Willi <willi@jups42.de> | 2012-12-02 23:33:47 +0100 |
commit | 19eaafbb9ff1996266ab617125bb02f47bd2c20e (patch) | |
tree | 601dcb8056446b74058ac54901e63a4f67392f11 /resources/map.js | |
parent | e6553439a6857080c375c59ae8275112680b8efc (diff) | |
download | health-map-19eaafbb9ff1996266ab617125bb02f47bd2c20e.tar health-map-19eaafbb9ff1996266ab617125bb02f47bd2c20e.tar.gz |
added locate me from @domoritz
Diffstat (limited to 'resources/map.js')
-rw-r--r-- | resources/map.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/resources/map.js b/resources/map.js index 482a5f7..44fe54c 100644 --- a/resources/map.js +++ b/resources/map.js @@ -28,6 +28,8 @@ $(document).ready(function() { layers: [self.tileLayer], }); GlobalMap = map; + + L.control.locate().addTo(map); function addHospitalLayer(){ var filteredLayers = _.map(self.hospitalAttributes, function (attr) { |