This little article will show you how to build a simple web page that will automatically locate your position, paint it on a map, and show you the text address corresponding to the map’s coordinates.
First of all, Let’s define some terms:
Geolocation identifies or estimates an object’s real-world geographic location, such as a building or mobile phone.
**Geocoding **is the process of taking input text, such as an address or the name of a place, and returning a latitude/longitude location on the Earth’s surface for that place.
Reverse-Geocoding is the process of converting addresses (like “ 10 Downing Stree**”**) into his latitude and longitude geographic coordinates, which you can use to place markers on a map or position the map.
Having clarified the previous terms, we will need the following to build our location page:
#javascript #mapbox #web-development #geolocation #web-components