Skip to content

@capgo/capacitor-launch-navigator

Open Apple Maps, Google Maps, or other navigation apps with coordinates from your Capacitor app.

@capgo/capacitor-launch-navigator deep links into installed navigation apps with latitude and longitude (no street address strings). Pair with @capgo/capacitor-nativegeocoder when users type addresses. Build your own app picker with getAvailableApps() and cached icons.

PlatformBehavior
iOSMapKit and third party map apps
AndroidIntents to installed navigators
WebOpens a maps URL in the browser
  • navigate - Navigate to a location using latitude and longitude.
  • isAppAvailable - Check if a specific navigation app is available.
  • getAvailableApps - Get list of available navigation apps on the device.
  • getSupportedApps - Get list of supported apps for the current platform.
MethodDescription
navigateNavigate to a location using latitude and longitude.
isAppAvailableCheck if a specific navigation app is available.
getAvailableAppsGet list of available navigation apps on the device.
getSupportedAppsGet list of supported apps for the current platform.
getDefaultAppGet the name of the default app for navigation.
getPluginVersionGet the native Capacitor plugin version.

This reference is synced from src/definitions.ts in capacitor-launch-navigator.

Keep going from @capgo/capacitor-launch-navigator

Section titled “Keep going from @capgo/capacitor-launch-navigator”

If you are using @capgo/capacitor-launch-navigator to plan native media and interface behavior, connect it with Using @capgo/capacitor-launch-navigator for the native capability in Using @capgo/capacitor-launch-navigator, Using @capgo/capacitor-live-activities for the native capability in Using @capgo/capacitor-live-activities, @capgo/capacitor-live-activities for the implementation detail in @capgo/capacitor-live-activities, Using @capgo/capacitor-video-player for the native capability in Using @capgo/capacitor-video-player, and @capgo/capacitor-video-player for the implementation detail in @capgo/capacitor-video-player.