google-maps-documentation

LocationElevationRequest interface

google.maps.LocationElevationRequest interface

An elevation request sent by the ElevationService containing the list of discrete coordinates (LatLngs) for which to return elevation data.

Properties
locations
Type:  Array<LatLng> optional
The discrete locations for which to retrieve elevations.