I had a similiar use case, see here:
https://gis.stackexchange.com/q/322544/8202

Unfortunately, I just noticed the answer on my post then right now, so I
did not dig any deeper.

Basic thing is, that you can establish a "connection" between two layers
by an "aggregate" function.

But how to use that to change the style on e.g. a hover, is still beyond
my capabilities, but I'm prettey sure there  is some clever way to
accomplish that. Sadly, I'm not that clever. Maybe something with rule
based style?

Cheers,

Bernd

On 21.11.20 11:51, L.W. wrote:
Hi,

is there a way to have a feature on map and when I press/click/hover on
it that some event is raised?

Primary I want to toggle an attribute field true/false.

I than will e.g. display a special symbol(layer) to an other feature.

Example: Feature A has a foreign key to Feaure B, when B is hovered then
A's symbol should be yellow instead of green.

Regards

_______________________________________________
Qgis-user mailing list
[email protected]
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
_______________________________________________
Qgis-user mailing list
[email protected]
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

Reply via email to