Skip to content

Commit 4eba8f5

Browse files
authoredMar 23, 2020
Merge pull request #686 from moondef/bump-reference-version
bump-reference-version
2 parents ac2b220 + 25dccbb commit 4eba8f5

File tree

4 files changed

+66
-66
lines changed

4 files changed

+66
-66
lines changed
 

β€Ždocs/components.md

+32-32
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ Base class extending [`MapEvented`](#mapevented) to add support for panes.
7070
Base class extending `React.Component` for controls.\
7171
It exposes a `leafletElement` property to access the `Leaflet` object created for the control.
7272

73-
[πŸƒ Leaflet Control reference](http://leafletjs.com/reference-1.5.0.html#control) β€’ [πŸ” Source](https://github.com/PaulLeCam/react-leaflet/blob/master/src/MapControl.js)
73+
[πŸƒ Leaflet Control reference](http://leafletjs.com/reference-1.6.0.html#control) β€’ [πŸ” Source](https://github.com/PaulLeCam/react-leaflet/blob/master/src/MapControl.js)
7474

7575
### MapEvented
7676

@@ -83,31 +83,31 @@ It exposes a `leafletElement` property to access the `Leaflet` object created fo
8383

8484
Base class extending [`MapComponent`](#mapcomponent), handling adding the layer to the map and removing it when relevant. It exposes the `layerContainer` property, to be used by extending classes to access their containing layer.
8585

86-
[πŸƒ Leaflet Layer reference](http://leafletjs.com/reference-1.5.0.html#layer) β€’ [πŸ” Source](https://github.com/PaulLeCam/react-leaflet/blob/master/src/MapLayer.js)
86+
[πŸƒ Leaflet Layer reference](http://leafletjs.com/reference-1.6.0.html#layer) β€’ [πŸ” Source](https://github.com/PaulLeCam/react-leaflet/blob/master/src/MapLayer.js)
8787

8888
### Path
8989

9090
Base class extending [`MapLayer`](#maplayer) with the following methods:
9191

92-
- `getPathOptions(object props): object`: filters the input `props` and return a new object of [Path options](http://leafletjs.com/reference-1.5.0.html#path-options) properties.
93-
- `setStyle(object options = {}): void`: alias to the Leaflet element [`setStyle()`](http://leafletjs.com/reference-1.5.0.html#path-setstyle).
92+
- `getPathOptions(object props): object`: filters the input `props` and return a new object of [Path options](http://leafletjs.com/reference-1.6.0.html#path-options) properties.
93+
- `setStyle(object options = {}): void`: alias to the Leaflet element [`setStyle()`](http://leafletjs.com/reference-1.6.0.html#path-setstyle).
9494
- `setStyleIfChanged(object fromProps, object toProps): void`: extracts the Path options of the two arguments, and calls `setStyle()` with the new options if different from the previous ones.
9595

96-
[πŸƒ Leaflet reference](http://leafletjs.com/reference-1.5.0.html#path) β€’ [πŸ” Source](https://github.com/PaulLeCam/react-leaflet/blob/master/src/Path.js)
96+
[πŸƒ Leaflet reference](http://leafletjs.com/reference-1.6.0.html#path) β€’ [πŸ” Source](https://github.com/PaulLeCam/react-leaflet/blob/master/src/Path.js)
9797

9898
## Map
9999

100-
This is the top-level component that must be mounted for child components to be rendered. Refer to [πŸƒ Leaflet's documentation](http://leafletjs.com/reference-1.5.0.html#map-options) for more information about the properties.
100+
This is the top-level component that must be mounted for child components to be rendered. Refer to [πŸƒ Leaflet's documentation](http://leafletjs.com/reference-1.6.0.html#map-options) for more information about the properties.
101101

102-
[πŸƒ Leaflet reference](http://leafletjs.com/reference-1.5.0.html#map) β€’ [πŸ” Source](https://github.com/PaulLeCam/react-leaflet/blob/master/src/Map.js)
102+
[πŸƒ Leaflet reference](http://leafletjs.com/reference-1.6.0.html#map) β€’ [πŸ” Source](https://github.com/PaulLeCam/react-leaflet/blob/master/src/Map.js)
103103

104104
**Dynamic properties**
105105

106106
- `animate: boolean` (optional): If `true`, panning will always be animated if possible. Defaults to `false`.
107107
- `duration: number` (optional): Duration of animated panning, in seconds. Defaults to `0.25`.
108108
- `easeLinearity: number` (optional): The curvature factor of panning animation easing (third parameter of the Cubic Bezier curve). 1.0 means linear animation, and the smaller this number, the more bowed the curve. Defaults to `0.25`.
109109
- `noMoveStart: boolean` (optional): If true, panning won't fire movestart event on start (used internally for panning inertia). Defaults to `false`.
110-
- `bounds: bounds` (optional): A rectangle for the map to contain. It will be centered, and the map will zoom in as close as it can while still showing the full bounds. Changes are compared using the [`πŸƒ equals() method of LatLngBounds`](http://leafletjs.com/reference-1.5.0.html#latlngbounds-equals).
110+
- `bounds: bounds` (optional): A rectangle for the map to contain. It will be centered, and the map will zoom in as close as it can while still showing the full bounds. Changes are compared using the [`πŸƒ equals() method of LatLngBounds`](http://leafletjs.com/reference-1.6.0.html#latlngbounds-equals).
111111
- `boundsOptions: Object` (optional): Options passed to the `fitBounds()` method.
112112
- `boxZoom: boolean` (optional): If `true`, the map can be zoomed to a rectangular area specified by dragging the mouse while pressing the shift key. Defaults to true.
113113
- `center: latLng` (optional if `viewport` is provided with a center value): Center of the map. Changes are compared by value, so `[51.0, 0.0]` is considered the same as `{lat: 51, lng: 0}`.
@@ -129,7 +129,7 @@ This is the top-level component that must be mounted for child components to be
129129
**Other properties**
130130

131131
- `id: string` (optional): The ID of the `<div>` container for the map.
132-
- `whenReady: () => void` (optional): A function called as soon as the map is ready, see [πŸƒ Leaflet's documentation](http://leafletjs.com/reference-1.5.0.html#map-whenready) for more information.
132+
- `whenReady: () => void` (optional): A function called as soon as the map is ready, see [πŸƒ Leaflet's documentation](http://leafletjs.com/reference-1.6.0.html#map-whenready) for more information.
133133

134134
**Manipulating the viewport**
135135

@@ -197,7 +197,7 @@ See the [viewport example](https://github.com/PaulLeCam/react-leaflet/blob/maste
197197

198198
### Pane
199199

200-
[πŸƒ Leaflet reference](http://leafletjs.com/reference-1.5.0.html#map-pane) β€’ [πŸ” Source](https://github.com/PaulLeCam/react-leaflet/blob/master/src/Pane.js)
200+
[πŸƒ Leaflet reference](http://leafletjs.com/reference-1.6.0.html#map-pane) β€’ [πŸ” Source](https://github.com/PaulLeCam/react-leaflet/blob/master/src/Pane.js)
201201

202202
Only children components of the `Pane` component will be added to the corresponding pane. This does not affect the behavior of other Leaflet factories used in these children.
203203

@@ -211,7 +211,7 @@ Only children components of the `Pane` component will be added to the correspond
211211

212212
### Marker
213213

214-
[πŸƒ Leaflet reference](http://leafletjs.com/reference-1.5.0.html#marker) β€’ [πŸ” Source](https://github.com/PaulLeCam/react-leaflet/blob/master/src/Marker.js)
214+
[πŸƒ Leaflet reference](http://leafletjs.com/reference-1.6.0.html#marker) β€’ [πŸ” Source](https://github.com/PaulLeCam/react-leaflet/blob/master/src/Marker.js)
215215

216216
**Dynamic properties**
217217

@@ -224,7 +224,7 @@ Only children components of the `Pane` component will be added to the correspond
224224

225225
### Popup
226226

227-
[πŸƒ Leaflet reference](http://leafletjs.com/reference-1.5.0.html#popup) β€’ [πŸ” Source](https://github.com/PaulLeCam/react-leaflet/blob/master/src/Popup.js)
227+
[πŸƒ Leaflet reference](http://leafletjs.com/reference-1.6.0.html#popup) β€’ [πŸ” Source](https://github.com/PaulLeCam/react-leaflet/blob/master/src/Popup.js)
228228

229229
**Dynamic properties**
230230

@@ -236,7 +236,7 @@ Only children components of the `Pane` component will be added to the correspond
236236

237237
### Tooltip
238238

239-
[πŸƒ Leaflet reference](http://leafletjs.com/reference-1.5.0.html#tooltip) β€’ [πŸ” Source](https://github.com/PaulLeCam/react-leaflet/blob/master/src/Tooltip.js)
239+
[πŸƒ Leaflet reference](http://leafletjs.com/reference-1.6.0.html#tooltip) β€’ [πŸ” Source](https://github.com/PaulLeCam/react-leaflet/blob/master/src/Tooltip.js)
240240

241241
**Dynamic properties**
242242

@@ -249,7 +249,7 @@ Only children components of the `Pane` component will be added to the correspond
249249

250250
### TileLayer
251251

252-
[πŸƒ Leaflet reference](http://leafletjs.com/reference-1.5.0.html#tilelayer) β€’ [πŸ” Source](https://github.com/PaulLeCam/react-leaflet/blob/master/src/TileLayer.js)
252+
[πŸƒ Leaflet reference](http://leafletjs.com/reference-1.6.0.html#tilelayer) β€’ [πŸ” Source](https://github.com/PaulLeCam/react-leaflet/blob/master/src/TileLayer.js)
253253

254254
**Dynamic properties**
255255

@@ -260,7 +260,7 @@ Only children components of the `Pane` component will be added to the correspond
260260

261261
### WMSTileLayer
262262

263-
[πŸƒ Leaflet reference](http://leafletjs.com/reference-1.5.0.html#tilelayer-wms) β€’ [πŸ” Source](https://github.com/PaulLeCam/react-leaflet/blob/master/src/WMSTileLayer.js)
263+
[πŸƒ Leaflet reference](http://leafletjs.com/reference-1.6.0.html#tilelayer-wms) β€’ [πŸ” Source](https://github.com/PaulLeCam/react-leaflet/blob/master/src/WMSTileLayer.js)
264264

265265
**Dynamic properties**
266266

@@ -271,7 +271,7 @@ Only children components of the `Pane` component will be added to the correspond
271271

272272
### ImageOverlay
273273

274-
[πŸƒ Leaflet reference](http://leafletjs.com/reference-1.5.0.html#imageoverlay) β€’ [πŸ” Source](https://github.com/PaulLeCam/react-leaflet/blob/master/src/ImageOverlay.js)
274+
[πŸƒ Leaflet reference](http://leafletjs.com/reference-1.6.0.html#imageoverlay) β€’ [πŸ” Source](https://github.com/PaulLeCam/react-leaflet/blob/master/src/ImageOverlay.js)
275275

276276
**Dynamic properties**
277277

@@ -283,7 +283,7 @@ Only children components of the `Pane` component will be added to the correspond
283283

284284
### VideoOverlay
285285

286-
[πŸƒ Leaflet reference](http://leafletjs.com/reference-1.5.0.html#videooverlay) β€’ [πŸ” Source](https://github.com/PaulLeCam/react-leaflet/blob/master/src/VideoOverlay.js)
286+
[πŸƒ Leaflet reference](http://leafletjs.com/reference-1.6.0.html#videooverlay) β€’ [πŸ” Source](https://github.com/PaulLeCam/react-leaflet/blob/master/src/VideoOverlay.js)
287287

288288
**Dynamic properties**
289289

@@ -297,12 +297,12 @@ Only children components of the `Pane` component will be added to the correspond
297297
## Vector Layers
298298

299299
All vector layers extend the [Path component](#path) and therefore accept dynamic
300-
[πŸƒ Path options](http://leafletjs.com/reference-1.5.0.html#path-options)
300+
[πŸƒ Path options](http://leafletjs.com/reference-1.6.0.html#path-options)
301301
properties.
302302

303303
### Circle
304304

305-
[πŸƒ Leaflet reference](http://leafletjs.com/reference-1.5.0.html#circle) β€’ [πŸ” Source](https://github.com/PaulLeCam/react-leaflet/blob/master/src/Circle.js)
305+
[πŸƒ Leaflet reference](http://leafletjs.com/reference-1.6.0.html#circle) β€’ [πŸ” Source](https://github.com/PaulLeCam/react-leaflet/blob/master/src/Circle.js)
306306

307307
**Dynamic properties**
308308

@@ -312,7 +312,7 @@ properties.
312312

313313
### CircleMarker
314314

315-
[πŸƒ Leaflet reference](http://leafletjs.com/reference-1.5.0.html#circlemarker) β€’ [πŸ” Source](https://github.com/PaulLeCam/react-leaflet/blob/master/src/CircleMarker.js)
315+
[πŸƒ Leaflet reference](http://leafletjs.com/reference-1.6.0.html#circlemarker) β€’ [πŸ” Source](https://github.com/PaulLeCam/react-leaflet/blob/master/src/CircleMarker.js)
316316

317317
**Dynamic properties**
318318

@@ -322,7 +322,7 @@ properties.
322322

323323
### Polyline
324324

325-
[πŸƒ Leaflet reference](http://leafletjs.com/reference-1.5.0.html#polyline) β€’ [πŸ” Source](https://github.com/PaulLeCam/react-leaflet/blob/master/src/Polyline.js)
325+
[πŸƒ Leaflet reference](http://leafletjs.com/reference-1.6.0.html#polyline) β€’ [πŸ” Source](https://github.com/PaulLeCam/react-leaflet/blob/master/src/Polyline.js)
326326

327327
**Dynamic properties**
328328

@@ -331,7 +331,7 @@ properties.
331331

332332
### Polygon
333333

334-
[πŸƒ Leaflet reference](http://leafletjs.com/reference-1.5.0.html#polygon) β€’ [πŸ” Source](https://github.com/PaulLeCam/react-leaflet/blob/master/src/Polygon.js)
334+
[πŸƒ Leaflet reference](http://leafletjs.com/reference-1.6.0.html#polygon) β€’ [πŸ” Source](https://github.com/PaulLeCam/react-leaflet/blob/master/src/Polygon.js)
335335

336336
**Dynamic properties**
337337

@@ -340,7 +340,7 @@ properties.
340340

341341
### Rectangle
342342

343-
[πŸƒ Leaflet reference](http://leafletjs.com/reference-1.5.0.html#rectangle) β€’ [πŸ” Source](https://github.com/PaulLeCam/react-leaflet/blob/master/src/Rectangle.js)
343+
[πŸƒ Leaflet reference](http://leafletjs.com/reference-1.6.0.html#rectangle) β€’ [πŸ” Source](https://github.com/PaulLeCam/react-leaflet/blob/master/src/Rectangle.js)
344344

345345
**Dynamic properties**
346346

@@ -349,7 +349,7 @@ properties.
349349

350350
### SVGOverlay
351351

352-
[πŸƒ Leaflet reference](https://leafletjs.com/reference-1.5.0.html#svgoverlay) β€’ [πŸ” Source](https://github.com/PaulLeCam/react-leaflet/blob/master/src/SVGOverlay.js)
352+
[πŸƒ Leaflet reference](https://leafletjs.com/reference-1.6.0.html#svgoverlay) β€’ [πŸ” Source](https://github.com/PaulLeCam/react-leaflet/blob/master/src/SVGOverlay.js)
353353

354354
**Dynamic properties**
355355

@@ -364,11 +364,11 @@ properties.
364364

365365
Extended [LayerGroup](#layergroup) supporting a [Popup](#popup) child.
366366

367-
[πŸƒ Leaflet reference](http://leafletjs.com/reference-1.5.0.html#featuregroup) β€’ [πŸ” Source](https://github.com/PaulLeCam/react-leaflet/blob/master/src/FeatureGroup.js)
367+
[πŸƒ Leaflet reference](http://leafletjs.com/reference-1.6.0.html#featuregroup) β€’ [πŸ” Source](https://github.com/PaulLeCam/react-leaflet/blob/master/src/FeatureGroup.js)
368368

369369
### GeoJSON
370370

371-
[πŸƒ Leaflet reference](http://leafletjs.com/reference-1.5.0.html#geojson) β€’ [πŸ” Source](https://github.com/PaulLeCam/react-leaflet/blob/master/src/GeoJSON.js)
371+
[πŸƒ Leaflet reference](http://leafletjs.com/reference-1.6.0.html#geojson) β€’ [πŸ” Source](https://github.com/PaulLeCam/react-leaflet/blob/master/src/GeoJSON.js)
372372

373373
**Properties**
374374

@@ -381,7 +381,7 @@ Extended [LayerGroup](#layergroup) supporting a [Popup](#popup) child.
381381

382382
### GridLayer
383383

384-
[πŸƒ Leaflet reference](http://leafletjs.com/reference-1.5.0.html#gridlayer) β€’ [πŸ” Source](https://github.com/PaulLeCam/react-leaflet/blob/master/src/GridLayer.js)
384+
[πŸƒ Leaflet reference](http://leafletjs.com/reference-1.6.0.html#gridlayer) β€’ [πŸ” Source](https://github.com/PaulLeCam/react-leaflet/blob/master/src/GridLayer.js)
385385

386386
**Dynamic properties**
387387

@@ -393,21 +393,21 @@ Extended [LayerGroup](#layergroup) supporting a [Popup](#popup) child.
393393

394394
Use the `LayerGroup` wrapper component to group children layers together.
395395

396-
[πŸƒ Leaflet reference](http://leafletjs.com/reference-1.5.0.html#layergroup) β€’ [πŸ” Source](https://github.com/PaulLeCam/react-leaflet/blob/master/src/LayerGroup.js)
396+
[πŸƒ Leaflet reference](http://leafletjs.com/reference-1.6.0.html#layergroup) β€’ [πŸ” Source](https://github.com/PaulLeCam/react-leaflet/blob/master/src/LayerGroup.js)
397397

398398
## Controls
399399

400400
### AttributionControl
401401

402-
[πŸƒ Leaflet reference](http://leafletjs.com/reference-1.5.0.html#control-attribution) β€’ [πŸ” Source](https://github.com/PaulLeCam/react-leaflet/blob/master/src/AttributionControl.js)
402+
[πŸƒ Leaflet reference](http://leafletjs.com/reference-1.6.0.html#control-attribution) β€’ [πŸ” Source](https://github.com/PaulLeCam/react-leaflet/blob/master/src/AttributionControl.js)
403403

404404
**Dynamic properties**
405405

406406
- `position: controlPosition` (optional)
407407

408408
### LayersControl
409409

410-
[πŸƒ Leaflet reference](http://leafletjs.com/reference-1.5.0.html#control-layers) β€’ [πŸ” Source](https://github.com/PaulLeCam/react-leaflet/blob/master/src/LayersControl.js)
410+
[πŸƒ Leaflet reference](http://leafletjs.com/reference-1.6.0.html#control-layers) β€’ [πŸ” Source](https://github.com/PaulLeCam/react-leaflet/blob/master/src/LayersControl.js)
411411

412412
**Dynamic properties**
413413

@@ -475,15 +475,15 @@ Example usage:
475475

476476
### ScaleControl
477477

478-
[πŸƒ Leaflet reference](http://leafletjs.com/reference-1.5.0.html#control-scale) β€’ [πŸ” Source](https://github.com/PaulLeCam/react-leaflet/blob/master/src/ScaleControl.js)
478+
[πŸƒ Leaflet reference](http://leafletjs.com/reference-1.6.0.html#control-scale) β€’ [πŸ” Source](https://github.com/PaulLeCam/react-leaflet/blob/master/src/ScaleControl.js)
479479

480480
**Dynamic properties**
481481

482482
- `position: controlPosition` (optional)
483483

484484
### ZoomControl
485485

486-
[πŸƒ Leaflet reference](http://leafletjs.com/reference-1.5.0.html#control-zoom) β€’ [πŸ” Source](https://github.com/PaulLeCam/react-leaflet/blob/master/src/ZoomControl.js)
486+
[πŸƒ Leaflet reference](http://leafletjs.com/reference-1.6.0.html#control-zoom) β€’ [πŸ” Source](https://github.com/PaulLeCam/react-leaflet/blob/master/src/ZoomControl.js)
487487

488488
**Dynamic properties**
489489

β€Ždocs/events.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ title: Events
66
Leaflet exposes its own events, different from React. You can listen to them using React-Leaflet by adding a callback to a property prefixed by `on`. Ex: `<Map onMoveend={this.handleMoveend}>...</Map>`.\
77
The event name is normalized, so the above example would work using the `onmoveend`, `onMoveend`, `onMoveEnd` or another naming preference for the property.
88

9-
Check [πŸƒ Leaflet's documentation](http://leafletjs.com/reference-1.5.0.html) for the events associated to each component.
9+
Check [πŸƒ Leaflet's documentation](http://leafletjs.com/reference-1.6.0.html) for the events associated to each component.

β€Žwebsite/versioned_docs/version-v2/components.md

+32-32
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ Base class extending [`MapEvented`](#mapevented) to add support for panes.
7171
Base class extending `React.Component` for controls.\
7272
It exposes a `leafletElement` property to access the `Leaflet` object created for the control.
7373

74-
[πŸƒ Leaflet Control reference](http://leafletjs.com/reference-1.5.0.html#control) β€’ [πŸ” Source](https://github.com/PaulLeCam/react-leaflet/blob/master/src/MapControl.js)
74+
[πŸƒ Leaflet Control reference](http://leafletjs.com/reference-1.6.0.html#control) β€’ [πŸ” Source](https://github.com/PaulLeCam/react-leaflet/blob/master/src/MapControl.js)
7575

7676
### MapEvented
7777

@@ -84,31 +84,31 @@ It exposes a `leafletElement` property to access the `Leaflet` object created fo
8484

8585
Base class extending [`MapComponent`](#mapcomponent), handling adding the layer to the map and removing it when relevant. It exposes the `layerContainer` property, to be used by extending classes to access their containing layer.
8686

87-
[πŸƒ Leaflet Layer reference](http://leafletjs.com/reference-1.5.0.html#layer) β€’ [πŸ” Source](https://github.com/PaulLeCam/react-leaflet/blob/master/src/MapLayer.js)
87+
[πŸƒ Leaflet Layer reference](http://leafletjs.com/reference-1.6.0.html#layer) β€’ [πŸ” Source](https://github.com/PaulLeCam/react-leaflet/blob/master/src/MapLayer.js)
8888

8989
### Path
9090

9191
Base class extending [`MapLayer`](#maplayer) with the following methods:
9292

93-
- `getPathOptions(object props): object`: filters the input `props` and return a new object of [Path options](http://leafletjs.com/reference-1.5.0.html#path-options) properties.
94-
- `setStyle(object options = {}): void`: alias to the Leaflet element [`setStyle()`](http://leafletjs.com/reference-1.5.0.html#path-setstyle).
93+
- `getPathOptions(object props): object`: filters the input `props` and return a new object of [Path options](http://leafletjs.com/reference-1.6.0.html#path-options) properties.
94+
- `setStyle(object options = {}): void`: alias to the Leaflet element [`setStyle()`](http://leafletjs.com/reference-1.6.0.html#path-setstyle).
9595
- `setStyleIfChanged(object fromProps, object toProps): void`: extracts the Path options of the two arguments, and calls `setStyle()` with the new options if different from the previous ones.
9696

97-
[πŸƒ Leaflet reference](http://leafletjs.com/reference-1.5.0.html#path) β€’ [πŸ” Source](https://github.com/PaulLeCam/react-leaflet/blob/master/src/Path.js)
97+
[πŸƒ Leaflet reference](http://leafletjs.com/reference-1.6.0.html#path) β€’ [πŸ” Source](https://github.com/PaulLeCam/react-leaflet/blob/master/src/Path.js)
9898

9999
## Map
100100

101-
This is the top-level component that must be mounted for child components to be rendered. Refer to [πŸƒ Leaflet's documentation](http://leafletjs.com/reference-1.5.0.html#map-options) for more information about the properties.
101+
This is the top-level component that must be mounted for child components to be rendered. Refer to [πŸƒ Leaflet's documentation](http://leafletjs.com/reference-1.6.0.html#map-options) for more information about the properties.
102102

103-
[πŸƒ Leaflet reference](http://leafletjs.com/reference-1.5.0.html#map) β€’ [πŸ” Source](https://github.com/PaulLeCam/react-leaflet/blob/master/src/Map.js)
103+
[πŸƒ Leaflet reference](http://leafletjs.com/reference-1.6.0.html#map) β€’ [πŸ” Source](https://github.com/PaulLeCam/react-leaflet/blob/master/src/Map.js)
104104

105105
**Dynamic properties**
106106

107107
- `animate: boolean` (optional): If `true`, panning will always be animated if possible. Defaults to `false`.
108108
- `duration: number` (optional): Duration of animated panning, in seconds. Defaults to `0.25`.
109109
- `easeLinearity: number` (optional): The curvature factor of panning animation easing (third parameter of the Cubic Bezier curve). 1.0 means linear animation, and the smaller this number, the more bowed the curve. Defaults to `0.25`.
110110
- `noMoveStart: boolean` (optional): If true, panning won't fire movestart event on start (used internally for panning inertia). Defaults to `false`.
111-
- `bounds: bounds` (optional): A rectangle for the map to contain. It will be centered, and the map will zoom in as close as it can while still showing the full bounds. Changes are compared using the [`πŸƒ equals() method of LatLngBounds`](http://leafletjs.com/reference-1.5.0.html#latlngbounds-equals).
111+
- `bounds: bounds` (optional): A rectangle for the map to contain. It will be centered, and the map will zoom in as close as it can while still showing the full bounds. Changes are compared using the [`πŸƒ equals() method of LatLngBounds`](http://leafletjs.com/reference-1.6.0.html#latlngbounds-equals).
112112
- `boundsOptions: Object` (optional): Options passed to the `fitBounds()` method.
113113
- `boxZoom: boolean` (optional): If `true`, the map can be zoomed to a rectangular area specified by dragging the mouse while pressing the shift key. Defaults to true.
114114
- `center: latLng` (optional if `viewport` is provided with a center value): Center of the map. Changes are compared by value, so `[51.0, 0.0]` is considered the same as `{lat: 51, lng: 0}`.
@@ -130,7 +130,7 @@ This is the top-level component that must be mounted for child components to be
130130
**Other properties**
131131

132132
- `id: string` (optional): The ID of the `<div>` container for the map.
133-
- `whenReady: () => void` (optional): A function called as soon as the map is ready, see [πŸƒ Leaflet's documentation](http://leafletjs.com/reference-1.5.0.html#map-whenready) for more information.
133+
- `whenReady: () => void` (optional): A function called as soon as the map is ready, see [πŸƒ Leaflet's documentation](http://leafletjs.com/reference-1.6.0.html#map-whenready) for more information.
134134

135135
**Manipulating the viewport**
136136

@@ -198,7 +198,7 @@ See the [viewport example](https://github.com/PaulLeCam/react-leaflet/blob/maste
198198

199199
### Pane
200200

201-
[πŸƒ Leaflet reference](http://leafletjs.com/reference-1.5.0.html#map-pane) β€’ [πŸ” Source](https://github.com/PaulLeCam/react-leaflet/blob/master/src/Pane.js)
201+
[πŸƒ Leaflet reference](http://leafletjs.com/reference-1.6.0.html#map-pane) β€’ [πŸ” Source](https://github.com/PaulLeCam/react-leaflet/blob/master/src/Pane.js)
202202

203203
Only children components of the `Pane` component will be added to the corresponding pane. This does not affect the behavior of other Leaflet factories used in these children.
204204

@@ -212,7 +212,7 @@ Only children components of the `Pane` component will be added to the correspond
212212

213213
### Marker
214214

215-
[πŸƒ Leaflet reference](http://leafletjs.com/reference-1.5.0.html#marker) β€’ [πŸ” Source](https://github.com/PaulLeCam/react-leaflet/blob/master/src/Marker.js)
215+
[πŸƒ Leaflet reference](http://leafletjs.com/reference-1.6.0.html#marker) β€’ [πŸ” Source](https://github.com/PaulLeCam/react-leaflet/blob/master/src/Marker.js)
216216

217217
**Dynamic properties**
218218

@@ -225,7 +225,7 @@ Only children components of the `Pane` component will be added to the correspond
225225

226226
### Popup
227227

228-
[πŸƒ Leaflet reference](http://leafletjs.com/reference-1.5.0.html#popup) β€’ [πŸ” Source](https://github.com/PaulLeCam/react-leaflet/blob/master/src/Popup.js)
228+
[πŸƒ Leaflet reference](http://leafletjs.com/reference-1.6.0.html#popup) β€’ [πŸ” Source](https://github.com/PaulLeCam/react-leaflet/blob/master/src/Popup.js)
229229

230230
**Dynamic properties**
231231

@@ -237,7 +237,7 @@ Only children components of the `Pane` component will be added to the correspond
237237

238238
### Tooltip
239239

240-
[πŸƒ Leaflet reference](http://leafletjs.com/reference-1.5.0.html#tooltip) β€’ [πŸ” Source](https://github.com/PaulLeCam/react-leaflet/blob/master/src/Tooltip.js)
240+
[πŸƒ Leaflet reference](http://leafletjs.com/reference-1.6.0.html#tooltip) β€’ [πŸ” Source](https://github.com/PaulLeCam/react-leaflet/blob/master/src/Tooltip.js)
241241

242242
**Dynamic properties**
243243

@@ -250,7 +250,7 @@ Only children components of the `Pane` component will be added to the correspond
250250

251251
### TileLayer
252252

253-
[πŸƒ Leaflet reference](http://leafletjs.com/reference-1.5.0.html#tilelayer) β€’ [πŸ” Source](https://github.com/PaulLeCam/react-leaflet/blob/master/src/TileLayer.js)
253+
[πŸƒ Leaflet reference](http://leafletjs.com/reference-1.6.0.html#tilelayer) β€’ [πŸ” Source](https://github.com/PaulLeCam/react-leaflet/blob/master/src/TileLayer.js)
254254

255255
**Dynamic properties**
256256

@@ -261,7 +261,7 @@ Only children components of the `Pane` component will be added to the correspond
261261

262262
### WMSTileLayer
263263

264-
[πŸƒ Leaflet reference](http://leafletjs.com/reference-1.5.0.html#tilelayer-wms) β€’ [πŸ” Source](https://github.com/PaulLeCam/react-leaflet/blob/master/src/WMSTileLayer.js)
264+
[πŸƒ Leaflet reference](http://leafletjs.com/reference-1.6.0.html#tilelayer-wms) β€’ [πŸ” Source](https://github.com/PaulLeCam/react-leaflet/blob/master/src/WMSTileLayer.js)
265265

266266
**Dynamic properties**
267267

@@ -272,7 +272,7 @@ Only children components of the `Pane` component will be added to the correspond
272272

273273
### ImageOverlay
274274

275-
[πŸƒ Leaflet reference](http://leafletjs.com/reference-1.5.0.html#imageoverlay) β€’ [πŸ” Source](https://github.com/PaulLeCam/react-leaflet/blob/master/src/ImageOverlay.js)
275+
[πŸƒ Leaflet reference](http://leafletjs.com/reference-1.6.0.html#imageoverlay) β€’ [πŸ” Source](https://github.com/PaulLeCam/react-leaflet/blob/master/src/ImageOverlay.js)
276276

277277
**Dynamic properties**
278278

@@ -284,7 +284,7 @@ Only children components of the `Pane` component will be added to the correspond
284284

285285
### VideoOverlay
286286

287-
[πŸƒ Leaflet reference](http://leafletjs.com/reference-1.5.0.html#videooverlay) β€’ [πŸ” Source](https://github.com/PaulLeCam/react-leaflet/blob/master/src/VideoOverlay.js)
287+
[πŸƒ Leaflet reference](http://leafletjs.com/reference-1.6.0.html#videooverlay) β€’ [πŸ” Source](https://github.com/PaulLeCam/react-leaflet/blob/master/src/VideoOverlay.js)
288288

289289
**Dynamic properties**
290290

@@ -298,12 +298,12 @@ Only children components of the `Pane` component will be added to the correspond
298298
## Vector Layers
299299

300300
All vector layers extend the [Path component](#path) and therefore accept dynamic
301-
[πŸƒ Path options](http://leafletjs.com/reference-1.5.0.html#path-options)
301+
[πŸƒ Path options](http://leafletjs.com/reference-1.6.0.html#path-options)
302302
properties.
303303

304304
### Circle
305305

306-
[πŸƒ Leaflet reference](http://leafletjs.com/reference-1.5.0.html#circle) β€’ [πŸ” Source](https://github.com/PaulLeCam/react-leaflet/blob/master/src/Circle.js)
306+
[πŸƒ Leaflet reference](http://leafletjs.com/reference-1.6.0.html#circle) β€’ [πŸ” Source](https://github.com/PaulLeCam/react-leaflet/blob/master/src/Circle.js)
307307

308308
**Dynamic properties**
309309

@@ -313,7 +313,7 @@ properties.
313313

314314
### CircleMarker
315315

316-
[πŸƒ Leaflet reference](http://leafletjs.com/reference-1.5.0.html#circlemarker) β€’ [πŸ” Source](https://github.com/PaulLeCam/react-leaflet/blob/master/src/CircleMarker.js)
316+
[πŸƒ Leaflet reference](http://leafletjs.com/reference-1.6.0.html#circlemarker) β€’ [πŸ” Source](https://github.com/PaulLeCam/react-leaflet/blob/master/src/CircleMarker.js)
317317

318318
**Dynamic properties**
319319

@@ -323,7 +323,7 @@ properties.
323323

324324
### Polyline
325325

326-
[πŸƒ Leaflet reference](http://leafletjs.com/reference-1.5.0.html#polyline) β€’ [πŸ” Source](https://github.com/PaulLeCam/react-leaflet/blob/master/src/Polyline.js)
326+
[πŸƒ Leaflet reference](http://leafletjs.com/reference-1.6.0.html#polyline) β€’ [πŸ” Source](https://github.com/PaulLeCam/react-leaflet/blob/master/src/Polyline.js)
327327

328328
**Dynamic properties**
329329

@@ -332,7 +332,7 @@ properties.
332332

333333
### Polygon
334334

335-
[πŸƒ Leaflet reference](http://leafletjs.com/reference-1.5.0.html#polygon) β€’ [πŸ” Source](https://github.com/PaulLeCam/react-leaflet/blob/master/src/Polygon.js)
335+
[πŸƒ Leaflet reference](http://leafletjs.com/reference-1.6.0.html#polygon) β€’ [πŸ” Source](https://github.com/PaulLeCam/react-leaflet/blob/master/src/Polygon.js)
336336

337337
**Dynamic properties**
338338

@@ -341,7 +341,7 @@ properties.
341341

342342
### Rectangle
343343

344-
[πŸƒ Leaflet reference](http://leafletjs.com/reference-1.5.0.html#rectangle) β€’ [πŸ” Source](https://github.com/PaulLeCam/react-leaflet/blob/master/src/Rectangle.js)
344+
[πŸƒ Leaflet reference](http://leafletjs.com/reference-1.6.0.html#rectangle) β€’ [πŸ” Source](https://github.com/PaulLeCam/react-leaflet/blob/master/src/Rectangle.js)
345345

346346
**Dynamic properties**
347347

@@ -350,7 +350,7 @@ properties.
350350

351351
### SVGOverlay
352352

353-
[πŸƒ Leaflet reference](https://leafletjs.com/reference-1.5.0.html#svgoverlay) β€’ [πŸ” Source](https://github.com/PaulLeCam/react-leaflet/blob/master/src/SVGOverlay.js)
353+
[πŸƒ Leaflet reference](https://leafletjs.com/reference-1.6.0.html#svgoverlay) β€’ [πŸ” Source](https://github.com/PaulLeCam/react-leaflet/blob/master/src/SVGOverlay.js)
354354

355355
**Dynamic properties**
356356

@@ -365,11 +365,11 @@ properties.
365365

366366
Extended [LayerGroup](#layergroup) supporting a [Popup](#popup) child.
367367

368-
[πŸƒ Leaflet reference](http://leafletjs.com/reference-1.5.0.html#featuregroup) β€’ [πŸ” Source](https://github.com/PaulLeCam/react-leaflet/blob/master/src/FeatureGroup.js)
368+
[πŸƒ Leaflet reference](http://leafletjs.com/reference-1.6.0.html#featuregroup) β€’ [πŸ” Source](https://github.com/PaulLeCam/react-leaflet/blob/master/src/FeatureGroup.js)
369369

370370
### GeoJSON
371371

372-
[πŸƒ Leaflet reference](http://leafletjs.com/reference-1.5.0.html#geojson) β€’ [πŸ” Source](https://github.com/PaulLeCam/react-leaflet/blob/master/src/GeoJSON.js)
372+
[πŸƒ Leaflet reference](http://leafletjs.com/reference-1.6.0.html#geojson) β€’ [πŸ” Source](https://github.com/PaulLeCam/react-leaflet/blob/master/src/GeoJSON.js)
373373

374374
**Properties**
375375

@@ -382,7 +382,7 @@ Extended [LayerGroup](#layergroup) supporting a [Popup](#popup) child.
382382

383383
### GridLayer
384384

385-
[πŸƒ Leaflet reference](http://leafletjs.com/reference-1.5.0.html#gridlayer) β€’ [πŸ” Source](https://github.com/PaulLeCam/react-leaflet/blob/master/src/GridLayer.js)
385+
[πŸƒ Leaflet reference](http://leafletjs.com/reference-1.6.0.html#gridlayer) β€’ [πŸ” Source](https://github.com/PaulLeCam/react-leaflet/blob/master/src/GridLayer.js)
386386

387387
**Dynamic properties**
388388

@@ -394,21 +394,21 @@ Extended [LayerGroup](#layergroup) supporting a [Popup](#popup) child.
394394

395395
Use the `LayerGroup` wrapper component to group children layers together.
396396

397-
[πŸƒ Leaflet reference](http://leafletjs.com/reference-1.5.0.html#layergroup) β€’ [πŸ” Source](https://github.com/PaulLeCam/react-leaflet/blob/master/src/LayerGroup.js)
397+
[πŸƒ Leaflet reference](http://leafletjs.com/reference-1.6.0.html#layergroup) β€’ [πŸ” Source](https://github.com/PaulLeCam/react-leaflet/blob/master/src/LayerGroup.js)
398398

399399
## Controls
400400

401401
### AttributionControl
402402

403-
[πŸƒ Leaflet reference](http://leafletjs.com/reference-1.5.0.html#control-attribution) β€’ [πŸ” Source](https://github.com/PaulLeCam/react-leaflet/blob/master/src/AttributionControl.js)
403+
[πŸƒ Leaflet reference](http://leafletjs.com/reference-1.6.0.html#control-attribution) β€’ [πŸ” Source](https://github.com/PaulLeCam/react-leaflet/blob/master/src/AttributionControl.js)
404404

405405
**Dynamic properties**
406406

407407
- `position: controlPosition` (optional)
408408

409409
### LayersControl
410410

411-
[πŸƒ Leaflet reference](http://leafletjs.com/reference-1.5.0.html#control-layers) β€’ [πŸ” Source](https://github.com/PaulLeCam/react-leaflet/blob/master/src/LayersControl.js)
411+
[πŸƒ Leaflet reference](http://leafletjs.com/reference-1.6.0.html#control-layers) β€’ [πŸ” Source](https://github.com/PaulLeCam/react-leaflet/blob/master/src/LayersControl.js)
412412

413413
**Dynamic properties**
414414

@@ -476,15 +476,15 @@ Example usage:
476476

477477
### ScaleControl
478478

479-
[πŸƒ Leaflet reference](http://leafletjs.com/reference-1.5.0.html#control-scale) β€’ [πŸ” Source](https://github.com/PaulLeCam/react-leaflet/blob/master/src/ScaleControl.js)
479+
[πŸƒ Leaflet reference](http://leafletjs.com/reference-1.6.0.html#control-scale) β€’ [πŸ” Source](https://github.com/PaulLeCam/react-leaflet/blob/master/src/ScaleControl.js)
480480

481481
**Dynamic properties**
482482

483483
- `position: controlPosition` (optional)
484484

485485
### ZoomControl
486486

487-
[πŸƒ Leaflet reference](http://leafletjs.com/reference-1.5.0.html#control-zoom) β€’ [πŸ” Source](https://github.com/PaulLeCam/react-leaflet/blob/master/src/ZoomControl.js)
487+
[πŸƒ Leaflet reference](http://leafletjs.com/reference-1.6.0.html#control-zoom) β€’ [πŸ” Source](https://github.com/PaulLeCam/react-leaflet/blob/master/src/ZoomControl.js)
488488

489489
**Dynamic properties**
490490

β€Žwebsite/versioned_docs/version-v2/events.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ original_id: events
77
Leaflet exposes its own events, different from React. You can listen to them using React-Leaflet by adding a callback to a property prefixed by `on`. Ex: `<Map onMoveend={this.handleMoveend}>...</Map>`.\
88
The event name is normalized, so the above example would work using the `onmoveend`, `onMoveend`, `onMoveEnd` or another naming preference for the property.
99

10-
Check [πŸƒ Leaflet's documentation](http://leafletjs.com/reference-1.5.0.html) for the events associated to each component.
10+
Check [πŸƒ Leaflet's documentation](http://leafletjs.com/reference-1.6.0.html) for the events associated to each component.

0 commit comments

Comments
 (0)
Please sign in to comment.