Is it possible to open Google Maps with the intention of having multiple contacts

Without using the Google Maps API (only with the launch of the map application with the intention), is it possible to contain several coordinates, and for this there are several contacts on the map that opens? This does not mean creating a gap between two points.

How do I do this for one conclusion:

String uri = "geo:0,0?q="+ Lat + "," + Longitude + " (" + name+ ")"; startActivity(new Intent(android.content.Intent.ACTION_VIEW, Uri.parse(uri))); 
+6
source share
1 answer

I believe this is not possible. There seems to be no way to pass multiple points through a Geo URI string, and therefore this should be done using the Google Maps API. I would like it to be possible, it would greatly facilitate the implementation of many simple map tasks, but alas.

Link to specification of intent (which does not include any way to transfer multiple locations) http://developer.android.com/guide/appendix/g-app-intents.html

+2
source

Source: https://habr.com/ru/post/908735/


All Articles