A small and easy tool that gives you your current GPS coordinates.
Just press the Show GPS button and allow the access to your location.
Here the JavaScript code behind the tool.
if (navigator.geolocation) {
navigator.geolocation.getCurrentPosition(function (position) {
console.log("Latitude: " + position.coords.latitude);
console.log("Longitude: " + position.coords.longitude);
});
} else {
console.log('Geolocation is not supported in your browser.');
}