The WMS layer feature selection feature would hang when more than 2 layers were involved in the selection. This was due to nested loops using the same looping variable (i). This PR fixes the issue by renaming the variable in the outer loop.
This PR also updates deprecated autoPan properties of ol.Overlays.
Coverage: 100.0%. Remained the same when pulling 4653d1368c87ec73c2903ace0d120f3fb1346642 on map-view-bug-fixes into 5c0da3284e76e2d37ea0e315ee2f68de679bd549 on main.
i
). This PR fixes the issue by renaming the variable in the outer loop.autoPan
properties ofol.Overlays
.