Geofield Map is a sub module of Geofield and offers a basic mapping implementation for it. It is intended as a simple way to get site builders up and going with the Geofield module.

The module itself uses the Google Maps v3 Javascript API. It provides a basic field formatter and Views module integration, both of which have basic configuration settings and allows to display Geofield data on Google Maps street, satellite, hybrid and terrain tiles.

Enable

Enable Geofield Map at /admin/modules

Configure

Go to /admin/structure/types, choose the desired content type and click Manage display to use a Geofield Map as output formatter.

Views

Geofield Map is also available as a format in Views. To use this, create a page display in Views and add a field that contains geospatial data. Then choose Geofield Map as format. In the format settings you define which field contains the geospatial data and what the map looks like.

Alternatives to Geofield Map

If you need more than basic mapping needs, please use the OpenLayers module/library, or the lightweight Leaflet module/library, which are actively developed.

Comments

sajt’s picture

I think this is not working beacause there is no possibility to add Google map API key

erixooon’s picture

You should be able to add Google API key at /admin/config/services/googlemaps

44sunsets’s picture

For me it was at: /admin/config/content/geofield_map

[edit]
My apologies, I suspect the above config URL was added in a new patch, so it may not exist in earlier versions:
https://www.drupal.org/node/2757953

(If anyone has problems seeing that config screen, be sure to set the correct Geofield Map permission for your user role first, else you won't have access to the config)