I need help with code to add Multiple Map Pins onto a Google Map.
OnSelect will launch the Google Map outside of the PowerApps.
I am currently using the following code to launch Google Maps with the address of the selected item(Account) in BrowseGallery1 with the DataSource of AcctMain:
Now I need to launch Google Maps with the addresses of all items(Accounts) in BrowseGallery1 with the DataSource of AcctMain.
Any help would be greatly appreciated. Thanks, Marc...
Solved! Go to Solution.
You might need to write some scripts for the Google Map to display multiple Markers.
Based on what I know, there is no proper way to manage it within PowerApps.
In addition, to have Google Map showing within image control, follow the guide below:
For Multiple markers, check:
Thanks for the insight - will continue to research. My intent is to Launch Google Maps outside of PowerApps and hopefully pass the addresses into the https script. I will let you know if I come up with something.
@luuminhvuong93 I am not having any luck with this. I am trying to display all the markers via a list box.
"https://maps.googleapis.com/maps/api/staticmap?" & "&size=600x600&" & "formatpng&markers=color:red%7C" & Concat( Filter( Inventory, Address = ListBox1_1.Selected.Result ), Location.Latitude & "," & Location.Longitude, "%7C" ) & "&key=" & txtGoogleMapsKey
Whit this code all I get is the one marker at my current location.
Any idea what is going on?