# URL to pre-filled destination

**URL:** <https://ask.openrouteservice.org/t/url-to-pre-filled-destination/4119>\
**Category:** Maps Website\
**Created:** [August 18, 2022, 12:06pm UTC](https://ask.openrouteservice.org/t/url-to-pre-filled-destination/4119 "2022-08-18T12:06:25Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Lweber](https://ask.openrouteservice.org/letter_avatar_proxy/v4/letter/l/3d9bf3/32.png) [@Lweber](https://ask.openrouteservice.org/u/Lweber)\
**Post date:** [August 18, 2022, 12:06pm UTC](https://ask.openrouteservice.org/t/url-to-pre-filled-destination/4119/1 "2022-08-18T12:06:25Z")

</div>

Hello,

On a Homepage, I would like to create a link to openrouteservice where the destination is already filled in. Optionally, the start is also filled in as the users location.

An example link to Google Maps looks like this:  
[https://www.google.com/maps/dir/?api=1&destination=48.94898960,8.22601692](https://www.google.com/maps/dir/?api=1&destination=48.94898960,8.22601692)

I can put in my location and destination in the fields, however the “pre-data” part of the URL is invalid:

> **[OpenRouteService route planner - directions, isochrones and places](https://maps.openrouteservice.org/#/directions/Mein%20Standort/8.22601692,48.9489896)**
>
> Openrouteservice is a open source route planner with plenty of features for car, heavy vehicles, hiking, cycling and wheelchair

---

<div class="post-metadata">

**Author:** ![amandus](https://ask.openrouteservice.org/user_avatar/ask.openrouteservice.org/amandus/32/669_2.png) [@amandus](https://ask.openrouteservice.org/u/amandus)\
**Post date:** [August 19, 2022, 1:55pm UTC](https://ask.openrouteservice.org/t/url-to-pre-filled-destination/4119/2 "2022-08-19T13:55:00Z")

</div>

Hi @Lweber,

if you only set an endpoint (“Route to here”) you should just be able to copy the url and share it.  
Setting the Start point from a coordinate doesn’t work, because the new client uses the address in the url instead of the coordinate… 🙄

Best regards
