Intraweb and GPS - Printable Version +- Atozed Forums (https://www.atozed.com/forums) +-- Forum: Atozed Software Products (https://www.atozed.com/forums/forum-1.html) +--- Forum: IntraWeb (https://www.atozed.com/forums/forum-3.html) +---- Forum: English (https://www.atozed.com/forums/forum-16.html) +----- Forum: IntraWeb General Discussion (https://www.atozed.com/forums/forum-4.html) +----- Thread: Intraweb and GPS (/thread-3056.html) |
Intraweb and GPS - matija - 03-03-2023 Is there any component that detects the current GPS coordinates. Is javascript is it navigation.geolocation.getposition(); But it shows the right locations. RE: Intraweb and GPS - Alexandre Machado - 03-22-2023 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/master/15/Delphi/GPS RE: Intraweb and GPS - matija - 03-22-2023 (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. Error in demo -> Undeclared identifier: 'ExecuteJS' RE: Intraweb and GPS - Alexandre Machado - 03-22-2023 What's exactly your version of IW? In any case, just replace it with: WebApplication.CallbackResponse.AddJavaScriptToExecuteAsCDATA('SendGeolocation();'); it will do exactly the same. |