interface SampledPathElevationParams {
    path: LatLng[];
    samples: number;
}

Properties

Properties

path: LatLng[]

defines a path on the earth for which to return elevation data. This parameter defines a set of two or more ordered pairs defining a path along the surface of the earth. This parameter must be used in conjunction with the samples parameter described below.

samples: number

specifies the number of sample points along a path for which to return elevation data. The samples parameter divides the given path into an ordered set of equidistant points along the path.