Does anyone know if there is a way to determine the min/max elevation of the area within the map bounds view when using mapbox://mapbox.mapbox-terrain-v2?
Asked
Active
Viewed 519 times
1 Answers
2
You can use the Surface API to find the elevation at a given location.
A possible approach would be to retrieve the elevation for a couple of points within the boundary and determine the min/max elevation approximately. The current limit of points per query is 300.
Take a look at the Surface Playground
To get the elevation: Select the Mapbox Terrain
from the examples, then layer: contour
, field: ele

kmandov
- 3,130
- 16
- 15
-
Great idea, this should be a good enough solution for me if I send a sampling of 300 points. – cdubbs Aug 25 '15 at 22:07