<div dir="auto">Can't you just use layer's actions?<div dir="auto"><br></div><div dir="auto">djes</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Le dim. 22 nov. 2020 à 08:43, Bernd Vogelgesang <<a href="mailto:bernd.vogelgesang@gmx.de">bernd.vogelgesang@gmx.de</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I had a similiar use case, see here:<br>
<a href="https://gis.stackexchange.com/q/322544/8202" rel="noreferrer noreferrer" target="_blank">https://gis.stackexchange.com/q/322544/8202</a><br>
<br>
Unfortunately, I just noticed the answer on my post then right now, so I<br>
did not dig any deeper.<br>
<br>
Basic thing is, that you can establish a "connection" between two layers<br>
by an "aggregate" function.<br>
<br>
But how to use that to change the style on e.g. a hover, is still beyond<br>
my capabilities, but I'm prettey sure there  is some clever way to<br>
accomplish that. Sadly, I'm not that clever. Maybe something with rule<br>
based style?<br>
<br>
Cheers,<br>
<br>
Bernd<br>
<br>
On 21.11.20 11:51, L.W. wrote:<br>
> Hi,<br>
><br>
> is there a way to have a feature on map and when I press/click/hover on<br>
> it that some event is raised?<br>
><br>
> Primary I want to toggle an attribute field true/false.<br>
><br>
> I than will e.g. display a special symbol(layer) to an other feature.<br>
><br>
> Example: Feature A has a foreign key to Feaure B, when B is hovered then<br>
> A's symbol should be yellow instead of green.<br>
><br>
> Regards<br>
><br>
> _______________________________________________<br>
> Qgis-user mailing list<br>
> <a href="mailto:Qgis-user@lists.osgeo.org" target="_blank" rel="noreferrer">Qgis-user@lists.osgeo.org</a><br>
> List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" rel="noreferrer noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
> Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" rel="noreferrer noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
_______________________________________________<br>
Qgis-user mailing list<br>
<a href="mailto:Qgis-user@lists.osgeo.org" target="_blank" rel="noreferrer">Qgis-user@lists.osgeo.org</a><br>
List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" rel="noreferrer noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" rel="noreferrer noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
</blockquote></div>