What Problem Does This Solve?
Identify and locate the real-world geographic location of the person using the application.
When to Use This Pattern
Provide an easy way to navigate the user to its current geographic location without the need of complicated data input.
What’s the Solution?
Provide a button that triggers a background process to determine the latitude and langitude coordinates of the user’s geographic position so that further action can be applied, typically consisting of zooming the map extent to the current location.
Why Use This Pattern?
Geolocation is a common mechanism in mobile devices to provide geographical context of the current user’s position to enhance the experience of the application. The same capability can be provided on the web as an easy way to determine full address information (street, town, neighborhood, region, country, country code, postal code, etc…)
Users should always understand why you are asking for their location. Make it clear why you need a user’s location, and how the information will influence their experience. Leave location fields blank by default, and let users choose to populate them through a clear call-to-action like “Find near me” or “Local deals for tonight”