Interface: TerrainTileSource
Defined in: autk-map/src/terrain-tile-source.ts:12
An elevation tile source as written by an application.
Extends
Properties
attribution
attribution:
TileAttribution
Defined in: autk-map/src/tile-source.ts:31
Credit shown on the map. Required: providers' terms ask for it. Give a string, a { text, url } entry that links to the provider's page, or a list of either. Links must be http or https URLs.
Inherited from
encoding
encoding:
DemEncoding
Defined in: autk-map/src/terrain-tile-source.ts:14
How heights are packed into the tile colors.
maxZoom?
optionalmaxZoom?:number
Defined in: autk-map/src/tile-source.ts:35
Largest zoom level the source serves. Defaults to 19.
Inherited from
minZoom?
optionalminZoom?:number
Defined in: autk-map/src/tile-source.ts:33
Smallest zoom level the source serves. Defaults to 0.
Inherited from
subdomains?
optionalsubdomains?:string| readonlystring[]
Defined in: autk-map/src/tile-source.ts:42
Subdomains substituted for {s}, as a string of one-letter names or an array. Required when the template uses {s}.
Inherited from
theme?
optionaltheme?:TileTheme
Defined in: autk-map/src/tile-source.ts:25
Client-side image treatment. Changes colors and contrast; retains baked-in labels and geometry.
Inherited from
tileSize?
optionaltileSize?:number
Defined in: autk-map/src/tile-source.ts:37
Tile edge in pixels. Defaults to 256.
Inherited from
urlTemplate
urlTemplate:
string
Defined in: autk-map/src/tile-source.ts:23
URL with {z}, {x} and {y} (or {reverseY}) placeholders, and optionally {s} for a subdomain.