Problem/Motivation

Example: Use a content type 'Basic Page' with an entity reference field to a content type 'Location'.
The content type 'Location' has a geolocation field.

Index the entity reference field (field_geolocation) on the basic page node.
Print the 'Location' nodes on a map and filter on the search overview page.

Geolocation Facets

Proposed resolution

See Patch.

Remaining tasks

Review patch.

User interface changes

None

API changes

None

Data model changes

None

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

tomhollevoet created an issue. See original summary.

tomhollevoet’s picture

FileSize
5.08 KB

Correct patch file.

Makemeweb’s picture

Component: Geolocation field » Geolocation Field / Backend

The patch applies fine to the latest 8.x-2.x-dev but trying to configure a facet results in "PHP Fatal error: Trait 'Drupal\\geolocation\\GoogleMapsDisplayTrait'", have those files missing or do they require another patch ?

ChristianAdamski’s picture

Version: 8.x-2.x-dev » 8.x-3.x-dev
Status: Needs review » Needs work

Adapt to 3.x