I have setup my app to launch Google maps to a set location using the code below, but the map displays zoomed full and you cant see any roads you have to zoom out manually to see anything. How can I set the zoom level with the code below I’ve tried setZoom(16); but this has no effect.
if (mapnav == 10) {
String uri = "geo: 53.777969,-1.571474";
setZoom(16);
Intent i = new Intent(Intent.ACTION_VIEW, Uri.parse(uri));
startActivity(i);}
Also can I launch into Directions instead of the map
You can specify a zoom level in your URI with for example
"geo: 53.777969,-1.571474?z=23"For the google navigation part you can use
"google.navigation:q="+locationwherelocationare the coordinates. The intentIntent.ACTION_VIEW.Resources :
On the same topic :