cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
bic_services
Level: Power Up

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
Community Support Team
Community Support Team

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
Eelman
Level 10

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

Community Support Team
Community Support Team

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
New Ranks and Rank Icons in April

'New Ranks and Rank Icons in April

Read the announcement for more information!

Better Together’ Contest Finalists Announced!

'Better Together’ Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

thirdimage

Community Summit North America

Innovate, Collaborate, Grow - The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Top Kudoed Authors
Users online (4,433)