Pass latitude/longitude to Google Maps activity and show more than one location in Android and Java

Is it possible to launch google maps activity and pass several latitude/longitude variables so several locations are mapped inside the map? I am able to show one location with this code, but how do I add more parameters?

String uri = String.format(Locale.ENGLISH, "geo:%f,%f", f11, f22); Intent intent = new Intent(Intent.ACTION_VIEW, Uri.parse(uri)); startActivity(intent);

But is it possible to show more locations at once? Should I use mapview and how? Thanks.

Category:java Views:38 Time:2018-08-04

Related post

Copyright (C) dskims.com, All Rights Reserved.

processed in 0.233 (s). 11 q(s)