This repository has been archived by the owner on Aug 31, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #199 from umts/no-default-directions
Stop Getting Directions to Stops by Default
- Loading branch information
Showing
3 changed files
with
89 additions
and
27 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,17 @@ | ||
<ion-view view-title="Map"> | ||
<ion-content> | ||
<div id="stop-map"></div> | ||
<div ng-if="noLocation"> | ||
<ion-item class="item item-assertive" style="text-align:center"> | ||
Unable to retrieve current location. | ||
</ion-item> | ||
</div> | ||
<!--Use angular to dynamically style the map div--> | ||
<div ng-attr-id="{{ displayDirections ? 'stop-map' : 'map' }}"></div> | ||
<div id="directions"></div> | ||
</ion-content> | ||
<ion-footer-bar class="bar-positive"> | ||
<button class="button icon-center ion-ios-location title" ng-click="calculateDirections()"> | ||
Get Directions to {{stop.Name}} | ||
</button> | ||
</ion-footer-bar> | ||
</ion-view> |