Page 2 of 2

Re: Add geolocation component

PostPosted: 07 Dec 2016 15:38
by Alexander Bulei
Hi Soren,

Main Demo Link

Best Regards.

Re: Add geolocation component

PostPosted: 09 Dec 2016 12:03
by Soren SDF
Thanks Alex.
But what i'm actually after is how (in Delphi code) to retrieve the coordinates of my handheld device. I don't really want to plot them on a map, but rather just save them in my database by pressing a button. Something like:

MyButton.OnClick;
BEGIN
MyTable.FieldByName('Lat').AsFloat:=MyDevice.Position.Latitude;
MyTable.FieldByName('Long').AsFloat:=MyDevice.Position.Longitude;
END;

Kinda like that.
Regards
Sören A

Re: Add geolocation component

PostPosted: 09 Dec 2016 13:27
by assapan
you just have to go to online demo at http://www.cgdevtools.com/demo/JQueryDemoV3_IW14_ISAPI.dll and select gmap3 component

Re: Add geolocation component

PostPosted: 09 Dec 2016 14:30
by Soren SDF
Is there any way to do this without the map component?
I'm really just interested in getting the GPS coordinates for the device.

Sören

Re: Add geolocation component

PostPosted: 09 Dec 2016 15:15
by Alexander Bulei
Hi Soren SDF,
I think, it's possible with simple javascript...
Let me check it..then I will back to you.

Best Regards.

Re: Add geolocation component

PostPosted: 09 Dec 2016 15:21
by Soren SDF
That would be really helpful Alex. Thanx.

Sören

Re: Add geolocation component

PostPosted: 09 Dec 2016 15:22
by Alexander Bulei
Ok Sören,
I will check it asap.

Best Regards.