Using the HTML5 Geolocation API Using the Geolocation HTML5 API The following code example moves to the position of the coordinates obtained with the Geolocation HTML5 API. This example contains jQuery code.