Skip to content
This repository was archived by the owner on Apr 21, 2020. It is now read-only.

Commit 84283b8

Browse files
authored
Merge pull request #184 from appbaseio/feat/add-docs-for-serviceOptions
feat(map): add docs for serviceOptions prop
2 parents 361b723 + 0dfb331 commit 84283b8

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

content/docs/map-components/GeoDistanceDropdown.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,8 @@ Example uses:
104104
enable creating a URL query string parameter based on the selected value from the dropdown. This is useful for sharing URLs with the component state. Defaults to `false`.
105105
- **countries** `String Array` [optional]
106106
restricts predictions to specified country (ISO 3166-1 Alpha-2 country code, case insensitive). For example, 'us', 'in', or 'au'. You can provide an array of up to five country code strings.
107+
- **serviceOptions** `Object` [optional]
108+
allows to add more options to AutoCompletionRequest, available from [Google Places library](https://developers.google.com/maps/documentation/javascript/reference/places-autocomplete-service#AutocompletionRequest)
107109

108110
## Demo
109111

content/docs/map-components/GeoDistanceSlider.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,8 @@ Example uses:
111111
enable creating a URL query string parameter based on the selected location from the slider. This is useful for sharing URLs with the component state. Defaults to `false`.
112112
- **countries** `String Array` [optional]
113113
restricts predictions to specified country (ISO 3166-1 Alpha-2 country code, case insensitive). For example, 'us', 'in', or 'au'. You can provide an array of up to five country code strings.
114+
- **serviceOptions** `Object` [optional]
115+
allows to add more options to AutoCompletionRequest, available from [Google Places library](https://developers.google.com/maps/documentation/javascript/reference/places-autocomplete-service#AutocompletionRequest)
114116
- **tooltipTrigger** `String` [optional]
115117
trigger the tooltip according to the value specified. Can be `hover`, `focus`, `always` and `none`. Defaults to `none`.
116118
- **renderTooltipData** `Function` [optional]

0 commit comments

Comments
 (0)