Skip to main content
Solved

Show User Location on MAP


Harm Horstman
Superhero
Forum|alt.badge.img+21

We are trying to create a screen where the user can get their current location and want to show this directly for verification using the maps component.

From here we want to start location-related tasks, such as field inspections, observations, etc.

For the test, this view is used 

SELECT tsf_user = dbo.tsf_user()
     , device_gps_location = NULL
     , maps_coords = '{"CoordSets": [[{"Lon":"4.7635140", "Lat":"52.4253230"}]]}'
     , map_marker = 'BLUE'


It looks like below:
 

 

A marker on the map should move to current location after leaving the GPS Location field.

I know how to control the maps component, but I can't get it to work.

If possible the current location of the user is shown immediately when the screen is opened and the users allows the application to use the location.

 

Any ideas?

Best answer by Mark Jongeling

Hey Harm,

We would love to help out. Can you share the configuration of the Maps similar to this screenshot?:

Maps configuration


Edit: couple of Docs links that may help out:

View original
Did this topic help you find an answer to your question?
This topic has been closed for comments

3 replies

Mark Jongeling
Administrator
Forum|alt.badge.img+23
  • Administrator
  • 3927 replies
  • Answer
  • March 25, 2024

Hey Harm,

We would love to help out. Can you share the configuration of the Maps similar to this screenshot?:

Maps configuration


Edit: couple of Docs links that may help out:


Jeroen van den Belt
Administrator
Forum|alt.badge.img+9

Hi @Harm Horstman,

Can you please respond to Mark his question? Thanks in advance!


Harm Horstman
Superhero
Forum|alt.badge.img+21
  • Author
  • Superhero
  • 486 replies
  • April 17, 2024

Jeroen,

We have found a solution based on a task with location control that stores the coordinates in a user record. The same task starts a process flow that opens a view with a map component.

 


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings