Android - How to launch Google map intent in android app with certain location, zoom level and marker
Posted
by
umirza47
on Stack Overflow
See other posts from Stack Overflow
or by umirza47
Published on 2012-10-24T16:19:58Z
Indexed on
2012/10/24
17:00 UTC
Read the original article
Hit count: 218
Map Intent not working with specific zoom level as well as custom marker
float lat = 40.714728f;
float lng = -73.998672f;
String maplLabel = "ABC Label";
final Intent intent = new Intent(android.content.Intent.ACTION_VIEW,
Uri.parse("geo:0,0?q="+lat+","+lng+"&z=16 (" + maplLabel + ")"));
startActivity(intent);
Anybody know what is wrong? or how to do so? I want to show map of certain (lat,lng) with a custom label-marker at a specific zoom level.
© Stack Overflow or respective owner