superset
superset copied to clipboard
mapbox does not load datapoints
Bug description
When using mapbox, the map gets displayed without any datapoints. I need to either click on the map, or zoom in/out slightly for the datapoints to appear. If I then resize the browser window - datapoints disappear and I need to either zoom/click again. This only happens in the Dashboard view, Chart edit works as expected. Live Render is turned on.
How to reproduce the bug
- Create a mapbox chart & asign it to a dashboard
- View the dashboard (should not see any datapoints)
- Move the map with the mouse (datapoints should appear)
- Resize window (datapoints should disappear)
Screenshots/recordings
https://github.com/apache/superset/assets/510287/32d1f508-acd2-4caf-b852-05c00fafbafd
Superset version
3.1.1
Python version
3.10
Node version
Not applicable
Browser
Chrome
Additional context
Tried on both Chrome and Safari - same issue.
Checklist
- [X] I have searched Superset docs and Slack and didn't find a solution to my problem.
- [X] I have searched the GitHub issue tracker and didn't find a similar bug report.
- [X] I have checked Superset's logs for errors and if I found a relevant Python stacktrace, I included it here as text in the "additional context" section.
I am experiencing the same issue. Documentation of versioning etc. of my instances on this issue which I have now closed since it's the same as being described here. https://github.com/apache/superset/issues/27635
confirming we are seeing this too, seems the map needs to be given a refresh/redraw signal or method call or similar
@Vitor-Avila @yousoph do you know if we've heard complaints of this? Curious if @michael-s-molina @justinpark have run into this as well. Seems like we'd hear more outcry about this, but perhaps the solution is a git bisect
away.
@rusackas haven't heard about it so far, and also couldn't reproduce it on Preset Cloud.
same exact problem here
@markk0r what version are you running?
Happens with both 3.1.0 and 4.0