Calculate distance from localisation data to GPS point.
Need jQuery to work add atribute data-gps to a span or an other element.
<span data-gps="[47.3983,5.0898]" ></span>
add this line under the jQuery script and before the </body>
<script src="gps_dist.js"></script>
see exemple