# Directions(Complex)

Build a common directions app with the [DirectionsService](../references/directions). You can drag the origin or destination marker to get new routes.

## Demo

<iframe style="border:none;width:100%;height:600px" src="https://codesandbox.io/embed/gvpy6k?fontsize=14&hidenavigation=1&initialpath=%2Fdirections-complex&module=%2Fsrc%2Fpages%2FDirectionsComplex.js&theme=dark"></iframe>
