Interface TOutdoorViewOptions

Defines the options for initializing an Outdoor View. This is a union type that requires exclusive or logic, ensuring that an instance can either have headers or an authentication URL, but not both.

Note: It isn't permitted to use .headers and .authURL options simultaneously.

Hierarchy

  • TOutdoorViewOptions

Properties

attributionPosition?: "top-left" | "top-right" | "bottom-left" | "bottom-right"

The position on the map where the attribution should be displayed.

authURL?: string

The URL to obtain an authentication token. It isn't permitted to use .headers and .authURL options simultaneously.

customAttribution?: string | string[]

Custom text or an array of texts to be used for the map attribution.

headers?: {
    [key: string]: string | null;
}

An object containing HTTP headers for authentication purposes. It isn't permitted to use .headers and .authURL options simultaneously.

Type declaration

  • [key: string]: string | null
layersHiddenByGeometry?: string[]

Outdoor map layers which should be hidden under the indoor geometry.

Default

['building-top']
url?: string

The URL to the map style file.