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

Create mobile app with Map where people add themselves as markers

Hello Everyone,

 

I'm trying to create an app where people can pin themselves down on a map by entering the postcode and everyone can see that pin on the area? Is there any recommendation to do this? database, coding, etc? 

 

Is this possible?

 

Many thanks!

 

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Support
Community Support

Re: Create mobile app with Map where people add themselves as markers

Hi @spacemaker34 ,

 

Please try to use BingMaps.GetLocationByAddress action to get the location based on postal code. And use BingMap Rest API to show the static map with the pushpins.

 

Here is an example,

1. Create an SP list named 'postcode' to store post code

2. Add a Text box and a Button, set button OnSelect property: 

 

Patch(postcode,Defaults(postcode),{Title:TextInput1.Text});
Clear(colLocation);
ForAll(postcode,Collect(colLocation,BingMaps.GetLocationByAddress({postalCode:Title}).point.coordinates))

 

3. Add an Image control, set Image property:

 

"https://dev.virtualearth.net/REST/v1/Imagery/Map/Road/?"& Concat(colLocation,"pp="&latitude&","& longitude&";1&")& "dcl=1&key=<YourBingMapAPIKey>"

 

Demo:

GIF_52.gif

Sik

 

View solution in original post

2 REPLIES 2
Highlighted
Community Support
Community Support

Re: Create mobile app with Map where people add themselves as markers

Hi @spacemaker34 ,

 

Please try to use BingMaps.GetLocationByAddress action to get the location based on postal code. And use BingMap Rest API to show the static map with the pushpins.

 

Here is an example,

1. Create an SP list named 'postcode' to store post code

2. Add a Text box and a Button, set button OnSelect property: 

 

Patch(postcode,Defaults(postcode),{Title:TextInput1.Text});
Clear(colLocation);
ForAll(postcode,Collect(colLocation,BingMaps.GetLocationByAddress({postalCode:Title}).point.coordinates))

 

3. Add an Image control, set Image property:

 

"https://dev.virtualearth.net/REST/v1/Imagery/Map/Road/?"& Concat(colLocation,"pp="&latitude&","& longitude&";1&")& "dcl=1&key=<YourBingMapAPIKey>"

 

Demo:

GIF_52.gif

Sik

 

View solution in original post

Highlighted
New Member

Re: Create mobile app with Map where people add themselves as markers

Hi @v-siky-msft ...Thank you very much!! You are a mastermind!! 

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,893)