Leaflet: hover over one polygon and another gets styled

المشرف العام

Administrator
طاقم الإدارة
I'm currently using Leaflet sync to have two maps side by side. On each side, there are maps with different GeoJson data sets. I am hoping to hover on eg. a lake on one side, then have a similar lake on the other side to get style.

Does anybody know how I can link the two lakes? This is just a simple case, so I don't think it'd be too practical to do with html tags. Example here.



أكثر...
 
أعلى