Support » Plugin: Car Route Planner Plugin » Route Length Result Variable

  • Resolved developeryes2020


    Hi everybody,

    there is a php variable that stores the route length result variable to pass it to a custom fields?

    I tried to search for it into the plugin code but I can’t find it.

    Thanks everybody for any help


Viewing 1 replies (of 1 total)
  • Plugin Author iGuk


    Hello, Roberto!
    The route length is not available on php side (on backend, your server), since all calculations are performed inside iframe in async mode. But route length can be accessed via javascript on browser level (in browser of client).
    You can write your own javascript function, which will be called after route is calculated. Here is the code example:

Viewing 1 replies (of 1 total)
  • The topic ‘Route Length Result Variable’ is closed to new replies.