Skip to content

v1.0.0

Compare
Choose a tag to compare
@stepankuzmin stepankuzmin released this 14 Mar 15:50
v1.0.0
1bd78d2

Bug Fixes

  • CustomLayer: fix layer id getter (dd278ed), closes #163
  • MapGL: rewrite layers ordering with normalizeChildren #163 (47c7cb8)
  • MapGL: fix flow typings (84896f6)
  • MapGL: fix refs in children render (f038200)

Code Refactoring

  • Cluster: do not wrap user provided component in Marker by default (9dbbdf1)
  • Marker: switch to portal for rendering Marker content (a3611d4)
  • Popup: switch to portal for rendering popup content (3030747)

Features

  • FeatureState: add FeatureState component (91b9fc8)
  • MapGL: add viewportChangeMethod and viewportChangeOptions props (85a04b7)

BREAKING CHANGES

  • Cluster: Cluster component was moved to separate package @urbica/react-map-gl-cluster
  • MapGL: default map viewportChangeMethod changed to jumpTo
  • Marker: element prop was removed, use children instead
  • Popup: element prop was removed, use children instead