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

Updating a geo subplot shouldn't reset its view #292

Closed
etpinard opened this issue Feb 29, 2016 · 2 comments
Closed

Updating a geo subplot shouldn't reset its view #292

etpinard opened this issue Feb 29, 2016 · 2 comments
Assignees
Labels
bug something broken
Milestone

Comments

@etpinard
Copy link
Contributor

At the moment, this block in restyle and this one in relayout forces a full redraw whenever we update a geo subplot.

We may need to expose a translation projection attribute to secure the view from update to update.

@etpinard etpinard added the bug something broken label Feb 29, 2016
@etpinard etpinard added this to the subplotly.js milestone Feb 29, 2016
@etpinard etpinard self-assigned this Jul 11, 2016
@etpinard
Copy link
Contributor Author

When fixing this, make sure that plotly_relayout is fired on pan / zoom etc.

@brian428
Copy link

Just leaving a +1. Specifically, if the user has zoomed/panned, this seems to be lost after a restyle().

etpinard added a commit that referenced this issue Sep 22, 2017
- while #292 was fixed thanks to `geo.center`,
  it is 🔒 here.
etpinard added a commit that referenced this issue Sep 22, 2017
- while #292 was fixed thanks to `geo.center`,
  it is 🔒 here.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug something broken
Projects
None yet
Development

No branches or pull requests

2 participants