Title: Route Length Result Variable
Last modified: November 17, 2020

---

# Route Length Result Variable

 *  Resolved [developeryes2020](https://wordpress.org/support/users/developeryes2020/)
 * (@developeryes2020)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/route-length-result-variable/)
 * 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
 * Roberto

Viewing 1 replies (of 1 total)

 *  Plugin Author [iGuk](https://wordpress.org/support/users/iguk/)
 * (@iguk)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/route-length-result-variable/#post-13673486)
 * 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: [https://www.codepile.net/pile/ywLL1bwo](https://www.codepile.net/pile/ywLL1bwo)

Viewing 1 replies (of 1 total)

The topic ‘Route Length Result Variable’ is closed to new replies.

 * ![](https://ps.w.org/car-route-planner/assets/icon.svg?rev=1865816)
 * [Car Route Planner Plugin](https://wordpress.org/plugins/car-route-planner/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/car-route-planner/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/car-route-planner/)
 * [Active Topics](https://wordpress.org/support/plugin/car-route-planner/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/car-route-planner/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/car-route-planner/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [iGuk](https://wordpress.org/support/users/iguk/)
 * Last activity: [5 years, 6 months ago](https://wordpress.org/support/topic/route-length-result-variable/#post-13673486)
 * Status: resolved