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

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

@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

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!

News & Announcements

Community Blog

Stay up tp date on the latest blogs and activities in the community News & Announcements.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Community Highlights

Community Highlights

Check out the Power Platform Community Highlights

Top Solution Authors
Top Kudoed Authors
Users online (8,856)