Skip to content

Commit

Permalink
Improve docstring for queryTerrainElevation (#3599)
Browse files Browse the repository at this point in the history
  • Loading branch information
mthaddon authored Jan 21, 2024
1 parent 7decb26 commit fc5f509
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ui/camera.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1458,7 +1458,7 @@ export abstract class Camera extends Evented {
}

/**
* Query the current elevation of location. It return null if terrain is not enabled. the elevation is in meters relative to mean sea-level
* Query the current elevation of location. Returns `null` if terrain is not enabled. Elevation is in meters relative to mean sea-level.
* @param lngLatLike - [x,y] or LngLat coordinates of the location
* @returns elevation in meters
*/
Expand Down

0 comments on commit fc5f509

Please sign in to comment.