Skip to main content

GeocodingServiceOptions

wemap-sdk-js


Interface: GeocodingServiceOptions

Constructor / default options for GeocodingService.

Extends

Properties

baseUrl?

optional baseUrl?: string

Geocoding API base URL.

Default

'https://geocoding.getwemap.workers.dev'

bbox?

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

Limit results to a bounding box as [west, south, east, north] (Mapbox / WSEN order).

Inherited from

GeocodingSearchOptions.bbox


language?

optional language?: string

Preferred response language (e.g. en, fr).

Inherited from

GeocodingSearchOptions.language


region?

optional region?: string

ISO country code to bias/limit results (e.g. fr).

Inherited from

GeocodingSearchOptions.region