Variable coordinatesConst

coordinates: {
    search: (
        query: string,
        options?: CoordinatesSearchOptions,
    ) => Promise<CoordinateSearchResult>;
    transform: (
        positions: Position | Position[],
        options?: CoordinatesTransformOptions,
    ) => Promise<CoordinateTransformResult>;
} = ...

The coordinate namespace contains asynchronous functions to call the MapTiler Coordinate API. The goal of the *Coordinate API is query information about spatial coordinate reference system (CRS) as well as to transform coordinates from one CRS to another.

Type Declaration

Was this helpful?

Client JS
Reference
coordinates