New WebLocation class!

Does anyone have an example of how to use it?
There is no reference in the documentation and the XOJO examples.

Seems quite simple. Drag a Device Location controller onto your web page, implement the LocationChanged Event and in the Page.Shown Event Handler call the request method.

This doesn’t seem to return a value for a desktop browser, but worked well on my Android phone - perhaps I need a GPS unit on my pc :slight_smile:

Docs can be found at

Wow !!!

Thanks Wayne.
Precisely, I required it for Android smartphones.

Forum for Xojo Programming Language and IDE. Copyright © 2021 Xojo, Inc.