Skip to content

@urban-toolkit/autk-map


@urban-toolkit/autk-map / MapStyleShape

Interface: MapStyleShape ​

Defined in: autk-map/src/map-style.ts:39

Semantic color slots required by a map style.

Each key maps a renderer-facing semantic layer or feature family to a hex color literal. Runtime custom styles must provide every field defined by this interface.

Properties ​

background ​

background: `#${string}`

Defined in: autk-map/src/map-style.ts:40


buildings ​

buildings: `#${string}`

Defined in: autk-map/src/map-style.ts:45


parks ​

parks: `#${string}`

Defined in: autk-map/src/map-style.ts:42


points ​

points: `#${string}`

Defined in: autk-map/src/map-style.ts:46


polygons ​

polygons: `#${string}`

Defined in: autk-map/src/map-style.ts:48


polylines ​

polylines: `#${string}`

Defined in: autk-map/src/map-style.ts:47


roads ​

roads: `#${string}`

Defined in: autk-map/src/map-style.ts:44


surface ​

surface: `#${string}`

Defined in: autk-map/src/map-style.ts:41


water ​

water: `#${string}`

Defined in: autk-map/src/map-style.ts:43

Released under the MIT License.