mapsIntent

fun GeoPoint.mapsIntent(showMarker: Boolean = true, markerTitle: String? = null): Intent

Creates an Intent for launching Google Maps app showing the GeoPoint specified.

Author

Arnau Mora

Since

20210830

Return

An Intent ready to be started that shows Google Maps with the configuration set.

Parameters

showMarker

If Google Maps should be showing a marker in the location.

markerTitle

The title of the shown marker.