-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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
- Loading branch information
Showing
15 changed files
with
438 additions
and
86 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.