How to create a "View map" link to Google Maps
Last updated on
30 April 2025
You are browsing documentation for an older version of Drupal, which is not supported any longer, and the information may not be correct. See current documentation for Contributed modules
This information was originally posted by luciddesign.
Install the Location module and enable the CCK location field.
- Go to admin/settings/location/geocoding & enable the Google Maps geocoder for United States
(or whatever country you're adding locations for) - Go to admin/settings/location/maplinking & Make sure the Google Maps checkbox for the country you're searching in is checked
- Add a location field to you the content type you want to have this map link
- Configure the settings for the location field and make sure 'Map Links' Location display settings at the bottom box is NOT checked
- Create a node of the content type you added the location field to and enter the address information (leave the lat/long blank)
- The node should show the address and a link to Google Maps, click the link and you're on the Google Maps website!
Help improve this page
Page status: Not set
You can:
You can:
- Log in, click Edit, and edit this page
- Log in, click Discuss, update the Page status value, and suggest an improvement
- Log in and create a Documentation issue with your suggestion