Look up elevation at one or more points
client.elevation.lookup(ElevationLookupParams { lat, lng, locations } query?, RequestOptionsoptions?): ElevationLookupResult { geometry, properties, type }
GET/api/v1/elevation
Look up elevation at one or more points
import Plaza from '@plazafyi/sdk';
const client = new Plaza({
apiKey: process.env['PLAZA_API_KEY'], // This is the default and can be omitted
});
const elevationLookupResult = await client.elevation.lookup();
console.log(elevationLookupResult.geometry);