diff --git a/index.html b/index.html index d16dce8..1ce0b0c 100644 --- a/index.html +++ b/index.html @@ -74,6 +74,7 @@ contents += '
Distributed as-is with no warranty
'; contents += 'Stop your bike in a safe place before using
'; contents += 'Requires internet access to view maps and location
'; + contents += ''; contents += 'Allow smartphone browser to show your location
- iPhone > Settings > Privacy > Location Services (On) > Safari (While Using)
- Android (to come)
Click OK if browser asks permission to show your location
'; contents += '
';
@@ -117,19 +118,19 @@
color: 'blue',
distanceMarkers: { showAll: 11, offset: 1609, bgcolor: 'bg-blue'} // meters per mile; bgcolor defined in style.css
}).addTo(map);
- controlLayers.addOverlay(WeHa11, 'West Hartford 11 mile (blue)');
+ controlLayers.addOverlay(WeHa11, 'West Hartford 11 mile ');
var WeHa25 = new L.GPX("routes/WeHa2015-25.gpx", {
color: 'green',
distanceMarkers: { showAll: 11, offset: 1609, bgcolor: 'bg-green'} // meters per mile; bgcolor defined in style.css
});
- controlLayers.addOverlay(WeHa25, 'West Hartford 25 mile (green)');
+ controlLayers.addOverlay(WeHa25, 'West Hartford 25 mile ');
var WeHa50 = new L.GPX("routes/WeHa2015-50.gpx", {
color: '#ff3399',
distanceMarkers: { showAll: 11, offset: 1609, bgcolor: 'bg-pink'} // meters per mile; bgcolor defined in style.css
});
- controlLayers.addOverlay(WeHa50, 'West Hartford 50 mile (pink)');
+ controlLayers.addOverlay(WeHa50, 'West Hartford 50 mile ');
// Thanks @ilyankou for gatherBounds function; update layer names
function gatherBounds() {
@@ -157,8 +158,11 @@
map.on('layerremove', function() {
gatherBounds();
+
});
+ $('