Type Alias CoordinatesTransformOptions

Options that can be provided when transforming a coordinate from one CRS to another.

type CoordinatesTransformOptions = {
    apiKey?: string;
    operations?: number | number[];
    sourceCrs?: number;
    targetCrs?: number;
}
Index

Properties

apiKey?: string

Custom MapTiler Cloud API key to use instead of the one in global config

operations?: number | number[]

List of codes of operations

sourceCrs?: number

Source coordinate reference system (default: 4326)

targetCrs?: number

Target coordinate reference system (default: 4326)

Was this helpful?

Client JS
Reference
CoordinatesTransformOptions