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

[Feature Request] - Mapbox viewport coordinates in relayoutData #1369

Closed
jcfbeardsley opened this issue Aug 17, 2020 · 2 comments
Closed

[Feature Request] - Mapbox viewport coordinates in relayoutData #1369

jcfbeardsley opened this issue Aug 17, 2020 · 2 comments

Comments

@jcfbeardsley
Copy link

Hi,

Is it possible to have the viewport coordinates (lower left, lower right, upper left and upper right lat/lons) returned as part of the relayoutData when using Mapbox? Currently only mapbox.center, mapbox.zoom, mapbox.bearing and mapbox.pitch are returned. The viewport coordinates would be a massive help when generating dynamic layer content based on user interactions.

I note this feature has already been requested and implemented in plotly.js (see here), but am unsure what's required to get that same data returned through a Dash server-side callback?

Thanks in advance,
J.

@nicolaskruchten
Copy link
Contributor

Hello! In order to get the latest plotly.js bundle you need to be using the latest version of dash and dash_core_components.

@gvwilson
Copy link
Contributor

Hi - we are tidying up stale issues and PRs in Plotly's public repositories so that we can focus on things that are most important to our community. If this issue is still a concern, please add a comment letting us know what recent version of our software you've checked it with so that I can reopen it and add it to our backlog. (Please note that we will give priority to reports that include a short reproducible example.) If you'd like to submit a PR, we'd be happy to prioritize a review, and if it's a request for tech support, please post in our community forum. Thank you - @gvwilson

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants