Android Question How to use Intent to show multiple locations on same Google Map

toby

Well-Known Member
Licensed User
Longtime User
I know how to show one single location on Google map with the following code

B4X:
 dim Url as string="https://maps.google.com/maps?q=Empire State Building, New York, NY"
 Dim intent1 As Intent
 If Url.StartsWith("https://maps.google.com/map") Then
     intent1.Initialize(intent1.ACTION_VIEW, Url)
     StartActivity(intent1)
 End If

How do I change the above code so that the following 3 locations will be shown on the same map? The map center will be the first location. Note: these locations are not related.
1. Empire State Building, New York, NY
2. Pennsylvania Station, New York, NY
3. Manhattan Ferry, New York, NY


TIA
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…