Created
October 4, 2022 08:19
-
-
Save manucodin/42de3199c22238b0bdebcd276cbbbe26 to your computer and use it in GitHub Desktop.
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
func createLookAroundView(scene: MKLookAroundScene) -> MKLookAroundViewController { | |
let lookAroundViewController = MKLookAroundViewController(scene: scene) | |
lookAroundViewController.showsRoadLabels = true //Default value is true | |
lookAroundViewController.isNavigationEnabled = true //Default value is true | |
lookAroundViewController.pointOfInterestFilter = .includingAll //Default value is nil | |
return lookAroundViewController | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment