-
feature: MassPoints new props.
-
throttleThreshold
-
type:
number -
required:
false -
default
20480 -
when
points.length>throttleThreshold,MassPointswill use throttled draw function
-
-
throttleDuration default
-
type:
number -
required:
false -
default
60 -
used in throttled draw function, draw points per
throttleDurationms
-
-
-
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
DivOverlayrender 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
contentprop ofDivIcon, there are too many edge cases to handle with. -
feature: new Component Point.Content, used to replace
contentprop ofDivIcon. -
feature: new Components, export all abstract Components for plugin development.
-
feature: add
TileLayers.OpenStreetMap,TileLayers.GoogleMapconfig. -
feature: new Components
TileLayer.BMap,TileLayer.AMap,TileLayer.OpenStreetMap,TileLayer.GoogleMap, see TileLayer.
- fix: handle the edge case when layer of
DivOverlayis changed.
- fix: unbind map events when MassPoints is unmounted.
- fix:
RCMapboundsBug
-
feature: new Component MassPoints.
-
feature: new Component ClusterPoints.
-
feature:
RCMapsupports all leaflet options. -
fix:
IconandDivIconcan not update. -
fix:
IconandDivIcondefaultProps problem. -
fix:
Themedoes not work at first time.
- feature:
RCMapsupports onZoom, onZoomStart, onZoomEnd callbacks.
-
feature:
DivIconsupports single jsx element.let Content = ( <div> <div>content row.</div> <div>content row.</div> </div> ) <DivIcon content={Content}>
-
fix:
PopupandTooltipcan not display jsx when they are under point.
RCMappublished.