Hi, in my project i want use “Routing width draggable Marker”. The example form your website works fine, but i will use one address from my database as “start” and one address form my database as 'finish". How can i do this in the example?
Thanks for help!
Do you have any backend or just frontend js?
Just frontend.js .
Here ist the page. https://lieferung.rentlift.eu/geo/index.php?Start=address_start&Ziel=adresse_finish
The searchfield should be unavalible, this data should send by query_string to the js - file and show the route and the markers.
So maybe use the code from static route: https://developer.tomtom.com/maps-sdk-web-js-public-preview/functional-examples#examples,map,static-route.html And use location.search to use query string params as origin or destination. https://www.w3schools.com/jsref/prop_loc_search.asp