Locations Map HubDB

This is a custom module that allows an editor to add a Google map to a page that will list locations that have been entered into a HubDB table. Although you can edit the map's center and zoom level, the list of locations will be the same on every page using the same HubDB. Additional HubDB tables can be created for additional maps. For a more page-specific option, use the Locations Map custom module.

The search form can accept URL parameters. Use "q" for the address query and "r" for the Distance query. Please note that the value for "r" must match one of the values in the select box. 

Example: q=St%20Paul,%20MN&r=100

A Google Maps API key is required with the Maps JavaScript API enabled. In order to use the search bar, the Geocoding and Distance Matrix APIs also need to be enabled. Google Maps API charges will apply (details).

Both the search form and the location list can be turned off in the module settings. For maps with many locations, marker clustering can be enabled.

Leighton Interactive

619 West St Germain St
St. Cloud, 56301 Get directions

Phone: (320) 203-4840

We're an inbound and content marketing agency in St. Cloud, MN. We prove our work works. Our clients demand results so we deliver results.

Leighton Interactive Green Bay

200 Dousman St.
Green Bay, 54303 Get directions

Phone: (920) 884-1496