You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by GitBox <gi...@apache.org> on 2020/04/03 19:42:19 UTC
[GitHub] [incubator-superset] drunkenmyno opened a new issue #9463: ViewPort
on Polygon Layer didnt Update when Filter Set
drunkenmyno opened a new issue #9463: ViewPort on Polygon Layer didnt Update when Filter Set
URL: https://github.com/apache/incubator-superset/issues/9463
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
- 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.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
[GitHub] [incubator-superset] stale[bot] closed issue #9463: Deckgl ViewPort on Polygon Layer didnt Update when Filter Set
Posted by GitBox <gi...@apache.org>.
stale[bot] closed issue #9463:
URL: https://github.com/apache/incubator-superset/issues/9463
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
[GitHub] [incubator-superset] stale[bot] commented on issue #9463: Deckgl ViewPort on Polygon Layer didnt Update when Filter Set
Posted by GitBox <gi...@apache.org>.
stale[bot] commented on issue #9463:
URL: https://github.com/apache/incubator-superset/issues/9463#issuecomment-637808956
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.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org