Skip to content

Instantly share code, notes, and snippets.

@manucodin
Created October 4, 2022 08:19
Show Gist options
  • Save manucodin/42de3199c22238b0bdebcd276cbbbe26 to your computer and use it in GitHub Desktop.
Save manucodin/42de3199c22238b0bdebcd276cbbbe26 to your computer and use it in GitHub Desktop.
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