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

monkk created an issue.