Elevation
Get elevation
Get the elevation at given locations. If <i>unit</i> is omitted, elevation values are in meters.
get/elevation/{locations}.json
Request
- Base URLhttps://api.maptiler.com
- AuthAPI key in query parameter key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
locationsstring required
List of lng,lat WGS 84 positions seperated by ; delimeter (Max 50 positions). Longitude values must be > -180 < 180. Latitudes must be >= -85 <= 85.
Query parameters
unit'meters' | 'feet'
Unit of the elevation.
Response
Elevation of the requested locations.
Example response
[
[
17,
50,
364.20001220703125
],
[
-133.5,
58.39,
1323.800048828125
]
]Changes
No recorded changes to this operation across all 1 revision of this API.