API (v2.0.0) - Giro3D
    Preparing search index...

    Map-like object to drape features onto.

    interface MapLike {
        getElevation(
            options: GetElevationOptions,
            result?: GetElevationResult,
        ): GetElevationResult;
        getElevationFast(x: number, y: number): ElevationSample | undefined;
        traverseTiles(callback: (tile: Tile) => void): void;
    }

    Hierarchy (View Summary)

    Index

    Methods

    • Returns the elevation at the specified coordinates, without any coordinate conversion.

      Parameters

      • x: number

        The X coordinate of the location to sample, in the same coordinate system as this elevation provider.

      • y: number

        The Y coordinate of the location to sample, in the same coordinate system as this elevation provider.

      Returns ElevationSample | undefined