Intraweb and GPS

<< Click to Display Table of Contents >>

Navigation:  Forum >

Intraweb and GPS

Forum link

 


 

03-03-2023, 08:35 AM:

 

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:

 

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

 


 

03-22-2023, 06:11 AM:

 

(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'

 


 

03-22-2023, 08:17 PM:

 

What's exactly your version of IW?

 

In any case, just replace it with:

 

WebApplication.CallbackResponse.AddJavaScriptToExecuteAsCDATA('SendGeolocation();');

 

it will do exactly the same.