-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bike,4x4 routing is now hidden. added ctrl+z for undo. changed default enable behaviour of drawings. added last position to local storage. added todos.
- Loading branch information
Showing
9 changed files
with
48 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
module IsraelHiking.Services.Routers { | ||
export class FourByFourRouter extends BaseRouter { | ||
protected getProfile(): string { | ||
return "trekking"; | ||
return "moped"; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
module IsraelHiking.Services.Routers { | ||
export class HikeRouter extends BaseRouter { | ||
protected getProfile(): string { | ||
return "trekking"; | ||
return "shortest"; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,10 @@ | ||
<div class="leaflet-bar"> | ||
<a class="cursor-pointer" ng-click="toggleDrawing($event)" ng-class="{'leaflet-active' : isDrawingEnabled()}" title="Toggle drawing mode"><i class="fa fa-pencil fa-lg"></i></a> | ||
<a class="cursor-pointer" ng-show="showRouting()" ng-click="setRouting('none', $event)" ng-class="{'leaflet-active' : getRoutingType() == 'none'}" title="No routing"><i class="fa fa-level-up fa-lg"></i></a> | ||
<a class="cursor-pointer" ng-show="showRouting()" ng-click="setRouting('hike', $event)" ng-class="{'leaflet-active' : getRoutingType() == 'hike'}" title="Hike routing"><img src="content/images/hike.svg" /></a> | ||
<a class="cursor-pointer" ng-show="showRouting()" ng-click="setRouting('bike', $event)" ng-class="{'leaflet-active' : getRoutingType() == 'bike'}" title="Bike routing"><img src="content/images/bike.svg" /></a> | ||
<a class="cursor-pointer" ng-show="showRouting()" ng-click="setRouting('fourByFour', $event)" ng-class="{'leaflet-active' : getRoutingType() == 'fourByFour'}" title="4x4 routing"><img src="content/images/four-by-four.svg" /></a> | ||
<a class="cursor-pointer" ng-show="showRouting()" ng-click="toggleRouting('hike', $event)" ng-class="{'leaflet-active' : getRoutingType() == 'hike'}" title="Hike routing"><i class="fa fa-level-up fa-lg"></i></a> | ||
<!-- | ||
<a class="cursor-pointer" ng-show="showRouting()" ng-click="toggleRouting('hike', $event)" ng-class="{'leaflet-active' : getRoutingType() == 'hike'}" title="Hike routing"><img src="content/images/hike.svg" /></a> | ||
<a class="cursor-pointer" ng-show="showRouting()" ng-click="toggleRouting('bike', $event)" ng-class="{'leaflet-active' : getRoutingType() == 'bike'}" title="Bike routing"><img src="content/images/bike.svg" /></a> | ||
<a class="cursor-pointer" ng-show="showRouting()" ng-click="toggleRouting('fourByFour', $event)" ng-class="{'leaflet-active' : getRoutingType() == 'fourByFour'}" title="4x4 routing"><img src="content/images/four-by-four.svg" /></a> | ||
--> | ||
<a class="cursor-pointer" ng-click="undo($event)" ng-class="{'leaflet-disabled' : isUndoDisbaled()}" title="Undo"><i class="fa fa-undo fa-lg"></i></a> | ||
</div> |