Keep map updates independent of tile loading
This commit is contained in:
@@ -48,6 +48,7 @@ def test_map_rectangle_drag_is_wired_to_automatic_analysis() -> None:
|
||||
assert "resizeObserver.observe(containerRef.current)" in geomap
|
||||
assert "fitDataOnChangeRef.current" in geomap
|
||||
assert geomap.count("map.fitBounds(bounds, { padding: 40, duration: 0 })") == 3
|
||||
assert "isStyleLoaded()" not in geomap
|
||||
assert "const activeCollection = areaData ?? (fitDataOnChange ? data : null)" in geomap
|
||||
assert "data && fitDataOnChange && !areaData" in geomap
|
||||
assert "resizeObserver.disconnect()" in geomap
|
||||
|
||||
Reference in New Issue
Block a user