Skip to content

Latest commit

 

History

History
126 lines (67 loc) · 3.64 KB

CHANGELOG.md

File metadata and controls

126 lines (67 loc) · 3.64 KB

v1.4.2

  • 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.

v1.4.1

  • feature: totally rewrite MassPoints, now it supports multi icons, mouse events, and DivOverlay render props.

v1.4.0

v1.2.2

  • fix: MassPoints createInstance this Bug.

  • feature: add onUpdate lifecycle hook to components extends Layer, for plugin development.

v1.2.1

  • fix: Point.Content Bug fix.

  • feature: add onCreate, onAdd, onBeforeRemove, onRemove lifecycle hooks to components extends Layer, for plugin development.

v1.2.0

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

  • feature: new Component Point.Content, used to replace content prop of DivIcon.

  • 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.

v1.1.3

  • fix: handle the edge case when layer of DivOverlay is changed.

v1.1.2

  • fix: unbind map events when MassPoints is unmounted.

v1.1.1

  • fix: RCMap bounds Bug

v1.1.0

  • feature: new Component MassPoints.

  • feature: new Component ClusterPoints.

  • feature: RCMap supports all leaflet options.

  • fix: Icon and DivIcon can not update.

  • fix: Icon and DivIcon defaultProps problem.

  • fix: Theme does not work at first time.


v1.0.2

  • feature: RCMap supports onZoom, onZoomStart, onZoomEnd callbacks.

v1.0.1

  • feature: DivIcon supports single jsx element.

    let Content = (
      <div>
        <div>content row.</div>
        <div>content row.</div>
      </div>
    )
    
    <DivIcon content={Content}>
  • fix: Popup and Tooltip can not display jsx when they are under point.


v1.0.0

  • RCMap published.