From IT Skills
Jump to: navigation, search

supports wikipedia:CartoDB

OpenLayers doesn’t support vector tiles by default. Raster tiles can be generated on demand for any of the GL styles with the open-source server software called TileServer GL. Such raster tiles can be displayed using ol.source.XYZ source... Vector tiles can be displayed in OpenLayers using the ol-mapbox-style plugin together with OpenMapTiles.

Elevation api[edit | edit source]

example uses a ol.source.Raster with Mapbox#Terrain-RGB tiles to "flood" areas below the elevation