field icon relationship

Created on 16 February 2023, almost 2 years ago

Problem/Motivation

What if the icon marker depends on a list field that is not store into the same entity than the geofield field. As a example : Places exist and can have different status depending of conditions.

Steps to reproduce

In the views edit page, set geoflied_map parameters : "Map Marker and Infowindow" > "Map Theming Options" > "Map Theming"

  • select "List Type Field (geofield_map) - Image Select"
  • and for "List Type Field" : select a field that is not store in the same entity than the geofield field.

==> icons markers won't be set, displaying default icon for all places, with no consideration of the list type field.

Proposed resolution

SInce many parameters are based on the entity that stores the geofield field : add a fake list type value to that entity on each row. This will make available the list type value from the geofield entity.

Remaining tasks

Patch provided, to review.

User interface changes

no

API changes

Data model changes

🐛 Bug report
Status

Needs review

Version

3.0

Component

Code

Created by

🇫🇷France thedut

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024