JavaScript – geolocation.

By | 14/02/2017

This is a simple java script to take the geolocation and show it on webpage.
The example start with a default HTML 5 page and the part from tags scripts get the geolocation and using innerHTML is show on webpage.
To see the location then is need to use this: navigator.geolocation.getCurrentPosition.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.