Skip to content

Commit 5b7ce20

Browse files
author
wgj
committed
update: README.md and UPDATE.md.
Signed-off-by: wgj <wgj>
1 parent 4632937 commit 5b7ce20

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -427,7 +427,7 @@ import { RCMap, Point } from 'rc-leaflet'
427427

428428
- by default, marker images zIndex is set automatically based on its latitude. Use this option if you want to put the marker on top of all others (or below), specifying a high value like 1000 (or high negative value, respectively).
429429

430-
- onClick, onMouseOver, onMouseOut
430+
- onClick, onMouseOver, onMouseOut, onCreate, onAdd, onBeforeRemove, onRemove
431431

432432
- type: `Function`
433433

@@ -576,7 +576,7 @@ import { RCMap, CircleMarker } from 'rc-leaflet'
576576

577577
- stroke width in pixels.
578578

579-
- onClick, onMouseOver, onMouseOut
579+
- onClick, onMouseOver, onMouseOut, onCreate, onAdd, onBeforeRemove, onRemove
580580

581581
- type: `Function`
582582

@@ -660,7 +660,7 @@ import { RCMap, Polyline } from 'rc-leaflet'
660660

661661
- stroke width in pixels.
662662

663-
- onClick, onMouseOver, onMouseOut
663+
- onClick, onMouseOver, onMouseOut, onCreate, onAdd, onBeforeRemove, onRemove
664664

665665
- type: `Function`
666666

UPDATE.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
## v1.2.1
2+
3+
- fix: Point.Content Bug fix.
4+
5+
- feature: feature: add onCreate, onAdd, onBeforeRemove, onRemove lifecycle hooks to components extends Layer, for plugin development.
6+
17
## v1.2.0
28

39
- remove: remove `content` prop of `DivIcon`, there are too many edge cases to handle with.

0 commit comments

Comments
 (0)