• Resolved gmcoffi

    (@gmcoffi)


    Hello,

    Is there a way to display a driving direction based on 2 points?
    For instance, user will input addresses in 2 fields “A” and “B” and get the directions from A to B including the distance and time it will take.

    Is it possible or does it require custom dev?

    — GM

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author hupe13

    (@hupe13)

    Does this plugin do what you want?

    • This reply was modified 2 years, 1 month ago by hupe13.
    Thread Starter gmcoffi

    (@gmcoffi)

    Wow! That is exactly what I am looking for!
    Can you add it to your wordpress plugin or into a separate wordpress plugin?

    — GM

    • This reply was modified 2 years, 1 month ago by gmcoffi.
    Plugin Author hupe13

    (@hupe13)

    In principle it works in my testing environment, but unfortunately I can not realize this because there are too many terms of use to consider:

    You are using OSRM's demo server. Please note that it is **NOT SUITABLE FOR PRODUCTION USE**.
    Refer to the demo server's usage policy: https://github.com/Project-OSRM/osrm-backend/wiki/Api-usage-policy
    
    To change, set the serviceUrl option.
    
    Please do not report issues with this server to neither Leaflet Routing Machine or OSRM - it's for
    demo only, and will sometimes not be available, or work in unexpected ways.
    
    Please set up your own OSRM server, or use a paid service provider for production.
    Thread Starter gmcoffi

    (@gmcoffi)

    Okay, thank you for the clarification

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Driving Directions’ is closed to new replies.