diff --git a/assets/highlight.css b/assets/highlight.css index 5674cf3..ec4c7ed 100644 --- a/assets/highlight.css +++ b/assets/highlight.css @@ -1,22 +1,64 @@ :root { + --light-hl-0: #0000FF; + --dark-hl-0: #569CD6; + --light-hl-1: #000000; + --dark-hl-1: #D4D4D4; + --light-hl-2: #795E26; + --dark-hl-2: #DCDCAA; + --light-hl-3: #001080; + --dark-hl-3: #9CDCFE; + --light-hl-4: #A31515; + --dark-hl-4: #CE9178; + --light-hl-5: #098658; + --dark-hl-5: #B5CEA8; --light-code-background: #FFFFFF; --dark-code-background: #1E1E1E; } @media (prefers-color-scheme: light) { :root { + --hl-0: var(--light-hl-0); + --hl-1: var(--light-hl-1); + --hl-2: var(--light-hl-2); + --hl-3: var(--light-hl-3); + --hl-4: var(--light-hl-4); + --hl-5: var(--light-hl-5); --code-background: var(--light-code-background); } } @media (prefers-color-scheme: dark) { :root { + --hl-0: var(--dark-hl-0); + --hl-1: var(--dark-hl-1); + --hl-2: var(--dark-hl-2); + --hl-3: var(--dark-hl-3); + --hl-4: var(--dark-hl-4); + --hl-5: var(--dark-hl-5); --code-background: var(--dark-code-background); } } :root[data-theme='light'] { + --hl-0: var(--light-hl-0); + --hl-1: var(--light-hl-1); + --hl-2: var(--light-hl-2); + --hl-3: var(--light-hl-3); + --hl-4: var(--light-hl-4); + --hl-5: var(--light-hl-5); --code-background: var(--light-code-background); } :root[data-theme='dark'] { + --hl-0: var(--dark-hl-0); + --hl-1: var(--dark-hl-1); + --hl-2: var(--dark-hl-2); + --hl-3: var(--dark-hl-3); + --hl-4: var(--dark-hl-4); + --hl-5: var(--dark-hl-5); --code-background: var(--dark-code-background); } +.hl-0 { color: var(--hl-0); } +.hl-1 { color: var(--hl-1); } +.hl-2 { color: var(--hl-2); } +.hl-3 { color: var(--hl-3); } +.hl-4 { color: var(--hl-4); } +.hl-5 { color: var(--hl-5); } pre, code { background: var(--code-background); } diff --git a/assets/navigation.js b/assets/navigation.js index 5c309c0..bbb7c6e 100644 --- a/assets/navigation.js +++ b/assets/navigation.js @@ -1 +1 @@ -window.navigationData = "data:application/octet-stream;base64,H4sIAAAAAAAAA5XV0U6DMBQG4HfpNVE3t6nczSUaDUSj3i27OMDZ1qxrSWnnFrN3NzAUypa2XPOf76elwPyHKNwrEpJX+F69M0ixIAHJQa1JSLYi0wyL6+ba1VptGQnIhvKMhKOApGvKMomchPN/6oXnWjVKyqAoTKVKmNZgeH8M/okIYcnQjtQZGxNDHtFEotX5CzmgROxdTCL2NmSabSmfSoS3XFHBWxtNuUK5LJm22M2b9nA8admPQmcgD56ymba5MypThp6sEbapzUx1Ejz5y1N+PfVh6d1kzvl1xZCz8kD1LusM+rX1bvHQI1CR4C7ylLI6p92LQW5Qet7opRmPji8JvKBlul/P2ZytK4b8Oeq1mvMJp997JZenbD0fmCrgK+8Xu5u32zuUhb/cTtvcJwSl259ydchNq050kJuHu8F4eA7NBGOYlrVussm68AgOKC1gdd2FfAotU9tKTwEXU+6ssbwdSApJ549ep0zstu2AUpImuvM8l5pXO2Jg7agpTkbHxXHxC5m0vB5wCAAA" \ No newline at end of file +window.navigationData = "data:application/octet-stream;base64,H4sIAAAAAAAAA5XWQU/CMBgG4P/S86KCgLobkmg0WzTqjXD41hVoKO3StQgx/HezDV07SNud937Pu5ambP6DFNkrFKNX+F69M8CkRBEqQK1RjLYi14yU1+2zq7XaMhShDeU5ikcRwmvKckk4iuf/1AsvtGoVzKAsbaVO2NZgeH+M/omEwJIRN3LKuJgUioRmkjidv5AHysTex2Ri70Km+ZbyqSTwVigquLHRlCsilxVjit28bQ/HE8N+FDoHeQiU7bTLnVGJGQlkrbBLfRJYl4GomXWZ7Uh9ugL1y1NhPacD2LvJngvrSqFg1SHtXdYZDGvr3RKgJ6ASwX1kk3I6ze6lIDdEBr7opZmAji8JvKRVul/P2ZyrK4XiOem1mvMJr997JZenXD0fBCvgq+DLopt32zsiy3DZTDvvIQJKm38P6lB0bp8m0UFuHu4G4+E5NBOMEVzV+sk268MTOBDpAOvnPuRTaIldK20CPqbaWWt5O5AUss5XwillY7emA0pJmunO77nUvN4RCzOjtjgZHRfHxS8vhHoTxAgAAA==" \ No newline at end of file diff --git a/assets/search.js b/assets/search.js index f31d7da..af7d343 100644 --- a/assets/search.js +++ b/assets/search.js @@ -1 +1 @@ -window.searchData = "data:application/octet-stream;base64,H4sIAAAAAAAAA81dXW/cOLL9L/Jrj1ekvv02N7t7MRcJdrA7d1+MYKB0y7buyJLRH8nkBvnvC1KiVKSqWhRFG3kaT5pVPKxTrKIO2/K34Nh9OQV399+CP+r2ENzFu6Atn6vgLvif8svjr025r07BLrgcm+AueO4Ol6Y6/WX66Pbp/NwEu2DflKdTdQruguD7TvlKJ2fl+XysP13OdddO7h4u7V7+C3QIRyLed8FLeazasw5wmpMn6Tjp+/L8vmvH6er2XB0fxHg4Xz/IYSYW8ml9TXm2n+emH70012BCTrlmaTf96PVTwnj+s/pcHU/VP150GvHJ9cFb41u15aemOqyf82ayXFy8sT4CyrE81BeH1d+Mhu5AIBvv6uO+sSRDG7uVC6sAzGdcsX59ac5bDsFg7rzz6fBTffqpbp+qY32WaeIOaHFDYoCMfbkRkL5d9+eyfbTNEXP41jR5rpfCgc5409tZ7BFjdRSM8k83GNJuCwzIxX91l0N5/GrHhD54Kw/77tKej3XlMOsNtF0MhbFGCo7MXBcsytATkKNizgELtHWHw8MiYwkfEf29Ks+X44Tn/PVFhzIMcDkW4VO965qmkmewxUmnoR6mf19+rY70lPJjD9P8q7sc91fi2X++8ZQ5DbDb3bPxWzd4ud9Xp9Nv3R/VUsHFp77RHSzm83zBBLC6fbks9WgCkjL1B+ZYnS7N+V3Xnsu6Bcm3CtbciT+ATdk+XsrHpXJEIAPW/iCdqvK4f/pH+9vXl7p9dAM28+EP3nPdvq/ax/OTGzJo7g/UofrUXdp99deqKb+6ATNd+Myxr9XRrUDdjLYe80vWX0c8k7E/QA/d/nL6tatbx7Kl2fuDJdJBHCHcQAFrj9Q9dV/+KavhL3vXnnczd+IP4L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WsxGaNpx77hh0jCIuNOWzZWJa9ZwRsp1qdBKj2CLbPcWdwQTGdQnrMEc6MrDbsm6r2YwIghvizl5YfhGBwQE9Yt69wwhDdpxMZdO9OsDkKsM+UrPZBAOtAovNpxJ/D1VKKfimNloXBE309FFAuqe9BASDsHwR9do04FrAZBV7ON69Vw/V7KMre7uP37//h+hLtj3E78AAA=="; \ No newline at end of file diff --git a/classes/JawgPlaces.Input.html b/classes/JawgPlaces.Input.html index 85d8651..70aa95f 100644 --- a/classes/JawgPlaces.Input.html +++ b/classes/JawgPlaces.Input.html @@ -1,5 +1,5 @@ Input | @jawg/types

This class will help you to transform any input into search bar for geocoding.

-

Hierarchy

  • AbstractPlaces
    • Input

Constructors

Hierarchy

  • AbstractPlaces
    • Input

Constructors

Methods

Constructors

Methods

  • Close the result list.

    -

    Returns void

  • Clear created DOM elements and listeners. +

Constructors

Methods

  • Close the result list.

    +

    Returns void

  • Clear created DOM elements and listeners. This could be usefull when you recreate a JawgPlace object for the same input.

    -

    Returns void

  • Returns string

    The value of the <input>.

    -
  • Search a random text or lat/lon using Jawg Places. -All features are points with properties, more details on our documentation.

    -

    Parameters

    • text: string

      to search using Jawg Places

      -

    Returns Promise<FeatureCollection>

    promise with the feature collection received from Jawg Places

    -
  • Parameters

    • value: string

      The new value for the <input>.

      -

    Returns void

  • Returns string

    The value of the <input>.

    +
  • Parameters

    • value: string

      The new value for the <input>.

      +

    Returns void

  • Open the result list with the error message. This will trigger JawgPlacesOptions.onError.

    Parameters

    • error: any

      The error to show, can be a string or an object.

      -

    Returns void

  • Open the result list with elements from the FeatureCollection. We use the properties.label field of each features. +

Returns void

Generated using TypeDoc

\ No newline at end of file diff --git a/classes/JawgPlaces.Leaflet.html b/classes/JawgPlaces.Leaflet.html index 773dd5f..370c1be 100644 --- a/classes/JawgPlaces.Leaflet.html +++ b/classes/JawgPlaces.Leaflet.html @@ -1,5 +1,5 @@ Leaflet | @jawg/types

This class will help you to add or use search bar for geocoding with a Leaflet map.

-

Hierarchy

  • AbstractPlaces
    • Leaflet

Constructors

Hierarchy

  • AbstractPlaces
    • Leaflet

Constructors

Methods

Constructors

Methods

  • When Jawg Places is not used as a control within your map, you will need to call this function.

    -

    Parameters

Constructors

Methods

  • Close the result list.

    -

    Returns void

  • Close the result list.

    +

    Returns void

  • Clear created DOM elements and listeners. This could be usefull when you recreate a JawgPlace object for the same input.

    -

    Returns void

  • The current position of the control in the map.

    -

    Returns string

  • Returns string

    The value of the <input>.

    -
  • This is the function used by Leaflet when you add a L.Control. +

    Returns void

  • The current position of the control in the map.

    +

    Returns string

  • Returns string

    The value of the <input>.

    +
  • This is the function used by Leaflet when you add a L.Control. Adds the control to the given map.

    -

    Parameters

    Returns void

    the generated control container

    -
  • Search a random text or lat/lon using Jawg Places. -All features are points with properties, more details on our documentation.

    -

    Parameters

    • text: string

      to search using Jawg Places

      -

    Returns Promise<FeatureCollection>

    promise with the feature collection received from Jawg Places

    -
  • Parameters

    • value: string

      The new value for the <input>.

      -

    Returns void

  • Parameters

    • value: string

      The new value for the <input>.

      +

    Returns void

  • Open the result list with the error message. This will trigger JawgPlacesOptions.onError.

    Parameters

    • error: any

      The error to show, can be a string or an object.

      -

    Returns void

  • Open the result list with elements from the FeatureCollection. We use the properties.label field of each features. +

Returns void

Generated using TypeDoc

\ No newline at end of file diff --git a/classes/JawgPlaces.MapLibre.html b/classes/JawgPlaces.MapLibre.html index d200b09..2e77c99 100644 --- a/classes/JawgPlaces.MapLibre.html +++ b/classes/JawgPlaces.MapLibre.html @@ -1,5 +1,5 @@ MapLibre | @jawg/types

This class will help you to add or use search bar for geocoding with a MapLibre GL JS map.

-

Hierarchy (view full)

Constructors

Hierarchy (view full)

Constructors

Methods

Constructors

Methods

  • When Jawg Places is not used as a control within your map, you will need to call this function.

    -

    Parameters

Constructors

Methods

  • Close the result list.

    -

    Returns void

  • Close the result list.

    +

    Returns void

  • Clear created DOM elements and listeners. This could be usefull when you recreate a JawgPlace object for the same input.

    -

    Returns void

  • The default position of the control in the map.

    -

    Returns "top-left"

  • Returns string

    The value of the <input>.

    -
  • This is the function used by MapLibre and Mapbox when you add a +

    Returns void

  • The default position of the control in the map.

    +

    Returns "top-left"

  • Returns string

    The value of the <input>.

    +
  • Search a random text or lat/lon using Jawg Places. -All features are points with properties, more details on our documentation.

    -

    Parameters

    • text: string

      to search using Jawg Places

      -

    Returns Promise<FeatureCollection>

    promise with the feature collection received from Jawg Places

    -
  • Parameters

    • value: string

      The new value for the <input>.

      -

    Returns void

  • Parameters

    • value: string

      The new value for the <input>.

      +

    Returns void

  • Open the result list with the error message. This will trigger JawgPlacesOptions.onError.

    Parameters

    • error: any

      The error to show, can be a string or an object.

      -

    Returns void

  • Open the result list with elements from the FeatureCollection. We use the properties.label field of each features. +

Returns void

Generated using TypeDoc

\ No newline at end of file diff --git a/classes/JawgPlaces.Mapbox.html b/classes/JawgPlaces.Mapbox.html index 12b75df..43c7333 100644 --- a/classes/JawgPlaces.Mapbox.html +++ b/classes/JawgPlaces.Mapbox.html @@ -1,5 +1,5 @@ Mapbox | @jawg/types

This class will help you to add or use search bar for geocoding with a Mapbox GL JS map.

-

Hierarchy (view full)

Constructors

Hierarchy (view full)

Constructors

Methods

Constructors

Methods

  • When Jawg Places is not used as a control within your map, you will need to call this function.

    -

    Parameters

Constructors

Methods

  • Clear created DOM elements and listeners. This could be usefull when you recreate a JawgPlace object for the same input.

    -

    Returns void

  • Open the result list with elements from the FeatureCollection. We use the properties.label field of each features. +

Returns void

Generated using TypeDoc

\ No newline at end of file diff --git a/functions/JawgPlaces.attributions.html b/functions/JawgPlaces.attributions.html index 5c85a81..a482a90 100644 --- a/functions/JawgPlaces.attributions.html +++ b/functions/JawgPlaces.attributions.html @@ -1,5 +1,5 @@ attributions | @jawg/types
  • Full representation of corret Jawg Maps attributions.

    -

    Returns HTMLElement

Generated using TypeDoc

\ No newline at end of file diff --git a/interfaces/JawgPlaces.AdminAreaOptions.html b/interfaces/JawgPlaces.AdminAreaOptions.html index d7a4a28..5393081 100644 --- a/interfaces/JawgPlaces.AdminAreaOptions.html +++ b/interfaces/JawgPlaces.AdminAreaOptions.html @@ -1,11 +1,11 @@ AdminAreaOptions | @jawg/types

Interface AdminAreaOptions

Option to show administrative area when available.

-
interface AdminAreaOptions {
    fillColor?: string;
    outlineColor?: string;
    show: boolean;
}

Properties

interface AdminAreaOptions {
    fillColor?: string;
    outlineColor?: string;
    show: boolean;
}

Properties

fillColor?: string

Fill color for the polygon.

-
outlineColor?: string

Outline color for the polygon.

-
show: boolean

true to show administrative boundary when the result is a administrative area.

-

Generated using TypeDoc

\ No newline at end of file diff --git a/interfaces/JawgPlaces.BoudaryOptions.html b/interfaces/JawgPlaces.BoudaryOptions.html index 4019784..5159d6c 100644 --- a/interfaces/JawgPlaces.BoudaryOptions.html +++ b/interfaces/JawgPlaces.BoudaryOptions.html @@ -1,11 +1,15 @@ BoudaryOptions | @jawg/types

Interface BoudaryOptions

Set of options when you are looking for places in a particular region.

-
interface BoudaryOptions {
    circle: CircleOptions | (() => CircleOptions);
    countries: string | string[] | (() => string[]) | (() => string);
    rectangle: RectangleOptions | (() => RectangleOptions);
}

Properties

circle +
new JawgPlaces({
boundaries: {
countries: 'fra',
point: { lat: 0, lon: 0 },
gids: ['whosonfirst:locality:101751119']
}
}) +
+
interface BoudaryOptions {
    circle: CircleOptions | (() => CircleOptions);
    countries: string | string[] | (() => string[]) | (() => string);
    gids: string | string[] | (() => string[]) | (() => string);
    rectangle: RectangleOptions | (() => RectangleOptions);
}

Properties

circle: CircleOptions | (() => CircleOptions)

Search within a circular region. Circle can be static or dynamic with the function.

-

Type declaration

countries: string | string[] | (() => string[]) | (() => string)

Add a restriction by alpha-2 or alpha-3 ISO-3166 country code. Countries can be static or dynamic with the function.

-

Type declaration

    • (): string[]
    • Returns string[]

Type declaration

    • (): string
    • Returns string

rectangle: RectangleOptions | (() => RectangleOptions)

Search within a rectangular region. Rectangle can be static or dynamic with the function.

-

Type declaration

Generated using TypeDoc

\ No newline at end of file diff --git a/interfaces/JawgPlaces.CircleOptions.html b/interfaces/JawgPlaces.CircleOptions.html index 9b8c23b..17262f6 100644 --- a/interfaces/JawgPlaces.CircleOptions.html +++ b/interfaces/JawgPlaces.CircleOptions.html @@ -1,11 +1,11 @@ CircleOptions | @jawg/types

Interface CircleOptions

Representation of geographic coordinate using the spatial reference World Geodetic System (WSG84, also known as EPSG:4326).

-
interface CircleOptions {
    lat: number;
    lon: number;
    radius: number;
}

Hierarchy (view full)

Properties

lat +
interface CircleOptions {
    lat: number;
    lon: number;
    radius: number;
}

Hierarchy (view full)

Properties

Properties

lat: number

The latitude, geographic coordinate that specifies the north-south position of a point on the Earth's surface.

-
lon: number

The longitude, geographic coordinate that specifies the east-west position of a point on the Earth's surface.

-
radius: number

Radius over the point in meters.

-

Generated using TypeDoc

\ No newline at end of file diff --git a/interfaces/JawgPlaces.FocusOptions.html b/interfaces/JawgPlaces.FocusOptions.html new file mode 100644 index 0000000..f074e84 --- /dev/null +++ b/interfaces/JawgPlaces.FocusOptions.html @@ -0,0 +1,13 @@ +FocusOptions | @jawg/types

Interface FocusOptions

Set of options when you want to prioritize places from particular region.

+
new JawgPlaces({
focus: {
countries: 'fra',
point: { lat: 0, lon: 0 },
gids: ['whosonfirst:locality:101751119']
}
}) +
+
interface FocusOptions {
    countries: string | string[] | (() => string[]) | (() => string);
    gids: string | string[] | (() => string[]) | (() => string);
    point?: LatLon | (() => LatLon);
}

Properties

Properties

countries: string | string[] | (() => string[]) | (() => string)

Add a priorities by alpha-2 or alpha-3 ISO-3166 country code. Countries can be static or dynamic with the function.

+

Type declaration

    • (): string[]
    • Returns string[]

Type declaration

    • (): string
    • Returns string

gids: string | string[] | (() => string[]) | (() => string)

Add a priorities by Jawg GIDs. GIDs can be static or dynamic with the function.

+

Type declaration

    • (): string[]
    • Returns string[]

Type declaration

    • (): string
    • Returns string

point?: LatLon | (() => LatLon)

Sort results in part by their proximity to the given coordinate. Coordinates can be static or dynamic with the function.

+

Type declaration

Generated using TypeDoc

\ No newline at end of file diff --git a/interfaces/JawgPlaces.JawgPlacesInputOptions.html b/interfaces/JawgPlaces.JawgPlacesInputOptions.html index c6e1421..d7399da 100644 --- a/interfaces/JawgPlaces.JawgPlacesInputOptions.html +++ b/interfaces/JawgPlaces.JawgPlacesInputOptions.html @@ -1,5 +1,5 @@ JawgPlacesInputOptions | @jawg/types

Interface JawgPlacesInputOptions

Options for JawgPlaces.Input

-
interface JawgPlacesInputOptions {
    accessToken?: string;
    boundary?: BoudaryOptions;
    clearCross?: boolean;
    debounceDelay?: number;
    focusPoint?: LatLon | (() => LatLon);
    input: string | HTMLElement;
    language?: string | (() => string);
    layers?: string | string[] | (() => string) | (() => string[]);
    minLength?: number;
    onClear?: (() => void);
    onClick?: ((feature) => void);
    onClose?: (() => void);
    onError?: ((error) => void);
    onFeatures?: ((features) => void);
    resultContainer?: string | HTMLElement;
    reverse?: ReverseOptions;
    searchOnTyping?: boolean;
    showResultIcons?: boolean;
    size?: number;
    sources?: string | string[] | (() => string[]) | (() => string);
}

Hierarchy (view full)

Properties

interface JawgPlacesInputOptions {
    accessToken?: string;
    boundary?: BoudaryOptions;
    clearCross?: boolean;
    debounceDelay?: number;
    focusPoint?: LatLon | (() => LatLon);
    input: string | HTMLElement;
    language?: string | (() => string);
    layers?: string | string[] | (() => string) | (() => string[]);
    minLength?: number;
    onClear?: (() => void);
    onClick?: ((feature) => void);
    onClose?: (() => void);
    onError?: ((error) => void);
    onFeatures?: ((features) => void);
    resultContainer?: string | HTMLElement;
    reverse?: ReverseOptions;
    searchOnTyping?: boolean;
    showResultIcons?: boolean;
    size?: number;
    sources?: string | string[] | (() => string[]) | (() => string);
}

Hierarchy (view full)

Properties

accessToken?: string

Your personal access token, create your own on the Jawg Lab. This is filled automatically when you get the library with our CDN.

-
boundary?: BoudaryOptions

Set of options when you are looking for places in a particular region.

-
clearCross?: boolean

Add a clear cross in the right side of the input.

-
debounceDelay?: number

Set the number of milliseconds to wait before a search validation. +

boundary?: BoudaryOptions

Set of options when you are looking for places in a particular region.

+
clearCross?: boolean

Add a clear cross in the right side of the input.

+
debounceDelay?: number

Set the number of milliseconds to wait before a search validation. If you press Enter the search will be immediately validated. This option work only when searchOnTyping=true. Default value is 350.

-
focusPoint?: LatLon | (() => LatLon)

Sort results in part by their proximity to the given coordinate. Coordinates can be static or dynamic with the function.

-

Type declaration

input: string | HTMLElement

The <input> to transform into a geocoding search bar. +

focusPoint?: LatLon | (() => LatLon)

Type declaration

input: string | HTMLElement

The <input> to transform into a geocoding search bar. This can be either a id (e.g #my-input), class selector (e.g .my-input) or the HTMLElement. With some frameworks/UI libs such as React, you can't use the ref here.

-
language?: string | (() => string)

Return results in a specific language using BCP47 standard (e.g 'en', 'fr', 'de', ...). +

language?: string | (() => string)

Return results in a specific language using BCP47 standard (e.g 'en', 'fr', 'de', ...). By default, we use HTTP Header set by the browser and English when not present. Language can be static or dynamic with the function.

-

Type declaration

    • (): string
    • Returns string

layers?: string | string[] | (() => string) | (() => string[])

Filter the kind of place you want to find. Layers can be static or dynamic with the function.

-

Type declaration

    • (): string
    • Returns string

Type declaration

    • (): string[]
    • Returns string[]

minLength?: number

Set the minimum number of characters to trigger a geocoding request. +

Type declaration

    • (): string
    • Returns string

layers?: string | string[] | (() => string) | (() => string[])

Filter the kind of place you want to find. Layers can be static or dynamic with the function.

+

Type declaration

    • (): string
    • Returns string

Type declaration

    • (): string[]
    • Returns string[]

minLength?: number

Set the minimum number of characters to trigger a geocoding request. If you press Enter the search will be validated even if the length is not reached. This option work only when searchOnTyping=true. Default value is 0.

-
onClear?: (() => void)

Callback triggered when the input is empty.

+
onClear?: (() => void)

Callback triggered when the input is empty.

Type declaration

    • (): void
    • Callback triggered when the input is empty.

      -

      Returns void

onClick?: ((feature) => void)

Callback triggered when the user click on a result.

+

Returns void

onClick?: ((feature) => void)

Callback triggered when the user click on a result.

Type declaration

    • (feature): void
    • Callback triggered when the user click on a result.

      -

      Parameters

      • feature: Feature

        selected by the user

        -

      Returns void

Param: feature

selected by the user

-
onClose?: (() => void)

Callback triggered when the result list is closed/cleared.

+

Parameters

  • feature: Feature

    The feature selected by the user

    +

Returns void

Param: feature

The feature selected by the user

+
onClose?: (() => void)

Callback triggered when the result list is closed/cleared.

Type declaration

    • (): void
    • Callback triggered when the result list is closed/cleared.

      -

      Returns void

onError?: ((error) => void)

Callback triggered when Jawg Places API returns an error.

+

Returns void

onError?: ((error) => void)

Callback triggered when Jawg Places API returns an error.

Type declaration

    • (error): void
    • Callback triggered when Jawg Places API returns an error.

      -

      Parameters

      • error: any

      Returns void

onFeatures?: ((features) => void)

Callback triggered when Jawg Places API returns without error.

+

Parameters

  • error: any

Returns void

onFeatures?: ((features) => void)

Callback triggered when Jawg Places API returns without error.

Type declaration

    • (features): void
    • Callback triggered when Jawg Places API returns without error.

      -

      Parameters

      • features: Feature[]

        list of features returned by Jawg Places API

        -

      Returns void

Param: features

list of features returned by Jawg Places API

-
resultContainer?: string | HTMLElement

The custom <div> that will contain the geocoding results. +

Parameters

  • features: Feature[]

    The list of features returned by Jawg Places API

    +

Returns void

Param: features

The list of features returned by Jawg Places API

+
resultContainer?: string | HTMLElement

The custom <div> that will contain the geocoding results. By default the container is created by Jawg Places JS. With some frameworks/UI libs such as React, you can't use the ref here.

-
reverse?: ReverseOptions

Option to activate reverse geocoding withing the input. +

reverse?: ReverseOptions

Option to activate reverse geocoding withing the input. You can paste coordinates in the form {lat}/{lon} in the input. The separation can be either / (slash), , (comma) or (space).

-
searchOnTyping?: boolean

Set this to true to activate search on typing, this will also use autocomplete search. +

searchOnTyping?: boolean

Set this to true to activate search on typing, this will also use autocomplete search. Default value is false, you will need to press Enter to validate your search.

-
showResultIcons?: boolean

Show icon at the left each results.

-
size?: number

Set the default number of results. Default value is 10.

-
sources?: string | string[] | (() => string[]) | (() => string)

Filter the originating source of the data. Sources can be static or dynamic with the function.

-

Type declaration

    • (): string[]
    • Returns string[]

Type declaration

    • (): string
    • Returns string

Generated using TypeDoc

\ No newline at end of file diff --git a/interfaces/JawgPlaces.JawgPlacesLeafletOptions.html b/interfaces/JawgPlaces.JawgPlacesLeafletOptions.html index 44eeac0..755a138 100644 --- a/interfaces/JawgPlaces.JawgPlacesLeafletOptions.html +++ b/interfaces/JawgPlaces.JawgPlacesLeafletOptions.html @@ -1,5 +1,5 @@ JawgPlacesLeafletOptions | @jawg/types

Interface JawgPlacesLeafletOptions

Options for JawgPlaces.Leaflet

-
interface JawgPlacesLeafletOptions {
    L: __module;
    accessToken?: string;
    adminArea?: AdminAreaOptions;
    boundary?: BoudaryOptions;
    clearCross?: boolean;
    container?: string | HTMLElement;
    debounceDelay?: number;
    focusPoint?: LatLon | (() => LatLon);
    input?: string | HTMLElement;
    inputClasses?: string | string[];
    language?: string | (() => string);
    layers?: string | string[] | (() => string) | (() => string[]);
    marker?: LeafletMarkerOptions;
    minLength?: number;
    noResultsMessage?: string | false;
    onClear?: (() => void);
    onClick?: ((feature) => void);
    onClose?: (() => void);
    onError?: ((error) => void);
    onFeatures?: ((features) => void);
    placeholder?: string;
    position?: "topleft" | "topright" | "bottomleft" | "bottomright";
    resultContainer?: string | HTMLElement;
    reverse?: ReverseOptions;
    searchOnTyping?: boolean;
    showResultIcons?: boolean;
    size?: number;
    sources?: string | string[] | (() => string[]) | (() => string);
    transition?: LeafletTransitionOptions;
}

Hierarchy (view full)

Properties

L +
interface JawgPlacesLeafletOptions {
    L: __module;
    accessToken?: string;
    adminArea?: AdminAreaOptions;
    boundary?: BoudaryOptions;
    clearCross?: boolean;
    container?: string | HTMLElement;
    debounceDelay?: number;
    focusPoint?: LatLon | (() => LatLon);
    input?: string | HTMLElement;
    inputClasses?: string | string[];
    language?: string | (() => string);
    layers?: string | string[] | (() => string) | (() => string[]);
    marker?: LeafletMarkerOptions;
    minLength?: number;
    noResultsMessage?: string | false;
    onClear?: (() => void);
    onClick?: ((feature) => void);
    onClose?: (() => void);
    onError?: ((error) => void);
    onFeatures?: ((features) => void);
    placeholder?: string;
    position?: "topleft" | "topright" | "bottomleft" | "bottomright";
    resultContainer?: string | HTMLElement;
    reverse?: ReverseOptions;
    searchOnTyping?: boolean;
    showResultIcons?: boolean;
    size?: number;
    sources?: string | string[] | (() => string[]) | (() => string);
    transition?: LeafletTransitionOptions;
}

Hierarchy (view full)

Properties

Properties

L: __module

The Leaflet instance for marker creation

-
accessToken?: string

Your personal access token, create your own on the Jawg Lab. +

accessToken?: string

Your personal access token, create your own on the Jawg Lab. This is filled automatically when you get the library with our CDN.

-
adminArea?: AdminAreaOptions

Option to show administrative area when available.

-
boundary?: BoudaryOptions

Set of options when you are looking for places in a particular region.

-
clearCross?: boolean

Add a clear cross in the right side of the input.

-
container?: string | HTMLElement

The custom <div> that will contain the input and geocoding results when Places JS is used as Leaflet Control. +

adminArea?: AdminAreaOptions

Option to show administrative area when available.

+
boundary?: BoudaryOptions

Set of options when you are looking for places in a particular region.

+
clearCross?: boolean

Add a clear cross in the right side of the input.

+
container?: string | HTMLElement

The custom <div> that will contain the input and geocoding results when Places JS is used as Leaflet Control. By default this is generated by Jawg Places JS. With some frameworks/UI libs such as React, you can't use the ref here.

-
debounceDelay?: number

Set the number of milliseconds to wait before a search validation. +

debounceDelay?: number

Set the number of milliseconds to wait before a search validation. If you press Enter the search will be immediately validated. This option work only when searchOnTyping=true. Default value is 350.

-
focusPoint?: LatLon | (() => LatLon)

Sort results in part by their proximity to the given coordinate. Coordinates can be static or dynamic with the function.

-

Type declaration

input?: string | HTMLElement

The <input> to transform into a geocoding search bar. +

focusPoint?: LatLon | (() => LatLon)

Type declaration

input?: string | HTMLElement

The <input> to transform into a geocoding search bar. This can be either a id (e.g #my-input), class selector (e.g .my-input) or the HTMLElement. With some frameworks/UI libs such as React, you can't use the ref here.

-
inputClasses?: string | string[]

Class to add to the input when it's generated by the library.

-
language?: string | (() => string)

Return results in a specific language using BCP47 standard (e.g 'en', 'fr', 'de', ...). +

inputClasses?: string | string[]

Class to add to the input when it's generated by the library.

+
language?: string | (() => string)

Return results in a specific language using BCP47 standard (e.g 'en', 'fr', 'de', ...). By default, we use HTTP Header set by the browser and English when not present. Language can be static or dynamic with the function.

-

Type declaration

    • (): string
    • Returns string

layers?: string | string[] | (() => string) | (() => string[])

Filter the kind of place you want to find. Layers can be static or dynamic with the function.

-

Type declaration

    • (): string
    • Returns string

Type declaration

    • (): string[]
    • Returns string[]

Option to configure result markers on the map.

-
minLength?: number

Set the minimum number of characters to trigger a geocoding request. +

Type declaration

    • (): string
    • Returns string

layers?: string | string[] | (() => string) | (() => string[])

Filter the kind of place you want to find. Layers can be static or dynamic with the function.

+

Type declaration

    • (): string
    • Returns string

Type declaration

    • (): string[]
    • Returns string[]

Option to configure result markers on the map.

+
minLength?: number

Set the minimum number of characters to trigger a geocoding request. If you press Enter the search will be validated even if the length is not reached. This option work only when searchOnTyping=true. Default value is 0.

-
noResultsMessage?: string | false

Set a custom message when no results are found. This can be disabled.

-
onClear?: (() => void)

Callback triggered when the input is empty.

+
noResultsMessage?: string | false

Set a custom message when no results are found. This can be disabled.

+
onClear?: (() => void)

Callback triggered when the input is empty.

Type declaration

    • (): void
    • Callback triggered when the input is empty.

      -

      Returns void

onClick?: ((feature) => void)

Callback triggered when the user click on a result.

+

Returns void

onClick?: ((feature) => void)

Callback triggered when the user click on a result.

Type declaration

    • (feature): void
    • Callback triggered when the user click on a result.

      -

      Parameters

      • feature: Feature

        selected by the user

        -

      Returns void

Param: feature

selected by the user

-
onClose?: (() => void)

Callback triggered when the result list is closed/cleared.

+

Parameters

  • feature: Feature

    The feature selected by the user

    +

Returns void

Param: feature

The feature selected by the user

+
onClose?: (() => void)

Callback triggered when the result list is closed/cleared.

Type declaration

    • (): void
    • Callback triggered when the result list is closed/cleared.

      -

      Returns void

onError?: ((error) => void)

Callback triggered when Jawg Places API returns an error.

+

Returns void

onError?: ((error) => void)

Callback triggered when Jawg Places API returns an error.

Type declaration

onFeatures?: ((features) => void)

Callback triggered when Jawg Places API returns without error.

+

Parameters

Returns void

onFeatures?: ((features) => void)

Callback triggered when Jawg Places API returns without error.

Type declaration

Param: features

list of features returned by Jawg Places API

-
placeholder?: string

Placeholder text to add when the input in generated by the library.

-
position?: "topleft" | "topright" | "bottomleft" | "bottomright"

Position of the input on the map.

-
resultContainer?: string | HTMLElement

The custom <div> that will contain the geocoding results. +

Parameters

Returns void

Param: features

The list of features returned by Jawg Places API

+
placeholder?: string

Placeholder text to add when the input in generated by the library.

+
position?: "topleft" | "topright" | "bottomleft" | "bottomright"

Position of the input on the map.

+
resultContainer?: string | HTMLElement

The custom <div> that will contain the geocoding results. By default the container is created by Jawg Places JS. With some frameworks/UI libs such as React, you can't use the ref here.

-
reverse?: ReverseOptions

Option to activate reverse geocoding withing the input. +

reverse?: ReverseOptions

Option to activate reverse geocoding withing the input. You can paste coordinates in the form {lat}/{lon} in the input. The separation can be either / (slash), , (comma) or (space).

-
searchOnTyping?: boolean

Set this to true to activate search on typing, this will also use autocomplete search. +

searchOnTyping?: boolean

Set this to true to activate search on typing, this will also use autocomplete search. Default value is false, you will need to press Enter to validate your search.

-
showResultIcons?: boolean

Show icon at the left each results.

-
size?: number

Set the default number of results. Default value is 10.

-
sources?: string | string[] | (() => string[]) | (() => string)

Filter the originating source of the data. Sources can be static or dynamic with the function.

-

Type declaration

Type declaration

transition?: LeafletTransitionOptions

Option to configure transition on result selection.

-

Generated using TypeDoc

\ No newline at end of file diff --git a/interfaces/JawgPlaces.JawgPlacesMaplibreOptions.html b/interfaces/JawgPlaces.JawgPlacesMaplibreOptions.html index c6de85d..d9cc33f 100644 --- a/interfaces/JawgPlaces.JawgPlacesMaplibreOptions.html +++ b/interfaces/JawgPlaces.JawgPlacesMaplibreOptions.html @@ -1,5 +1,5 @@ JawgPlacesMaplibreOptions | @jawg/types

Interface JawgPlacesMaplibreOptions

interface JawgPlacesMaplibreOptions {
    accessToken?: string;
    adminArea?: AdminAreaOptions;
    boundary?: BoudaryOptions;
    clearCross?: boolean;
    container?: string | HTMLElement;
    debounceDelay?: number;
    focusPoint?: LatLon | (() => LatLon);
    input?: string | HTMLElement;
    inputClasses?: string | string[];
    language?: string | (() => string);
    layers?: string | string[] | (() => string) | (() => string[]);
    marker?: MapGLMarkerOptions;
    minLength?: number;
    noResultsMessage?: string | false;
    onClear?: (() => void);
    onClick?: ((feature) => void);
    onClose?: (() => void);
    onError?: ((error) => void);
    onFeatures?: ((features) => void);
    placeholder?: string;
    resultContainer?: string | HTMLElement;
    reverse?: ReverseOptions;
    searchOnTyping?: boolean;
    showResultIcons?: boolean;
    size?: number;
    sources?: string | string[] | (() => string[]) | (() => string);
    transition?: MapGLTransitionOptions;
}

Hierarchy (view full)

Properties

interface JawgPlacesMaplibreOptions {
    accessToken?: string;
    adminArea?: AdminAreaOptions;
    boundary?: BoudaryOptions;
    clearCross?: boolean;
    container?: string | HTMLElement;
    debounceDelay?: number;
    focusPoint?: LatLon | (() => LatLon);
    input?: string | HTMLElement;
    inputClasses?: string | string[];
    language?: string | (() => string);
    layers?: string | string[] | (() => string) | (() => string[]);
    marker?: MapGLMarkerOptions;
    minLength?: number;
    noResultsMessage?: string | false;
    onClear?: (() => void);
    onClick?: ((feature) => void);
    onClose?: (() => void);
    onError?: ((error) => void);
    onFeatures?: ((features) => void);
    placeholder?: string;
    resultContainer?: string | HTMLElement;
    reverse?: ReverseOptions;
    searchOnTyping?: boolean;
    showResultIcons?: boolean;
    size?: number;
    sources?: string | string[] | (() => string[]) | (() => string);
    transition?: MapGLTransitionOptions;
}

Hierarchy (view full)

Properties

accessToken?: string

Your personal access token, create your own on the Jawg Lab. This is filled automatically when you get the library with our CDN.

-
adminArea?: AdminAreaOptions

Option to show administrative area when available.

-
boundary?: BoudaryOptions

Set of options when you are looking for places in a particular region.

-
clearCross?: boolean

Add a clear cross in the right side of the input.

-
container?: string | HTMLElement

The custom <div> that will contain the input and geocoding results when Places JS is used as MapLibre Control. +

adminArea?: AdminAreaOptions

Option to show administrative area when available.

+
boundary?: BoudaryOptions

Set of options when you are looking for places in a particular region.

+
clearCross?: boolean

Add a clear cross in the right side of the input.

+
container?: string | HTMLElement

The custom <div> that will contain the input and geocoding results when Places JS is used as MapLibre Control. By default this is generated by Jawg Places JS. With some frameworks/UI libs such as React, you can't use the ref here.

-
debounceDelay?: number

Set the number of milliseconds to wait before a search validation. +

debounceDelay?: number

Set the number of milliseconds to wait before a search validation. If you press Enter the search will be immediately validated. This option work only when searchOnTyping=true. Default value is 350.

-
focusPoint?: LatLon | (() => LatLon)

Sort results in part by their proximity to the given coordinate. Coordinates can be static or dynamic with the function.

-

Type declaration

input?: string | HTMLElement

The <input> to transform into a geocoding search bar. +

focusPoint?: LatLon | (() => LatLon)

Type declaration

input?: string | HTMLElement

The <input> to transform into a geocoding search bar. This can be either a id (e.g #my-input), class selector (e.g .my-input) or the HTMLElement. With some frameworks/UI libs such as React, you can't use the ref here.

-
inputClasses?: string | string[]

Class to add to the input when it's generated by the library.

-
language?: string | (() => string)

Return results in a specific language using BCP47 standard (e.g 'en', 'fr', 'de', ...). +

inputClasses?: string | string[]

Class to add to the input when it's generated by the library.

+
language?: string | (() => string)

Return results in a specific language using BCP47 standard (e.g 'en', 'fr', 'de', ...). By default, we use HTTP Header set by the browser and English when not present. Language can be static or dynamic with the function.

-

Type declaration

    • (): string
    • Returns string

layers?: string | string[] | (() => string) | (() => string[])

Filter the kind of place you want to find. Layers can be static or dynamic with the function.

-

Type declaration

    • (): string
    • Returns string

Type declaration

    • (): string[]
    • Returns string[]

Option to configure result markers on the map.

-
minLength?: number

Set the minimum number of characters to trigger a geocoding request. +

Type declaration

    • (): string
    • Returns string

layers?: string | string[] | (() => string) | (() => string[])

Filter the kind of place you want to find. Layers can be static or dynamic with the function.

+

Type declaration

    • (): string
    • Returns string

Type declaration

    • (): string[]
    • Returns string[]

Option to configure result markers on the map.

+
minLength?: number

Set the minimum number of characters to trigger a geocoding request. If you press Enter the search will be validated even if the length is not reached. This option work only when searchOnTyping=true. Default value is 0.

-
noResultsMessage?: string | false

Set a custom message when no results are found. This can be disabled.

-
onClear?: (() => void)

Callback triggered when the input is empty.

+
noResultsMessage?: string | false

Set a custom message when no results are found. This can be disabled.

+
onClear?: (() => void)

Callback triggered when the input is empty.

Type declaration

    • (): void
    • Callback triggered when the input is empty.

      -

      Returns void

onClick?: ((feature) => void)

Callback triggered when the user click on a result.

+

Returns void

onClick?: ((feature) => void)

Callback triggered when the user click on a result.

Type declaration

    • (feature): void
    • Callback triggered when the user click on a result.

      -

      Parameters

      • feature: Feature

        selected by the user

        -

      Returns void

Param: feature

selected by the user

-
onClose?: (() => void)

Callback triggered when the result list is closed/cleared.

+

Parameters

  • feature: Feature

    The feature selected by the user

    +

Returns void

Param: feature

The feature selected by the user

+
onClose?: (() => void)

Callback triggered when the result list is closed/cleared.

Type declaration

    • (): void
    • Callback triggered when the result list is closed/cleared.

      -

      Returns void

onError?: ((error) => void)

Callback triggered when Jawg Places API returns an error.

+

Returns void

onError?: ((error) => void)

Callback triggered when Jawg Places API returns an error.

Type declaration

onFeatures?: ((features) => void)

Callback triggered when Jawg Places API returns without error.

+

Parameters

Returns void

onFeatures?: ((features) => void)

Callback triggered when Jawg Places API returns without error.

Type declaration

Param: features

list of features returned by Jawg Places API

-
placeholder?: string

Placeholder text to add when the input in generated by the library.

-
resultContainer?: string | HTMLElement

The custom <div> that will contain the geocoding results. +

Parameters

Returns void

Param: features

The list of features returned by Jawg Places API

+
placeholder?: string

Placeholder text to add when the input in generated by the library.

+
resultContainer?: string | HTMLElement

The custom <div> that will contain the geocoding results. By default the container is created by Jawg Places JS. With some frameworks/UI libs such as React, you can't use the ref here.

-
reverse?: ReverseOptions

Option to activate reverse geocoding withing the input. +

reverse?: ReverseOptions

Option to activate reverse geocoding withing the input. You can paste coordinates in the form {lat}/{lon} in the input. The separation can be either / (slash), , (comma) or (space).

-
searchOnTyping?: boolean

Set this to true to activate search on typing, this will also use autocomplete search. +

searchOnTyping?: boolean

Set this to true to activate search on typing, this will also use autocomplete search. Default value is false, you will need to press Enter to validate your search.

-
showResultIcons?: boolean

Show icon at the left each results.

-
size?: number

Set the default number of results. Default value is 10.

-
sources?: string | string[] | (() => string[]) | (() => string)

Filter the originating source of the data. Sources can be static or dynamic with the function.

-

Type declaration

Type declaration

transition?: MapGLTransitionOptions

Option to configure transition on result selection.

-

Generated using TypeDoc

\ No newline at end of file diff --git a/interfaces/JawgPlaces.JawgPlacesOptions.html b/interfaces/JawgPlaces.JawgPlacesOptions.html index df4580a..9eaef3e 100644 --- a/interfaces/JawgPlaces.JawgPlacesOptions.html +++ b/interfaces/JawgPlaces.JawgPlacesOptions.html @@ -1,5 +1,7 @@ JawgPlacesOptions | @jawg/types

Interface JawgPlacesOptions

Basic options for Places JS.

-
interface JawgPlacesOptions {
    accessToken?: string;
    boundary?: BoudaryOptions;
    clearCross?: boolean;
    debounceDelay?: number;
    focusPoint?: LatLon | (() => LatLon);
    input?: string | HTMLElement;
    language?: string | (() => string);
    layers?: string | string[] | (() => string) | (() => string[]);
    minLength?: number;
    onClear?: (() => void);
    onClick?: ((feature) => void);
    onClose?: (() => void);
    onError?: ((error) => void);
    onFeatures?: ((features) => void);
    resultContainer?: string | HTMLElement;
    reverse?: ReverseOptions;
    searchOnTyping?: boolean;
    showResultIcons?: boolean;
    size?: number;
    sources?: string | string[] | (() => string[]) | (() => string);
}

Hierarchy (view full)

Properties

accessToken? +
new JawgPlaces({
accessToken: '<Access-Token>',
input: '#my-input'
}) +
+
interface JawgPlacesOptions {
    accessToken?: string;
    boundary?: BoudaryOptions;
    clearCross?: boolean;
    debounceDelay?: number;
    focusPoint?: LatLon | (() => LatLon);
    input?: string | HTMLElement;
    language?: string | (() => string);
    layers?: string | string[] | (() => string) | (() => string[]);
    minLength?: number;
    onClear?: (() => void);
    onClick?: ((feature) => void);
    onClose?: (() => void);
    onError?: ((error) => void);
    onFeatures?: ((features) => void);
    resultContainer?: string | HTMLElement;
    reverse?: ReverseOptions;
    searchOnTyping?: boolean;
    showResultIcons?: boolean;
    size?: number;
    sources?: string | string[] | (() => string[]) | (() => string);
}

Hierarchy (view full)

Properties

accessToken?: string

Your personal access token, create your own on the Jawg Lab. This is filled automatically when you get the library with our CDN.

-
boundary?: BoudaryOptions

Set of options when you are looking for places in a particular region.

-
clearCross?: boolean

Add a clear cross in the right side of the input.

-
debounceDelay?: number

Set the number of milliseconds to wait before a search validation. +

boundary?: BoudaryOptions

Set of options when you are looking for places in a particular region.

+
clearCross?: boolean

Add a clear cross in the right side of the input.

+
debounceDelay?: number

Set the number of milliseconds to wait before a search validation. If you press Enter the search will be immediately validated. This option work only when searchOnTyping=true. Default value is 350.

-
focusPoint?: LatLon | (() => LatLon)

Sort results in part by their proximity to the given coordinate. Coordinates can be static or dynamic with the function.

-

Type declaration

input?: string | HTMLElement

The <input> to transform into a geocoding search bar. +

focusPoint?: LatLon | (() => LatLon)

Type declaration

input?: string | HTMLElement

The <input> to transform into a geocoding search bar. This can be either a id (e.g #my-input), class selector (e.g .my-input) or the HTMLElement. With some frameworks/UI libs such as React, you can't use the ref here.

-
language?: string | (() => string)

Return results in a specific language using BCP47 standard (e.g 'en', 'fr', 'de', ...). +

language?: string | (() => string)

Return results in a specific language using BCP47 standard (e.g 'en', 'fr', 'de', ...). By default, we use HTTP Header set by the browser and English when not present. Language can be static or dynamic with the function.

-

Type declaration

    • (): string
    • Returns string

layers?: string | string[] | (() => string) | (() => string[])

Filter the kind of place you want to find. Layers can be static or dynamic with the function.

-

Type declaration

    • (): string
    • Returns string

Type declaration

    • (): string[]
    • Returns string[]

minLength?: number

Set the minimum number of characters to trigger a geocoding request. +

Type declaration

    • (): string
    • Returns string

layers?: string | string[] | (() => string) | (() => string[])

Filter the kind of place you want to find. Layers can be static or dynamic with the function.

+

Type declaration

    • (): string
    • Returns string

Type declaration

    • (): string[]
    • Returns string[]

minLength?: number

Set the minimum number of characters to trigger a geocoding request. If you press Enter the search will be validated even if the length is not reached. This option work only when searchOnTyping=true. Default value is 0.

-
onClear?: (() => void)

Callback triggered when the input is empty.

+
onClear?: (() => void)

Callback triggered when the input is empty.

Type declaration

    • (): void
    • Callback triggered when the input is empty.

      -

      Returns void

onClick?: ((feature) => void)

Callback triggered when the user click on a result.

+

Returns void

onClick?: ((feature) => void)

Callback triggered when the user click on a result.

Type declaration

    • (feature): void
    • Callback triggered when the user click on a result.

      -

      Parameters

      • feature: Feature

        selected by the user

        -

      Returns void

Param: feature

selected by the user

-
onClose?: (() => void)

Callback triggered when the result list is closed/cleared.

+

Parameters

  • feature: Feature

    The feature selected by the user

    +

Returns void

Param: feature

The feature selected by the user

+
onClose?: (() => void)

Callback triggered when the result list is closed/cleared.

Type declaration

    • (): void
    • Callback triggered when the result list is closed/cleared.

      -

      Returns void

onError?: ((error) => void)

Callback triggered when Jawg Places API returns an error.

+

Returns void

onError?: ((error) => void)

Callback triggered when Jawg Places API returns an error.

Type declaration

onFeatures?: ((features) => void)

Callback triggered when Jawg Places API returns without error.

+

Parameters

Returns void

onFeatures?: ((features) => void)

Callback triggered when Jawg Places API returns without error.

Type declaration

Param: features

list of features returned by Jawg Places API

-
resultContainer?: string | HTMLElement

The custom <div> that will contain the geocoding results. +

Parameters

Returns void

Param: features

The list of features returned by Jawg Places API

+
resultContainer?: string | HTMLElement

The custom <div> that will contain the geocoding results. By default the container is created by Jawg Places JS. With some frameworks/UI libs such as React, you can't use the ref here.

-
reverse?: ReverseOptions

Option to activate reverse geocoding withing the input. +

reverse?: ReverseOptions

Option to activate reverse geocoding withing the input. You can paste coordinates in the form {lat}/{lon} in the input. The separation can be either / (slash), , (comma) or (space).

-
searchOnTyping?: boolean

Set this to true to activate search on typing, this will also use autocomplete search. +

searchOnTyping?: boolean

Set this to true to activate search on typing, this will also use autocomplete search. Default value is false, you will need to press Enter to validate your search.

-
showResultIcons?: boolean

Show icon at the left each results.

-
size?: number

Set the default number of results. Default value is 10.

-
sources?: string | string[] | (() => string[]) | (() => string)

Filter the originating source of the data. Sources can be static or dynamic with the function.

-

Type declaration

Type declaration

Generated using TypeDoc

\ No newline at end of file diff --git a/interfaces/JawgPlaces.LatLon.html b/interfaces/JawgPlaces.LatLon.html index 13f969d..2f5c364 100644 --- a/interfaces/JawgPlaces.LatLon.html +++ b/interfaces/JawgPlaces.LatLon.html @@ -1,9 +1,9 @@ LatLon | @jawg/types

Representation of geographic coordinate using the spatial reference World Geodetic System (WSG84, also known as EPSG:4326).

-
interface LatLon {
    lat: number;
    lon: number;
}

Hierarchy (view full)

Properties

lat +
interface LatLon {
    lat: number;
    lon: number;
}

Hierarchy (view full)

Properties

Properties

lat: number

The latitude, geographic coordinate that specifies the north-south position of a point on the Earth's surface.

-
lon: number

The longitude, geographic coordinate that specifies the east-west position of a point on the Earth's surface.

-

Generated using TypeDoc

\ No newline at end of file diff --git a/interfaces/JawgPlaces.LeafletMarkerOptions.html b/interfaces/JawgPlaces.LeafletMarkerOptions.html index b22188e..d299b29 100644 --- a/interfaces/JawgPlaces.LeafletMarkerOptions.html +++ b/interfaces/JawgPlaces.LeafletMarkerOptions.html @@ -1,9 +1,9 @@ LeafletMarkerOptions | @jawg/types

Interface LeafletMarkerOptions

Option for Leaflet markers.

-
interface LeafletMarkerOptions {
    icon?: Icon<IconOptions>;
    show: boolean | "all";
}

Properties

interface LeafletMarkerOptions {
    icon?: Icon<IconOptions>;
    show: boolean | "all";
}

Properties

Properties

icon?: Icon<IconOptions>

Marker to use for results.

-
show: boolean | "all"

true to show the result marker, all to show all results and false to hide markers.

-

Generated using TypeDoc

\ No newline at end of file diff --git a/interfaces/JawgPlaces.LeafletTransitionOptions.html b/interfaces/JawgPlaces.LeafletTransitionOptions.html index 0cdb0e9..b29b5d9 100644 --- a/interfaces/JawgPlaces.LeafletTransitionOptions.html +++ b/interfaces/JawgPlaces.LeafletTransitionOptions.html @@ -1,10 +1,10 @@ LeafletTransitionOptions | @jawg/types

Interface LeafletTransitionOptions

Option for transition when the user click on a result on Leaflet.

-
interface LeafletTransitionOptions {
    type?: "none" | "hybrid" | "fly" | "jump";
}

Hierarchy (view full)

Properties

interface LeafletTransitionOptions {
    type?: "none" | "hybrid" | "fly" | "jump";
}

Hierarchy (view full)

Properties

Properties

type?: "none" | "hybrid" | "fly" | "jump"

Type of camera move on result selection. jump: change the position of the camera without animation fly: animating camera transition along curve that evokes flight hybrid: use fly when the camera is near the point and jump otherwise

-

Generated using TypeDoc

\ No newline at end of file diff --git a/interfaces/JawgPlaces.MapGLMarkerOptions.html b/interfaces/JawgPlaces.MapGLMarkerOptions.html index 67c5ba9..1562326 100644 --- a/interfaces/JawgPlaces.MapGLMarkerOptions.html +++ b/interfaces/JawgPlaces.MapGLMarkerOptions.html @@ -1,13 +1,13 @@ MapGLMarkerOptions | @jawg/types

Interface MapGLMarkerOptions

Option for MapLibre and Mapbox markers.

-
interface MapGLMarkerOptions {
    anchor?: "center" | "left" | "top" | "bottom" | "right" | "top-left" | "top-right" | "bottom-left" | "bottom-right";
    icon?: string;
    iconUrl?: string;
    show: boolean | "all";
}

Properties

interface MapGLMarkerOptions {
    anchor?: "center" | "left" | "top" | "bottom" | "right" | "top-left" | "top-right" | "bottom-left" | "bottom-right";
    icon?: string;
    iconUrl?: string;
    show: boolean | "all";
}

Properties

anchor?: "center" | "left" | "top" | "bottom" | "right" | "top-left" | "top-right" | "bottom-left" | "bottom-right"

Anchor for the marker.

-
icon?: string

Name of the marker from your sprites.

-
iconUrl?: string

Use a custom marker with a URL. The response must be a PNG image.

-
show: boolean | "all"

true to show the result marker, all to show all results and false to hide markers.

-

Generated using TypeDoc

\ No newline at end of file diff --git a/interfaces/JawgPlaces.MapGLTransitionOptions.html b/interfaces/JawgPlaces.MapGLTransitionOptions.html index 2976cf8..9c5a70b 100644 --- a/interfaces/JawgPlaces.MapGLTransitionOptions.html +++ b/interfaces/JawgPlaces.MapGLTransitionOptions.html @@ -1,14 +1,14 @@ MapGLTransitionOptions | @jawg/types

Interface MapGLTransitionOptions

Option for transition when the user click on a result on MapLibre or Mapbox.

-
interface MapGLTransitionOptions {
    flyCurve?: number;
    flySpeed?: number;
    type?: "none" | "hybrid" | "fly" | "jump";
}

Hierarchy (view full)

Properties

interface MapGLTransitionOptions {
    flyCurve?: number;
    flySpeed?: number;
    type?: "none" | "hybrid" | "fly" | "jump";
}

Hierarchy (view full)

Properties

flyCurve?: number

The zooming "curve" that will occur along the flight path.

-
flySpeed?: number

The average speed of the animation defined in relation to curve.

-
type?: "none" | "hybrid" | "fly" | "jump"

Type of camera move on result selection. +

flySpeed?: number

The average speed of the animation defined in relation to curve.

+
type?: "none" | "hybrid" | "fly" | "jump"

Type of camera move on result selection. jump: change the position of the camera without animation fly: animating camera transition along curve that evokes flight hybrid: use fly when the camera is near the point and jump otherwise

-

Generated using TypeDoc

\ No newline at end of file diff --git a/interfaces/JawgPlaces.RectangleOptions.html b/interfaces/JawgPlaces.RectangleOptions.html index 23e0e7c..2bd8395 100644 --- a/interfaces/JawgPlaces.RectangleOptions.html +++ b/interfaces/JawgPlaces.RectangleOptions.html @@ -1,9 +1,9 @@ RectangleOptions | @jawg/types

Interface RectangleOptions

Options to search within a rectangular region.

-
interface RectangleOptions {
    max: LatLon;
    min: LatLon;
}

Properties

max +
interface RectangleOptions {
    max: LatLon;
    min: LatLon;
}

Properties

Properties

max: LatLon

The maximum latitude and longitude of the rectangle.

-
min: LatLon

The minimum latitude and logitude of the rectangle.

-

Generated using TypeDoc

\ No newline at end of file diff --git a/interfaces/JawgPlaces.ReverseOptions.html b/interfaces/JawgPlaces.ReverseOptions.html index 7bf780f..35f6e6a 100644 --- a/interfaces/JawgPlaces.ReverseOptions.html +++ b/interfaces/JawgPlaces.ReverseOptions.html @@ -1,10 +1,13 @@ ReverseOptions | @jawg/types

Interface ReverseOptions

Option to activate reverse geocoding withing the input. You can paste coordinates in the form {lat}/{lon} in the input. The separation can be either / (slash), , (comma) or (space).

-
interface ReverseOptions {
    enabled: boolean;
    radius?: number;
}

Properties

enabled +
new JawgPlaces({
reverse: {
enabled: true,
radius: 50
}
}) +
+
interface ReverseOptions {
    enabled: boolean;
    radius?: number;
}

Properties

Properties

enabled: boolean
radius?: number

Radius over the point in meters.

-

Generated using TypeDoc

\ No newline at end of file diff --git a/modules/JawgPlaces.html b/modules/JawgPlaces.html index ac2eb6a..0416a5f 100644 --- a/modules/JawgPlaces.html +++ b/modules/JawgPlaces.html @@ -1,10 +1,13 @@ -JawgPlaces | @jawg/types

Namespace JawgPlaces

Index

Classes

Input +JawgPlaces | @jawg/types

Namespace JawgPlaces

Welcome to Jawg Places type documentation. +Checkout our examples on our documentation website and the source code on GitHub.

+

Index

Classes

Interfaces

AdminAreaOptions BoudaryOptions CircleOptions +FocusOptions JawgPlacesInputOptions JawgPlacesLeafletOptions JawgPlacesMaplibreOptions diff --git a/types/JawgPlaces.Feature.html b/types/JawgPlaces.Feature.html index 55666ca..b3c4b26 100644 --- a/types/JawgPlaces.Feature.html +++ b/types/JawgPlaces.Feature.html @@ -1,5 +1,5 @@ Feature | @jawg/types
Feature: GeoJSON.Feature<GeoJSON.Point>

Type of geometries used by Jawg Places API.

-

Generated using TypeDoc

\ No newline at end of file diff --git a/types/JawgPlaces.FeatureCollection.html b/types/JawgPlaces.FeatureCollection.html index 7a69829..0f31ab6 100644 --- a/types/JawgPlaces.FeatureCollection.html +++ b/types/JawgPlaces.FeatureCollection.html @@ -1,5 +1,5 @@ FeatureCollection | @jawg/types

Type alias FeatureCollection

FeatureCollection: GeoJSON.FeatureCollection<GeoJSON.Point>

Return type of Jawg Places API.

-

Generated using TypeDoc

\ No newline at end of file diff --git a/types/JawgPlaces.Layer.html b/types/JawgPlaces.Layer.html index ec0698b..b321aca 100644 --- a/types/JawgPlaces.Layer.html +++ b/types/JawgPlaces.Layer.html @@ -1,5 +1,5 @@ -Layer | @jawg/types
Layer: "address" | "venue" | "neighbourhood" | "locality" | "borough" | "localadmin" | "county" | "macrocounty" | "region" | "macroregion" | "country" | "coarse" | "postalcode" | string

All available layers.

-

Generated using TypeDoc

Layer: "address" | "venue" | "neighbourhood" | "locality" | "borough" | "localadmin" | "county" | "macrocounty" | "region" | "macroregion" | "country" | "coarse" | "postalcode" | "island" | string

All available layers.

+

Generated using TypeDoc

\ No newline at end of file diff --git a/types/JawgPlaces.Source.html b/types/JawgPlaces.Source.html index 21b6534..d18d1ba 100644 --- a/types/JawgPlaces.Source.html +++ b/types/JawgPlaces.Source.html @@ -1,5 +1,5 @@ -Source | @jawg/types
Source: "wof" | "whosonfirst" | "oa" | "openaddresses" | "osm" | "openstreetmap" | "gn" | "geonames" | string

All available sources.

-

Generated using TypeDoc

Source: "wof" | "whosonfirst" | "oa" | "openaddresses" | "osm" | "openstreetmap" | "gn" | "geonames" | "jawg" | string

All available sources.

+

Generated using TypeDoc

\ No newline at end of file diff --git a/variables/JawgPlaces.version.html b/variables/JawgPlaces.version.html index 43b4de7..d56dc39 100644 --- a/variables/JawgPlaces.version.html +++ b/variables/JawgPlaces.version.html @@ -1,5 +1,5 @@ version | @jawg/types

Variable versionConst

version: string

Current version of the library in Semantic Versioning.

-

Generated using TypeDoc

\ No newline at end of file