gelocation
Add geolocation capabilities to VisualNEO Web
Sample apps:
https://visualneo.com/tutorials/geolocation
https://visualneo.com/tutorials/geolocation2
neoGetPosition
Purpose: |
Gets the user device latitude and longitude |
Category: |
geolocation |
Syntax: |
neoGetPosition latitude longitude
latitude Var to store latitude longitude Var to store longitude |
neoGetPositionEx
Purpose: |
Gets the user device latitude and longitude with extended options |
Category: |
geolocation |
Syntax: |
neoGetPositionEx latitude longitude accuracy enableHighAccuracy errormessage
latitude Var to store latitude longitude Var to store longitude accuracy Var to store accuracy (in mts) enableHighAccuracy Enable high accuracy? (more energy and time needed) errormessage Variable to store error message (if any) |
neoWatchPosition
Purpose: |
Gets the user device latitude and longitude continuously whenever a position change is detected |
Category: |
geolocation |
Syntax: |
neoWatchPosition latitude longitude accuracy enableHighAccuracy errormessage
latitude Var to store latitude longitude Var to store longitude accuracy Var to store accuracy (in mts) enableHighAccuracy Enable high accuracy? (more energy and time needed) errormessage Variable to store error message (if any) |
neoStopWatchPosition
Purpose: |
Stop watching for position changes |
Category: |
geolocation |
Syntax: |
neoStopWatchPosition |