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

Error: Style is not done loading #34

Open
schajee opened this issue Feb 28, 2020 · 0 comments
Open

Error: Style is not done loading #34

schajee opened this issue Feb 28, 2020 · 0 comments

Comments

@schajee
Copy link

schajee commented Feb 28, 2020

Using mapbox-gl and binding data to the component like this

<plotly :data="plot.data" :layout="plot.layout" :options="plot.options" />

I get the following exception in the console.

Uncaught (in promise) Error: Style is not done loading
    at i._checkLoaded (mapbox-gl.js?e192:33)
    at i.addSource (mapbox-gl.js?e192:33)
    at r.addSource (mapbox-gl.js?e192:33)
    at ScatterMapbox.proto.addSource (plot.js?ac37:46)
    at Object.createScatterMapbox [as plot] (plot.js?ac37:123)
    at Mapbox.proto.updateData (mapbox.js?3fca:296)
    at eval (mapbox.js?3fca:171)

Points are plotted on the map, and I have no problems in functionality, but the above is irritating.

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

1 participant