toby Well-Known Member Licensed User Longtime User Aug 27, 2020 #1 I know how to show one single location on Google map with the following code B4X: Copy 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
I know how to show one single location on Google map with the following code B4X: Copy 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
DonManfred Expert Licensed User Longtime User Aug 28, 2020 #2 1. I don´t think this is posssible. You need to consult the Google Maps Documentation. 2. You should implement GoogleMaps in your app; you can show as many locationmarkers as you want. Last edited: Aug 28, 2020 Upvote 0
1. I don´t think this is posssible. You need to consult the Google Maps Documentation. 2. You should implement GoogleMaps in your app; you can show as many locationmarkers as you want.