Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Order of modeBarButtons in Plotly in 2D and 3D #149

Open
jakublala opened this issue Jun 14, 2021 · 0 comments
Open

Order of modeBarButtons in Plotly in 2D and 3D #149

jakublala opened this issue Jun 14, 2021 · 0 comments
Labels
component-map Issues related to the map component enhancement New feature or request

Comments

@jakublala
Copy link
Contributor

Comes from #139. Adding custom download buttons means that the order has changed and cannot be easily adjusted when one also considers switching from 2D to 3D and vice versa. As there is no Plotly function that updates the plot using a new config (apart from Plotly.newPlot()), to change the button order (and also change the exact buttons used for 2D and 3D separately), one needs to call the Plotly.newPlot() function with the new config. This, however, breaks more things than it fixes and so some of the surrounding code in map.ts has to be re-written.

@Luthaf Luthaf added component-map Issues related to the map component enhancement New feature or request labels Jun 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component-map Issues related to the map component enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants