Problem/Motivation
If use Field (html DivIcon) option in the Map Icon and provide a token value, for example, an image field from the node
When the image field is empty map will render the text of the provided token, for example: ([node:field_image:entity:thumbnail])
This is wrong behavior, because if the token is empty marker html markup needs to be used
This bug exists only on the node view form, for views it works well
Issue fork leaflet-3447061
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
rollins commentedJust provided MR that will fix this bug
Comment #4
nginex commentedComment #5
nginex commentedIt works like a charm
Comment #6
itamair commentedThanks for this ... but I also want to properly QA and Review this.
Not clear to me if this fix is needed only in the Leaflet Formatter,
or something needs to be adjusted / fixed in the Leaflet View Style too
(usually they pair each other ... ).
Comment #8
itamair commentedThanks again ... merging this.