Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

CMMapLauncher is a mini-library for iOS that makes it quick and easy to show directions in various mapping applications.

License

NotificationsYou must be signed in to change notification settings

citymapper/CMMapLauncher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CMMapLauncher is a mini-library for iOS that makes it quick and easy to show directions in various mapping applications. To use it, just addCMMapLauncher.h andCMMapLauncher.m to your project.

To check whether one of the supported mapping apps is present on the user's device:

BOOL installed = [CMMapLauncher isMapAppInstalled:CMMapAppCitymapper];

Then, to launch into directions in that app:

CLLocationCoordinate2D bigBen = CLLocationCoordinate2DMake(51.500755, -0.124626);[CMMapLauncher launchMapApp:CMMapAppCitymapper            forDirectionsTo:[CMMapPoint mapPointWithName:@"Big Ben"                                              coordinate:bigBen]];

CMMapLauncher currently knows how to show directions in the following mapping apps:

  • Apple Maps —CMMapAppAppleMaps
  • Citymapper —CMMapAppCitymapper
  • Google Maps —CMMapAppGoogleMaps
  • Navigon —CMMapAppNavigon
  • The Transit App —CMMapAppTheTransitApp
  • Waze —CMMapAppWaze
  • Yandex Navigator —CMMapAppYandex

If you know of other direction-providing apps that expose a URL scheme for launching from other apps, this project wants to incorporate them! Pull requests and issues providing URL schemes are encouraged.

CMMapLauncher was originally created byCitymapper, but is released under the MIT License for the benefit of the iOS developer community.

About

CMMapLauncher is a mini-library for iOS that makes it quick and easy to show directions in various mapping applications.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors3

  •  
  •  
  •  

[8]ページ先頭

©2009-2025 Movatter.jp