changed icons for locations and layers

This commit is contained in:
DennisSchiefer
2012-08-27 12:58:41 +01:00
parent c9f229fea8
commit 6dcea6d808
11 changed files with 1 additions and 1 deletions
@@ -34,7 +34,7 @@ OSRM.Control.Locations = L.Control.extend({
L.DomEvent.disableClickPropagation(container);
// create buttons
this._createButton('gui-locations-user', container, OSRM.GUI.zoomOnUser, map, navigator.geolocation );
this._createButton('gui-locations-user', container, OSRM.GUI.zoomOnUser, map, !!navigator.geolocation );
this._createButton('gui-locations-route', container, OSRM.GUI.zoomOnRoute, map, false);
return container;