Get Locations will provide Google maps API version 3 enabled maps on which to display markers of locations found in location-enabled content-types.

These can be displayed per node, eg "/getlocations/node/xxx" will display all the locations associated with that node. They can also be displayed per content-type, so if your content-type has a machine name 'venue' you can show them all with "/getlocations/type/venue" and it also supports paths like "/getlocations/user/xxx" and "/getlocations/users" for location-enabled users. These links have their own access permissions so control can be exercised on a per role basis.

See the README.txt for more information on what Getlocations can do.

See the Getlocations Documentation page, still under development.


The Libraries module

The Location module (6.x only)


The Views module. Getlocations 6.x-1.x uses Views 2, 6.x-2.x and 7.x-1.x and 7.x-2.x use Views 3.

For Drupal 7: The Entity API module,especially when using Geofield or Geolocation. Getlocations for Drupal 7 has its own locative module Getlocations_fields, see below for more information.


Please read and follow the instructions in README.txt. You need to do this to get markers working. You will need at least the first one in the lists below.

You can download markers from Dropbox:

As tarballs:

These have the shadow integrated into the image, for use with the new google "Fresh" maptiles.

These are from

As zipfiles:

These have the shadow integrated into the image, for use with the new google "Fresh" maptiles.

These are from

There are lots of icons at

You can use the tools at to provide you with information to make your own ini files and icon sets.

The 6.x-2.x series supports Views 3 but is the same in all other respects.

Drupalcode links:

Getlocations 6.x-1.x on git

Getlocations 7.x-1.x on git

Getlocations 7.x-2.x on git

Getlocations has the option to use the Infobubble and Markermanager or MarkerClustererPlus Javascript Libraries for Version 3 of Google maps. There are also options for how multiple markers are displayed and switches for TrafficLayer, BicyclingLayer, Panoramio, TransitLayer, WeatherLayer and Transit Points and Points of Interest styles. Administrators can add their own styles as well.

Code from Snazzymaps can be pasted in to the Styles area on the map settings form.

Other features include:

  • Configurable Infobubble styling
  • Configurable Javascript paths for Infobubble, Markermanager and Markerclusterer
  • Support for Google maps API Version 3 key
  • Support for multiple maps on a page
  • Markers can be defined globally, per content type, per content instance or per item
  • Marker action can be either click or mouseover, configurable globally or per map
  • Automatic HTTPS support
  • Maps can be displayed in a Colorbox
  • All output is fully themeable
  • Views support for Getlocations Fields (see below) includes per item maps, All locations maps, Nearby location maps as well as lists with similar functions. Some views support exposed forms. Views developers will be able to create many other possibilities.

The 7.x series includes a submodule Getlocations Fields which can be used instead of location and location_node or location_cck.
Getlocations Fields can add an address and map to these content types:

  • node
  • user with or without profile2
  • term
  • comment

There can be more than one input map.

If you need to attach a getlocations_fields instance to any other entity type you can try Getlocations-7.x-2.x which should support that.

All geocoding is done clientside, before the page is submitted. There are two methods available, either with Google Places Autocomplete or without.

The actual Geocoding can be either by Google (the default) or by OpenStreetMaps.

Support for Smart IP module. Do not enable the Smart IP submodule "Device Geolocation" as Getlocations already has this capability, just enable 'Provide Browser based geocoding option' in getlocations_fields/getlocations_search.

If you need to do geocoding serverside there is a helper module Get Locations Geocoder which will work with getlocations_fields, it provides a pre-save hook.

The Getdirections module can use Getlocations Fields locations

There are other submodules:

  • Getlocations Search which uses Google Geocoding on entered search terms and shows nearby locations. The search form is fully configurable with options for setting the Search distance, Distance units, Number of locations to show and Restrict the search to a content type.
  • Getlocations Blocks that works in conjunction with Views. It provides dropdowns or autocompletes for Country, Province/State, Town or Postcode. How well it works depends on how large your dataset is.
  • Getlocations Location Taxonomize which supports Location Taxonomize.
  • Getlocations Feeds which provides integration with the Feeds module.
  • Getlocations Map which provides a map that can be added to a content type in conjunction with Getlocations_fields, GeoField, Geolocation or Location modules. Useful for when no map is supplied or the map needs to be in a different place within the content type display.
  • Getlocations Leaflet provides support for Leaflet maps
  • Getlocations Tools, a module to provide configuration export/import utilities
  • Getlocations GPS, a module to provide browser supplied geolocation for mobile devices.
  • There are modules to provide support for Mapquest, Cloudmade and Mapbox maps.

Support for:

  • For best results use the supplied Getlocations_fields Module.
  • Geofield
  • Addressfield
  • Geolocation (Drupal 7)
  • Location
  • A solution to the 'duplicate markers' problem, see #1551882: MarkerCluster with InfoWindows - InfoBubbles
  • 'Find current location' button for gps enabled devices
  • Traffic, Bicycle, Transit, Panoramio and Weather Layers for maps
  • Viewport bias option for Google Autocomplete
  • Getlocations Search in a page, block or Colorbox
  • Configurable Maps background color (D7 and D6)
  • Support for the Countries module, the Getlocations Fields input form can be configured to only show certain Countries or Continents in the Country dropdown.
  • Option to show a list of links that emulate clicking on a marker
  • Maximum and Minimum zoom settings for the map
  • Fullscreen option for the map
  • Support for Polygons, Rectangles, Circles and Polylines. These can be global, per content type or per View
  • Support for OpenStreetMap
  • Support for KML layers
  • Support for Google Places Search
  • Support for jQuery Colorpicker
  • Support for GeoJSON, see for information about this format. See README.txt for instructions on installing the library
  • Support for Drush. Drush users can install a basic set of markers with:

    drush getlocations-markers

    or the GeoJSON library with:
    drush getlocations-geojson

    or the Leaflet library with:
    drush getlocations-leaflet

  • Getlocations Fields has options for Phone, Mobile and Fax Entries.
  • Getlocations Fields stores Latitude and Longitude as type Decimal (10,6) instead of type Float (normal).
  • Getlocations Search has an option to display the search accuracy as reported by Google Search and Geocode and Reset buttons
  • The exposed form for Getlocations Views Distance filter has an option for a Google Autocomplete widget
  • Support for Google Streetview in Getlocations Fields. Supports an overlay for maps with a single marker as on a node page. There is also a Views Style plugin for Streetview.
  • Options to manipulate placement of map controls
  • Support for Leaflet maps version 0.7.x. See the README in getlocations_leaflet submodule for details on how to fetch and enable the library. Getlocations_leaflet now supports maps and overlays from OpenStreetMap, Thunderforest, MapQuestOpen, Stamen, Esri, Acetate, OpenSeaMap, OpenWeatherMap and MapBox. Cloudmade has been moved to its own module as it is no longer free. These come from the leaflet-providers script, about 50 maps.

    Getlocations_leaflet supports the following plugins:

    See a demo

  • Some longstanding bugs have been fixed: Views exposed forms will work with ajax and the "Add another item" button works with Getlocations_fields.
  • The Openlayers Module can be used to display Getlocations_fields data, see a demo
  • Export feature to enable import of getlocations markers into openlayers maps
  • Support for node revisions.
  • Marker and shape to distance filter for Google and Leaflet maps.
  • Support for the OpenStreetMaps search facility provided by the geocoder-js library
  • Support for OpenStreetMaps, OpenCycleMaps, Stamen and Esri maps, as well as allowing developers to add their own maps.
  • The Staticmap module now supports Getlocations_fields, see #1564394: Add support for getlocations_fields module
  • Support for field_group module's multipage, vertical tab, horizontal tab and accordion features, in Google and Leaflet maps.
  • Added Mapquest support, requires a mapquest license key
  • Support for leaflet-hash
  • Added Getlocations_smartip module which provides Smart IP module support to maps.
  • Support for the Token module, see #2533122: Improved Tokens Support
  • Support for the What3Words service
  • Added an option to retain the old Google maps controls, at least until August 2016. It can be found just below the default width and height settings on the config form.

Development for Drupal 7 version:

  • Support for the Devel module's devel_generate feature.
  • Updated Font-awesome to version 4.5.0

Development version 7.x-2.x is now available, this is not yet suitable for production. This version attempts to use the D7 Entity type concept which in principle should allow Getlocations to work with any Entity type. Needs testing but has all the features of 7.x-1.x. Use this version if you are using the Commerce module, see #2428471: Get Locations Field on Drupal Commerce Products?.

Please note

If updating to the latest dev or the current stable you will need to run cron or flush cache or Regenerate markers. The marker cache now resides in

Please note

Getlocations javascript global variables have now been wrapped in the Drupal namespace, so
getlocations_map is now accessible as Drupal.getlocations_map. The same goes for all the other global variables listed at the start of getlocations.js. The same applies to the getlocations_leaflet global variables. If you have made use of these variables in your own javascript you will need to update your code.

Please note

Do not install the Location module or the Geofield or Geolocation modules at the same time as Getlocations_fields, this will not work. The Addressfield module can co-exist with Getlocations_fields but will not be used for geolocating addresses.

If you are upgrading from an earlier version make sure you go to admin/config and save the settings as there may be new features added. Flushing the cache is probably also a good idea.

Please report any bugs on the Issues page

Project information