Is there any component that detects the current GPS coordinates.
Is javascript is it navigation.geolocation.getposition();
But it shows the right locations.
(03-22-2023, 05:08 AM)Alexandre Machado Wrote: [ -> ]Here is a new demo that I created to show how to use the GPS from IntraWeb in any browser that supports geolocation API, even desktop ones.
That's a good idea for a new component :-)
https://github.com/Atozed/IntraWeb/tree/...Delphi/GPS
Error in demo -> Undeclared identifier: 'ExecuteJS'
What's exactly your version of IW?
In any case, just replace it with:
WebApplication.CallbackResponse.AddJavaScriptToExecuteAsCDATA('SendGeolocation();');
it will do exactly the same.