Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Centralize API Key Manager and Implement Route Line Drawing (#144)
* Centralizes API Key Management Fixes #136 * Add route line drawing capability Also some minor API cleanup * Update cocoapods, add minor button for viewing routing list * Delete provisioning profile and let CircleCI manage * Fixes from CR
- Loading branch information
Showing
15 changed files
with
313 additions
and
21 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
// | ||
// RouteDisplayViewController.swift | ||
// ios-sdk | ||
// | ||
// Created by Matt Smollinger on 1/15/17. | ||
// Copyright © 2017 Mapzen. All rights reserved. | ||
// | ||
|
||
import UIKit | ||
import OnTheRoad | ||
|
||
class RouteDisplayViewController: MapViewController { | ||
|
||
var routingResult: OTRRoutingResult? | ||
|
||
override func viewDidLoad() { | ||
super.viewDidLoad() | ||
let _ = try? loadScene("scene.yaml") | ||
} | ||
|
||
func show(route : OTRRoutingResult){ | ||
routingResult = route | ||
let _ = try? display(route) | ||
} | ||
} |
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
Binary file not shown.
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
Oops, something went wrong.