Wherever You Go, There We Are: the Geolocation API
No matter how you go mobile, you can meet your user’s needs. Recommendations based on location are plentiful, particularly on native apps. But don’t fret, agencies with mobile websites: you can also get in the location customization game.
Geolocation is a W3C scripting API that can be used with JavaScript in Web browsers. In the past, geolocation could only be done in native apps through a mobile programming API. With the Geolocation API, a mobile web app can request a user’s location.
Geolocation is not part of W3C HTML5 or the WHATWG HTML. However, W3C has published specifications to standardize this API to retrieve the geographical location information for a client-side device.
Additional Resources: