KB Article 15960
2018/12/17

Close
X
Contact Tech Support

 Email Tech Support
 (250) 655-1766
 [7:30 - 5:00 PST]
Your Meeting ID will be Provided by a Rep.
Tech Support
Tech Support Home
Software Updates
Knowledge Base Search
Recent KB Articles
Product FAQs
Code Samples
Documentation
Tech Blog
System Requirements
Installation Instructions
Support Testimonials
Contact us to...
Create a Ticket
Request a Free Demo
Suggest a New Feature
Submit Feedback
Upload a Large File
Other Services
Software Training
Professional Services

How can I get the geographic location of the user currently running my WebSmart program.

Product: WebSmart ILE Type: How to

Most of the newer browsers support the HTML Geolocation API.  Check it out here:
https://www.w3schools.com/html/html5_geolocation.asp

Something you want to consider though, is whether the location you are interested in is the actual physical location or, if it's a traveling saleswoman for example,  the territory they are assigned to.  The two may not always match up.  In the second case you might want keep track of that information in a user table and/or set a cookie.

 

Search:  API lat long

 

Rate This Article

Did this example help you to achieve your goal?
 Yes  No  Don't Know

Enter additional comments below.   If you want to hear back from us, include your contact information.

Email Address:
Comments:
Please enable JavaScript in order to rate this page.