You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Viewport zooms out to stanrdard 6.85236157047845, 31.222656842808707
How to reproduce the bug
Create a GeoJSON Layer with More then 2 Polygons set a Filter on it.
The Viewport did not update to the Polygon
Environment
superset version: latest
python version: 3.6.4
node.js version: 13
npm version: latest
Checklist
Make sure these boxes are checked before submitting your issue - thank you!
[x ] I have checked the superset logs for python stacktraces and included it here as text if there are any.
[ x] I have reproduced the issue with at least the latest released version of superset.
[x ] I have checked the issue tracker for the same issue and I haven't found one similar.
The text was updated successfully, but these errors were encountered:
drunkenmyno
changed the title
ViewPort on Polygon Layer didnt Update when Filter Set
Deckgl ViewPort on Polygon Layer didnt Update when Filter Set
Apr 3, 2020
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. For admin, please label this issue .pinned to prevent stale bot from closing the issue.
A clear and concise description of what the bug is.
Expected results
When a Table is set as Filter for a Polygon Layer.
A Filter is set and the Viewport didnt update.
Error happened
Could not fit viewport Error: @math.gl/web-mercator: assertion failed.
because the Coordiantes are Zero then. after
if (formData.autozoom) {
viewport = fitViewport(viewport, {
width,
height,
points: features.flatMap(getPointsFromPolygon)
});
}
Polygon.js
Actual results
Viewport zooms out to stanrdard 6.85236157047845, 31.222656842808707
How to reproduce the bug
Create a GeoJSON Layer with More then 2 Polygons set a Filter on it.
The Viewport did not update to the Polygon
Environment
Checklist
Make sure these boxes are checked before submitting your issue - thank you!
The text was updated successfully, but these errors were encountered: