Releases: urbica/react-map-gl
Releases · urbica/react-map-gl
v1.5.0
v1.4.0
Bug Fixes
- Source: remove dependent layers on
componentWillUnmount
(3f228af)
Features
- Source: add dynamic update for vector sources mapbox/mapbox-gl-js#8048 (7bcd8d7)
v1.3.0
v1.0.0
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
v0.7.0-beta.1
Features
- MapContext: expose MapContext (f933dcf)
v0.7.0-beta.0
v0.6.0
Bug Fixes
- MapGL: fix layers ordering issue (03c9b16)
- Layer: add immutable paint and layout properties support (a3c1e82)
- Layer: check for before layer existance (8b5bbbd)
- package: update @turf/helpers to version 6.0.0 (#30) (7c93762)
- add localIdeographFontFamily, transformRequest and collectResourceTiming props (25d7b0c)
- Source: remove dependent layers on source removal and support vector source tiles update (99d3390)
- MapContext: use create-react-context polyfill (557f196)
- package: update create-react-context to version 0.2.0 (#36) (64328bb)
- MapContext: use create-react-context polyfill (557f196)
- package: update create-react-context to version 0.2.0 (#36) (64328bb)
- MapGL: preserve children on mapStyle updates (b0381fb)
- MapGL: fix layer before prop passing (7ab5f4f)
- layer filters can be deep nested List now (#49) (665a8e0)
- add onPopupClose prop for Popup (#60) (b1735a4)
- Layer: fix props type definitions (20655d1)
- change deprecated componentWillReceiveProps to componentDidUpdate (b7bfa80)
- fix propTypes defaults (e687a16)
- MapGL: reverse layers paint order to respect layers before prop (107bb38)
- Popup: rename onPopupClose to onClose (8591e3d)
- fix mapbox-gl flow types import (7b40115)
- Cluster: remove moveend handler on componentWillUnmount (230bac5)
- Marker: unmount Marker container on componentWillUnmount (d57852a)
- Marker: Re-render Marker if position changed (@matis-dk 4fa6126)
- switch to class properties (d31a2f9)
- supercluster peer dependency is updated to 5.0.0
- improve flow typings (ca1a3e8)
- Layer: make radius prop optional (ab79712)
- MapGL: handle previous props in _updateMapViewport (643c38d)
- throw an error if layer or source props is not an Immutable objects (a43b320)
Features
- SSR: do not require mapbox-gl on non-browser environments (2b1ebe1)
- switch to next React Context API (6c26667)
- Popup: add Popup component (c08f524)
- MapGL: add cursorStyle prop (73294d3)
- MapGL: add mapbox-gl event listener props support (c0b1ec5)
- add React v15 support (@boyur #105) (f5defa6)
- NavigationControl: add NavigationControl #116 (34ae92f)
- Marker: add drag support (10c41f6)
Code Refactoring
- remove external dependencies (2a8392c)
BREAKING CHANGES
- Popup: Popup onPopupClose prop is renamed to onClick
- supercluster is a peer dependency now
v0.6.0-beta.19
v0.6.0-beta.18
v0.6.0-beta.15
Bug Fixes
- add onPopupClose prop for Popup (#60) (b1735a4)
- Layer: fix props type definitions (20655d1)
- change deprecated componentWillReceiveProps to componentDidUpdate (b7bfa80)
- fix propTypes defaults (e687a16)
- MapGL: reverse layers paint order to respect layers before prop (107bb38)
- Popup: rename onPopupClose to onClose (8591e3d)
Code Refactoring
- remove external dependencies (2a8392c)
BREAKING CHANGES
- Popup: Popup onPopupClose prop is renamed to onClick
- supercluster is a peer dependency now