Skip to content

Interface: MapFeature

Defined in: types/map.ts:8

Represents a processed map feature ready to be rendered on the Leaflet map. This is derived from the raw GeoJSON feature returned by the API.

Properties

Property Type Description Defined in
bounds LatLngBoundsExpression The geographical bounds of the rectangle [SouthWest, NorthEast] types/map.ts:16
id string The unique identifier for the feature (typically the geohash) types/map.ts:10
isRegional boolean Whether this is a user-subscribed zone types/map.ts:25
name string The display name of the zone (e.g., "Regional Zone u47") types/map.ts:13
riskCategory string The textual category of the risk (e.g., "High", "Low") types/map.ts:22
riskScore number The calculated fire risk probability (0-100) types/map.ts:19