ol-mapbox-style Examples
Mapbox
(requires a
Mapbox API token
) – Vector tile map from Mapbox's Bright style
GeoJSON
– Map with a vector layer from GeoJSON
Inline GeoJSON
– Map with a vector layer from GeoJSON embedded in the style object
OSM with WMS overlay
– Map with two raster layers (OSM base map and WMS overlay)
TileJSON
– Map with a raster layer from a TileJSON definition
TileJSON vector tiles
– Vector tile map with a source from a TileJSON definition
Style function
– Low-level API for creating a style function from a Mapbox Style source