Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(docs):for clean text #17

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
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
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ var result = geo.geocode('29 champs elysée paris');

Note that unlike in the node package, the `geocode` method is synchronous. This makes it simple to use in a server method. If you prefer to pass a callback as the last argument, you can.

The `google` service is used by default, but you can set the `geocoderProvider` option when constructing if you want to use [a different provider supported by node-geocoder](https://github.com/nchaulet/node-geocoder#geocoder-provider).
The `Google` service is used by default, but you can set the `GeocoderProvider` option when constructing if you want to use [a different provider supported by node-geocoder](https://github.com/nchaulet/node-geocoder#geocoder-provider).

You can also set the `httpAdapter` option to `"https"` to use HTTPS.
You can also set the `HttpAdapter` option to `"Https"` to use HTTPS.

If you need to specify any of the extra options mentioned in the `node-geocoder` docs, you can pass those also as options to the constructor.

Expand Down