Skip to content

Mapbox to-image does not work in all environments #683

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

Closed
etpinard opened this issue Jun 23, 2016 · 2 comments
Closed

Mapbox to-image does not work in all environments #683

etpinard opened this issue Jun 23, 2016 · 2 comments
Assignees
Labels
bug something broken

Comments

@etpinard
Copy link
Contributor

For example:

Meanwhile, to-image works fine in the plotly.js test dashboard.

Maybe the problem is related to how we set the ids for each mapbox-gl canvas?

@etpinard
Copy link
Contributor Author

Looks like the mapboxAccessToken isn't transferred to the cloned graph div on Snapshot.clonePlot which makes to-image fails if the mapbox access token isn't set via Plotly.setPlotConfig. After a quick check, this may not be the end of the story this bug, but it will be a good start.

@etpinard
Copy link
Contributor Author

This bug appears to be fixed in 1.15.0, in Codepen at least: http://codepen.io/etpinard/pen/oLdaXP

@etpinard etpinard self-assigned this Jul 25, 2016
@etpinard etpinard closed this as completed Aug 4, 2016
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

1 participant