Const
AWS Terrarium terrain RGB tileset as a terrain source for MaplibreMeasureControl.
You can import this and set to terrainSource property of MeasureControlOptions like below.
terrainSource
import { AWS_ELEVATION_TILES, MaplibreMeasureControl } from 'maplibre-gl-terradraw';const control = new MaplibreMeasureControl({ terrainSource: AWS_ELEVATION_TILES}); Copy
import { AWS_ELEVATION_TILES, MaplibreMeasureControl } from 'maplibre-gl-terradraw';const control = new MaplibreMeasureControl({ terrainSource: AWS_ELEVATION_TILES});
Please see: https://registry.opendata.aws/terrain-tiles/
AWS Terrarium terrain RGB tileset as a terrain source for MaplibreMeasureControl.
You can import this and set to
terrainSourceproperty of MeasureControlOptions like below.Please see: https://registry.opendata.aws/terrain-tiles/