--- layout: example.html title: Sea Level shortdesc: Render sea level at different elevations docs: >
This example uses a ol/source/Raster
with
Mapbox Terrain-RGB tiles
to "flood" areas below the elevation shown on the sea level slider.
ol/source/Raster
can take either a tile source or layer.
In this case a layer is used to allow disabling at the prerender
event
of image smoothing which would change the precise elevation values set in the pixels.