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
add below to scattermapbox + handle below:'traces' in layout layers
We now handle below logic (mostly) at the subplot level in
subplot.fillBelowLookup() and subplot.belowLookup.
This allows us to handle many edges cases in a cleaner way.
In brief,
+ we collect set trace/layout-layer below value,
OR find their "smart" default value
+ each trace/layout-layer stash a below state value
+ if new below doesn't match old before, we must remove/add layer
+ if many traces/layout have same below value, we place choroplethmapbox,
then densitymapbox, scattermapbox and finally layout layers
in that order.
+ on update, if many traces/layout-layer have same below,
we must in general remove/add all those layers
to have the correct ordering
Additional notes:
- we no longer need to handle below in convert.js routines
- getBelow is now a trace _module.getBelow method, so that it
can get called before mapbox-trace object creation
- new subplot.getMapLayer method to DRY things up
0 commit comments