Skip to main content

GeocodingResult

wemap-sdk-js


Interface: GeocodingResult

A single geocoding hit, normalised from the Wemap geocoding API.

Coordinates use WGS84; bbox (when present) is [west, south, east, north].

Properties

bbox?

optional bbox?: [number, number, number, number]

Optional bbox as [west, south, east, north].


id

id: string


language?

optional language?: string


latitude

latitude: number


longitude

longitude: number


placeName

placeName: string

Full display name / address.


placeType

placeType: string[]


relevance

relevance: number


text

text: string

Short label (e.g. place name).