changed icons for locations and layers
@ -34,7 +34,7 @@ OSRM.Control.Locations = L.Control.extend({
|
|||||||
L.DomEvent.disableClickPropagation(container);
|
L.DomEvent.disableClickPropagation(container);
|
||||||
|
|
||||||
// create buttons
|
// 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);
|
this._createButton('gui-locations-route', container, OSRM.GUI.zoomOnRoute, map, false);
|
||||||
|
|
||||||
return container;
|
return container;
|
||||||
|
Before Width: | Height: | Size: 871 B After Width: | Height: | Size: 534 B |
Before Width: | Height: | Size: 701 B After Width: | Height: | Size: 690 B |
Before Width: | Height: | Size: 709 B After Width: | Height: | Size: 737 B |
Before Width: | Height: | Size: 682 B After Width: | Height: | Size: 713 B |
BIN
WebContent/images/locations_route_inactive.png
Normal file
After Width: | Height: | Size: 738 B |
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 684 B |
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 824 B |
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 817 B |
BIN
WebContent/images/locations_user_inactive.png
Normal file
After Width: | Height: | Size: 981 B |