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

The "change style" example in the Docs generates the following warning: Unable to perform style diff: Unimplemented: setSprite #8241

Closed
ggrocca opened this issue May 13, 2019 · 1 comment

Comments

@ggrocca
Copy link

ggrocca commented May 13, 2019

This is just a warning, no broken functionality here. My wild guesses are that there's something wrong in the Docs example, or there's a spurious warning that needs to be fixed (third possibility: this warning is due to an open issue, but I see that issues #2058 and #2059 are closed). I'm totally new to mapbox though (just started to playing with APIs a few days ago, so apologies in advance if I'm missing something obvious).

Full warning:

Unable to perform style diff: Unimplemented: setSprite..  Rebuilding the style from scratch. (util.js:329)

mapbox-gl-js version: 0.54

browser: Chromium Version 75.0.3738.0 (Developer Build) (64-bit) MacOS

Steps to Trigger Behavior and Link to Demonstration

Expected Behavior

No warning.

Actual Behavior

There's a warning.

@ggrocca ggrocca changed the title The "change style" example in the Docs generates the following warning: Unable to perform style diff: Unimplemented: setSprite Warning The "change style" example in the Docs generates the following warning: Unable to perform style diff: Unimplemented: setSprite May 13, 2019
@mourner
Copy link
Member

mourner commented May 14, 2019

While the warning can be safely ignored, we're still interested in speeding up setStyle for cases like this, so let's reopen #2058.

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

2 participants