Is it possible for Google Maps on Android to display the given coordinate in the Maps application, but also has a marker (or contact) in place?
I read the documentation at https://developer.android.com/guide/appendix/g-app-intents.html , but that allows me to set the zoom level.
I am now using the following code to show the location in Google Maps on Android:
Double lat = 53.3; Double lng = 13.4; final String uriString = "geo:" + lat + ',' + lng + "?z=15"; Intent showOnMapIntent = new Intent(Intent.ACTION_VIEW, Uri.parse(uriString)); startActivity(showOnMapIntent);
Is it possible to have a marker or do I need to use MapActivity? Where can I find complete documentation on the url parameters that the Maps application understands?
Can I use a different URL prefix? For example, https://maps.google.de/maps ? "? Maps have an intent filter that matches this scheme / host / pathPrefix. Where can I find documentation on what parameters Google Maps for Android really supports this URL?
source share