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

Errors with modern Mapbox styles #127

Open
che-ressoucenmangel opened this issue Oct 19, 2020 · 0 comments
Open

Errors with modern Mapbox styles #127

che-ressoucenmangel opened this issue Oct 19, 2020 · 0 comments

Comments

@che-ressoucenmangel
Copy link

When I try to use the modern static tiles from mapbox (like mapbox://styles/mapbox/streets-v11), I get Errors:

Uncaught Error: [3]: Expected arguments of type (number, number) | (string, string), but found (value, number) instead. at createFilter (cde7cb78-f483-4f81-9246-b018e988d5b7:182) at StyleLayerIndex.update (cde7cb78-f483-4f81-9246-b018e988d5b7:296) at StyleLayerIndex.replace (cde7cb78-f483-4f81-9246-b018e988d5b7:296) at Worker.setLayers (cde7cb78-f483-4f81-9246-b018e988d5b7:126) at Actor.receive (cde7cb78-f483-4f81-9246-b018e988d5b7:326)

Also:

Uncaught TypeError: Cannot read property 'composite' of undefined at WorkerTile.parse (cde7cb78-f483-4f81-9246-b018e988d5b7:128) at cde7cb78-f483-4f81-9246-b018e988d5b7:124 at cde7cb78-f483-4f81-9246-b018e988d5b7:124 at XMLHttpRequest.r.onload (cde7cb78-f483-4f81-9246-b018e988d5b7:328)

Usage:

L.mapboxGL({ accessToken: {any_token}, style: 'mapbox://styles/mapbox/streets-v11' });

Is there a way to fix those errors?

Thanks a lot!

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