Closed qiuzuhui closed 3 years ago
visibleExtentDataProj
and visibleExtentViewProj
already updating during any change in the map view, because they are bound with internal rev
field. This field is updating on any chage inside ol object instance.
UPD sure but not so often as actual center/zoom changing during view animation. Do you think it should update at the same rate as center/zoom/rotation fields?
check this to reproduce the issue. moving map update extent, but reset center not. (this demo even not work when moving the map, don't know where is the problem)
Ok, I found the reason. I will merge and release a patch asap. Thanks for report!
fix: update center should update visibleExtentDataProj