mirror of
https://github.com/jlengrand/leaflet-geosearch.git
synced 2026-03-10 08:31:26 +00:00
docs: update provider's class using GeoApiFrProvider (#316)
This commit is contained in:
@@ -38,7 +38,7 @@ Geo Api FR supports a number of [optional parameters][2]. As the api requires th
|
||||
All options defined next to the `params` key, would have been added to the request body.
|
||||
|
||||
```js
|
||||
const provider = new OpenStreetMapProvider({
|
||||
const provider = new GeoApiFrProvider({
|
||||
searchUrl: 'https://api-adresse.data.gouv.fr/search',
|
||||
reverseUrl: 'https://api-adresse.data.gouv.fr/reverse',
|
||||
params: {
|
||||
|
||||
Reference in New Issue
Block a user