1 parent 2943bca commit 7cbe31eCopy full SHA for 7cbe31e
1 file changed
bike.html
@@ -137,7 +137,9 @@
137
})
138
// show the scale bar on the lower left corner
139
L.control.scale({imperial: true, metric: true}).addTo(map);
140
- L.control.locate({drawMarker: false, drawCircle: false}).addTo(map);
+
141
+ // Add location marker/circle to the map
142
+ L.control.locate({drawMarker: true, drawCircle: true}).addTo(map);
143
144
// This is taken from Cyclosm.org
145
// Very detailed comments and easily readable code that I would not have been
0 commit comments