tags:

views:

16

answers:

1

Hi, I have a application where I want to show different locations (one at the time, picked by user input) by launching Google Maps with their specific geo-coords.

I'm currently using this: (with real lat. and long. values of course)

Intent intent = new Intent(Intent.ACTION_VIEW, Uri.parse("geo:<lat>,<long>?z=17"));
startActivity(intent);

It's quite exactly what I want, except that it doesn't show any indicator or marker for the specified point. It only centers at it's location.

Is there some way to get the marker or something else included without using a MapView?

A: 

I have only used Overlays with the MapView for drawing markers on top of a map. If your view is showing your map, it might be possible to simply draw your marker at the centre of the screen, in the same way as you would draw any image on a View. However, the marker wouldn't be linked to the actual map coordinates but if its just a static view, then this might do.

John J Smith