Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface TileProviderOptions

Options to configure the Provider.

Hierarchy

Index

Properties

Properties

Optional attribution

Attribution information for data sources used by this provider.

Attributions are automatically displayed or hidden depending on whether the corresponding data is currently active or visible on the map — e.g., based on zoom level, layer visibility, or usage. This ensures that only active data providers are credited, as required by licensing.

Can be a simple string (displayed as static text), or an array of structured attribution entries that support clickable labels and optional tooltips.

example

// Simple attribution string attribution: "© Data Provider"

example

// Multiple detailed attributions attribution: [ { label: "© Elevation Provider", url: "https://elevation.example.com", title: "Elevation data source" }, { label: "Imagery © HERE Maps", url: "https://www.here.com", title: "Satellite imagery by HERE" } ]

Optional id

id: string

optional id to identify the provider.

Optional margin

margin: number

Tile margin of the provider.

Optional name

name: string

Name of the provider.

Generated using TypeDoc