Active
Project:
Leaflet
Version:
10.4.4
Component:
Miscellaneous
Priority:
Minor
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
2 Apr 2026 at 08:08 UTC
Updated:
2 Apr 2026 at 08:08 UTC
Jump to comment: Most recent
Hi All,
I guess I need generic advice how best to implement my need:
- I have nodes from which I can easy create View Leaflet map with simple locations/points.
- All nodes belong to Group which also map as a country/area.
- Question is how to create leaflet view/map which displays all markers inside country/area polygon and it would not be active/clickable if anything..
One idea was to use hook_views_pre_execute to append $view->result[]. However, the issue is that nodes and groups have different fields.
Tried to ask chatGPT, but it points to seems non existing hook_leaflet_map_alter(&$map, $context) .
Any guidance would be appreciated.
Thanks,
T.
Comments