I have a small piece of code that with the help of the Google maps api shows a route on that map from one point to another. As I show below
<iframe width="600" height="450" frameborder="0" style="border:0"
src="https://www.google.com/maps/embed/v1/directions?key=MI_API_KEY&origin=<?php echo $localizacion; ?>&destination=<?php echo $_POST['direccion']; ?>&avoid=tolls|highways" allowfullscreen></iframe>
In the destination ($ _POST ['address'];) throws the data as the street, number, city ...
In the origin I want to see the geolocation of the device as coordinates for example, but I can not do it