You are mixing several tasks into one question. Split them and it will
be much easier:
1. Geocoding (convert street address into lat,long pair) is the first
task. But all items in your "set of addresses" should be converted
into x,y pairs.
2. Each such pair (lat/long) should be used in the Overlay to show
some marker. Which exactly marker is up to you, and there are plenty
of examples in the internet about Overlays.
3. When you have one x,y you can use it as map center to start
MapActivity.   When you have multiple locations - you can use the
first x,y or the average. You can also change map scale to make all
markers visible.


On Apr 1, 1:09 am, S <[email protected]> wrote:
> Hi,
>
> I want to launch the native google map app from my application and
> pass some set of addresses so that google maps can show all the
> addresses as markers.
>
> All the examples that I have seen are where we can pass single address
> (be a lat/long or the address) but there is no mention of the case
> where we need multiple addresses to be displayed.
>
> For single address these are the format I see on internet:
>
> String geoUriString =
> getResources().getString(R.string.map_location);
> Uri geoUri = Uri.parse(geoUriString);
> Intent mapCall = new Intent(Intent.ACTION_VIEW, geoUri);
> startActivity(mapCall);
>
> Map Location can be: 1.<STRING name="map_location">"geo:0,0?q=123 +
> abc street + def city+TX+ 75038 <STRING>
>
> Any help here will be appreciated.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to