ol-mapbox-style
ol-mapbox-style copied to clipboard
Hillshading - Terrain elevation encoding
In the hillshading function, only the Mapbox encoding is available to decode elevation with the formula : pixel[0] * 256 * 256 + pixel[1] * 256 + pixel[2]) * 0.1 - 10000
Terrarium / Mapzen is also possible as Mapbox elevation encoding in a Mapbox style. Decoding formula is described here.
@V-Roger can you please help ?