Recommended releases

Download Released

When on a content type that has an address field, this module can provide one of
the following:

  • a Google static map
  • a regular JS Google map that defaults to the static map if Javascript is
    disabled (with optional KML file upload support)

This map can be added to the page in one of two ways:

  • Using the field display formatter
  • As a separate block

Requirements

This module requires that the following modules are also enabled:

Installation

  • Install this module using the official Backdrop CMS instructions at
    https://docs.backdropcms.org/documentation/extend-with-modules.

  • Get an API key from Google

  • Visit the configuration page under Administration > Configuration > System >
    Addressfield Staticmap (admin/config/system/addressfield_staticmap) and:

    • select the address fields that should be used to generate maps.
    • (optional) select the KML file field for matching address fields
    • save the configuration.
  • Make the map visible on the content types with the address field, either by
    using the field display settings, or by placing the block via Layouts.

  • (Optional) To use KML overlay files with the regular Google map, create a file
    upload field on your content type that only accepts .kml files.

  • Create or edit content with the specified fields. Add an address, and
    (optionally) upload your KML file to your node with an address field.

Differences from Drupal 7

  • MapQuest support has been removed.

Issues

Bugs and feature requests should be reported in the Issue Queue.

Current Maintainers

  • Seeking additional maintainers.

Credits

License

This project is GPL v2 software.
See the LICENSE.txt file in this directory for complete text.