[Distance Between Coordinates] Mobile version of this component

[Distance Between Coordinates] Mobile version of this component

  
Forge Component
(5)
Published on 2016-04-26 by Bryan SanAndres
5 votes
Published on 2016-04-26 by Bryan SanAndres

Hi there,

How would we be able to use this component in an offline environment?  We are developing a solution that needs to be able to determine the device's proximity to a set location.  Currently the server calls do what is necessary, but offline breaks the mechanism and mobility is key in our development.

Solution

Hi Tjaart,

That component in an extension and thus runs in the server. To run it in your device you have to use javascript.

You can use this code in a javascript node:

https://www.geodatasource.com/developers/javascript

Tell us if you need more details on how to do it.

Cheers,

José

Solution