Skip to content
This repository has been archived by the owner on Feb 2, 2023. It is now read-only.

docs(website): make sure we advice using aroundLatLngViaIP=false when… #311

Merged
merged 1 commit into from
Aug 9, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion docs/source/documentation.html.md.erb
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,8 @@ Available types:
- airport

**Default**: Search in all types.

**Note**: If you restrict the search to `city` or `airport`, you probably want to disable the `aroundLatLngViaIP` option as well. This will make sure you don't get only nearby results.
</td>
</tr>
<tr>
Expand Down Expand Up @@ -301,7 +303,8 @@ var placesAutocomplete = {
container: document.querySelector('#demo'),
language: 'de', // Receives results in German
countries: ['us', 'ru'], // Search in the United States of America and in the Russian Federation
type: 'city' // Search only for cities names
type: 'city', // Search only for cities names
aroundLatLngViaIP: false // disable the extra search/boost around the source IP
};
```

Expand Down