Errors with modern Mapbox styles
che-ressoucenmangel opened this issue · 0 comments
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!