Provides a Block which renders Geographical address of the user on the basis of device location.
Synopsis
There are many projects available on Drupal.org which are helpful to display the address on google map.
The key difference which user geo address module makes is this gives the current geographical location of the user.
The implementation part includes UserGeoClient as a service which can be consumed by passing google map API key and lat-long for getting the address.
This will help site maintainers to showcase the user current address in a block.
Requirements
This module need Google Maps API key which can be obtained from https://console.cloud.google.com.
- Go to https://console.developers.google.com/cloud-resource-manager
- Create a new project
- Enable Geocoding API, Geolocation API.
- Go to https://console.cloud.google.com/apis/library?project=YOUR_PROJECT
- Go to Credentials
- Create New API Key
- Select Applications restrictions as None.
- Copy the API key
Similar projects and how they are different
Maps Block, Geolocation, GeoFieldMap modules are available which shows address on Google Map.
Dependencies
It includes Google MAPS API key as a dependency without which address of the user cannot be displayed.
| Attachment | Size |
|---|---|
| Google API Key Configuration | 39.33 KB |
| Block with user address | 12.92 KB |
Project information
- Project categories: Site structure
- Ecosystem: Google Maps location
14 sites report using this module
- Created by aks22 on , updated
Stable releases for this project are covered by the security advisory policy.
Look for the shield icon below.
Releases
New version with bug fixes and with code improvement.
