cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
New Member

Help with plotting multiple locations on a map

can someone help me with plotting multiple locations on a map in my app? Below is the article that I have followed exactly and it does work but for some reason, the addresses will not plot... I do not have lat and long I only have the address. a sample file is attached. I used the below article to complete most tasks thus far:

https://www.sharepointsiren.com/2019/03/plotting-multiple-map-points-in-powerapps/

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Support
Community Support

Re: Help with plotting multiple locations on a map

Hi @bic_services ,

Do you want to get  lat and long from address?

If so , please connect with bing maps connector.

Use this function: GetLocationByAddress.

The syntax of this function is:

BingMaps.GetLocationByAddress({addressLine:..., locality:...,Admin district:....,Postal code:... countryRegion:...})

The result that the function returns include  lat and long.

You could use BingMaps.GetLocationByAddress(....).Latitude and BingMaps.GetLocationByAddress(....).Longitude to represent the location's  lat and long.

And then use this to draw points in maps.

Here's a doc about how to use this function for your reference:

https://docs.microsoft.com/en-us/connectors/bingmaps/#get-location-by-address

 

 

 

Best regards,

Community Support Team _ Phoebe Liu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
Highlighted
Super User II
Super User II

Re: Help with plotting multiple locations on a map

@bic_services without diving too deeply into it I'd say you need lats/longs. That article says this "... we need to create a String object that has all of the long/lat values from our locations that we can pass into our Bing Map. " so it appears Bing needs a string object of lats/longs to work

Highlighted
Community Support
Community Support

Re: Help with plotting multiple locations on a map

Hi @bic_services ,

Do you want to get  lat and long from address?

If so , please connect with bing maps connector.

Use this function: GetLocationByAddress.

The syntax of this function is:

BingMaps.GetLocationByAddress({addressLine:..., locality:...,Admin district:....,Postal code:... countryRegion:...})

The result that the function returns include  lat and long.

You could use BingMaps.GetLocationByAddress(....).Latitude and BingMaps.GetLocationByAddress(....).Longitude to represent the location's  lat and long.

And then use this to draw points in maps.

Here's a doc about how to use this function for your reference:

https://docs.microsoft.com/en-us/connectors/bingmaps/#get-location-by-address

 

 

 

Best regards,

Community Support Team _ Phoebe Liu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Watch Now

Experience what’s next for Power Apps

See the latest Power Apps innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (7,813)