cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
bic_services
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
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
Eelman Resident Rockstar
Resident Rockstar

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
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
MBAS Gallery 2020

MBAS Gallery 2020

Watch Microsoft Business Applications Summit sessions on-demand.

firstImage

New Ranks and Rank Icons released on April 21!

The time has come: We are finally able to share more details on the brand-new ranks coming to the Power Apps Community!

Power Platform 2020 release wave 1 plan

Power Platform 2020 release wave 1 plan

Features releasing from April 2020 through September 2020

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