-
feature: MassPoints new props.
-
throttleThreshold
-
type:
number
-
required:
false
-
default
20480
-
when
points.length
>throttleThreshold
,MassPoints
will use throttled draw function
-
-
throttleDuration default
-
type:
number
-
required:
false
-
default
60
-
used in throttled draw function, draw points per
throttleDuration
ms
-
-
-
fix: MassPoints layer drift when zoom is small.
-
fix: MassPoints is static duration zoom animation.
- feature: totally rewrite MassPoints, now it supports multi icons, mouse events, and
DivOverlay
render props.
-
feature: new Component LayerGroup.
-
feature: new Component FeatureGroup.
-
feature: new Component GeoJSON.
-
feature: new Component ImageOverlay.
-
feature: new Component VideoOverlay.
-
feature: new Component SVGOverlay.
-
fix: MassPoints createInstance this
Bug
. -
feature: add onUpdate lifecycle hook to components extends Layer, for plugin development.
-
fix: Point.Content Bug fix.
-
feature: add onCreate, onAdd, onBeforeRemove, onRemove lifecycle hooks to components extends Layer, for plugin development.
-
remove: remove
content
prop ofDivIcon
, there are too many edge cases to handle with. -
feature: new Component Point.Content, used to replace
content
prop ofDivIcon
. -
feature: new Components, export all abstract Components for plugin development.
-
feature: add
TileLayers.OpenStreetMap
,TileLayers.GoogleMap
config. -
feature: new Components
TileLayer.BMap
,TileLayer.AMap
,TileLayer.OpenStreetMap
,TileLayer.GoogleMap
, see TileLayer.
- fix: handle the edge case when layer of
DivOverlay
is changed.
- fix: unbind map events when MassPoints is unmounted.
- fix:
RCMap
bounds
Bug
-
feature: new Component MassPoints.
-
feature: new Component ClusterPoints.
-
feature:
RCMap
supports all leaflet options. -
fix:
Icon
andDivIcon
can not update. -
fix:
Icon
andDivIcon
defaultProps problem. -
fix:
Theme
does not work at first time.
- feature:
RCMap
supports onZoom, onZoomStart, onZoomEnd callbacks.
-
feature:
DivIcon
supports single jsx element.let Content = ( <div> <div>content row.</div> <div>content row.</div> </div> ) <DivIcon content={Content}>
-
fix:
Popup
andTooltip
can not display jsx when they are under point.
RCMap
published.