Android Question Google Maps - Markers

tomoshea

Member
Licensed User
Longtime User
Hi,
I am using Intent to link to Google Maps and I pass the lat,lng and marker label to google maps - this works fine. I now want to pass multiple markers with labels to the google map. Is this possible? If so how do I do it?

B4X:
            Dim Intent1 As Intent
            Dim label_name As String = "Marker label name"
            Dim URI As String = "geo:" & lat & "," & lng & "?q=" & lat & "," & lng & "(" & label_name & ")"
            Intent1.Initialize(Intent1.ACTION_VIEW,URI)
            Intent1.SetComponent("com.google.android.apps.maps")
            StartActivity(Intent1)

Thank You,
Regards,
Tom
 

tomoshea

Member
Licensed User
Longtime User
Hi Manfred,
Thank you for your quick reply.
I want to use the full functionality of google maps including Directions - there is only one main marker which the user can be directed to - the other are generated from a csv file and should appear on the same map.
I have done a demo version using Google maps directly in the app but the client would like it to link to Google Maps with all the markers shown if possible.
Kind Regards,
Tom
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…