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
Super User

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
secondImage

New Return to Workplace

Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.

August 2020 CYST Challenge

Check out the winners of the recent 'Can You Solve These?' community challenge!

Experience what’s next for Power Apps

Join us for an in-depth look at the new Power Apps features and capabilities at the free Microsoft Business Applications Launch Event.

Check this Out

Helpful information

Featuring samples like Return to the Workplace and Emergency Response Applications

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Users online (4,841)