You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I'm trying to use a Mapbox vector style that is working fine for a 2D map using Openalyers + ol-maplibre-layer.
Using the same json file as style leads to only 1 layer being shown.
Your Environment
Version used: 2.38.2
Browser Name and version: chrome 106.0.5249.119
Operating System and version (desktop or mobile): Linux Desktop
Link to your project:
Context
The style json file has multiple sources as below :-
Indeed, iTowns VectorTileSource only considers the first source specified in Mapbox vector style. This is partly due to this piece of code.
The issue is that VectorTileSource has a single url property, therefore referencing a single source and not an array of sources for example. Implementing the support for Mapbox style with multiple sources would require some change on this, and also on fetching and parsing methods used for Mapbox data.
Hi,
I'm trying to use a Mapbox vector style that is working fine for a 2D map using Openalyers + ol-maplibre-layer.
Using the same json file as style leads to only 1 layer being shown.
Your Environment
Context
The style json file has multiple sources as below :-
Steps to Reproduce (for bugs)
Expected Behavior
All the layers referencing all the sources should be displayed.
Actual Behavior
Only the first layer referencing the first source is displayed
All the layers referencing all the sources should be displayed.
Possible Cause/Fix/Solution
The text was updated successfully, but these errors were encountered: