025: Mapbox GL loads the raster elevation model raster-dem file

insert image description here

No. 025

Click to view column directory


The purpose of this example is to introduce and demonstrate how to load image image files in vue+mapbox. Raster DEM source. Only Mapbox Terrain-DEM is supported, and you can use Terrain-DEM for a variety of vision and analysis applications, from styling terrain slopes and hillshading to generating 3D terrain meshes for video games.

Directly copy the vue+mapbox source code below, and run it in 2 minutes to achieve the effect

example effect

Guess you like

Origin blog.csdn.net/cuclife/article/details/130317720