Skip to content

worldwind-ui API / worldwind-kit / GeocodeOptions

Interface: GeocodeOptions ​

Defined in: kit/src/geocode.ts:15

Properties ​

endpoint? ​

optional endpoint?: string

Defined in: kit/src/geocode.ts:17

A Nominatim-compatible search endpoint. Defaults to the public OpenStreetMap instance.


fetch? ​

optional fetch?: (input, init?) => Promise<Response>

Defined in: kit/src/geocode.ts:24

Injectable for tests or custom transports.

MDN Reference

Parameters ​

input ​

URL | RequestInfo

init? ​

RequestInit

Returns ​

Promise<Response>


language? ​

optional language?: string

Defined in: kit/src/geocode.ts:21

BCP 47 language tag for result names.


limit? ​

optional limit?: number

Defined in: kit/src/geocode.ts:19

Maximum results. Defaults to 5.


signal? ​

optional signal?: AbortSignal

Defined in: kit/src/geocode.ts:22

MIT licensed. Not affiliated with NASA; WorldWind is NASA's open-source virtual globe.