Skip to content

Commit 2a1de1b

Browse files
committed
docs: add sources, focus.point.* docs, headlines for remaining ones
1 parent 2ff937a commit 2a1de1b

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

README.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,26 @@ Sets whether the input should be automatically focused, can be set without an ex
6868
6969
Sets the language in which results are returned.
7070
71+
### `sources`
72+
> defaults to all sources
73+
74+
The Geocode Earth dataset is a combination of multiple data sources. This attribute can be used to limit results to a specific source (or multiple ones, comma separated). Please see our API documentation for a list of available sources: [geocode.earth/docs/reference/data_sources/](https://geocode.earth/docs/reference/data_sources/)
75+
76+
### `focus.point.lat` & `focus.point.lon`
77+
> defaults to unfocused
78+
79+
Sets latitude and longitude around which to focus results. In addition to providing results that are more relevant due to their proximity, setting a focus point is generally significantly faster than an unfocused query.
80+
81+
### `boundary.country`
82+
### `boundary.gid`
83+
### `boundary.circle.lat`
84+
### `boundary.circle.lon`
85+
### `boundary.circle.radius`
86+
### `boundary.rect.min_lat`
87+
### `boundary.rect.max_lon`
88+
### `boundary.rect.max_lat`
89+
### `boundary.rect.min_lon`
90+
7191
## Events
7292
7393
The element also emits **events** as a user interacts with it. This is how you can be notified when a user selects a result, for example. The `event.detail` payload contains details about the event.

0 commit comments

Comments
 (0)