All notable changes to this project will be documented in this file. See standard-version for commit guidelines.
1.16.2 (2022-07-19)
1.16.1 (2022-07-09)
1.16.0 (2022-07-09)
1.15.1 (2022-07-07)
- types: improve TypeScript type definitions (#378) (h/t @josh-cloudscape) (6ceb87e)
- add React 18 support (#375) (h/t @arnaskro) (1c92a5c)
1.15.0 (2022-03-17)
- layer: support context menu events (#372) (h/t @chwallen) (5a17c2d)
- add TypeScript type definitions (#357) (h/t @dellisd) (fd7b869)
1.14.4 (2021-11-11)
1.14.3 (2021-05-01)
1.14.2 (2020-09-20)
1.14.1 (2020-08-03)
- marker: properly remove onClick event listener on unmount (abc28ee)
1.14.0 (2020-08-02)
1.13.2 (2020-07-18)
- check style height and width in MapGL's componentDidUpdate (h/t @cazzer) (#298) (a310867), closes #272
- fix flow warnings (#300) (f8e72f5)
- marker: add new Marker props (#289) (3f25e74)
1.13.1 (2020-04-26)
1.13.0 (2020-02-14)
1.12.4 (2020-01-22)
1.12.3 (2019-11-26)
- return if map is undefind on unmount (#265) (h/t chinesejar) (f2cdd7f)
1.12.2 (2019-11-12)
- mapgl: add missing
antialias
prop (f363d94)
1.12.1 (2019-10-19)
- Always remove the event handlers before the Layer component is ummounted (#259) (h/t warborn) (a9bcffc)
1.12.0 (2019-09-24)
- filter: add validate prop (4ebe646)
- filter: set filter to undefined on unmount (ca1186e)
- filter: use Array.isArray to validate filter (ea99412)
1.11.2 (2019-09-17)
1.11.1 (2019-09-12)
1.11.0 (2019-09-11)
- source: add dynamic raster sources support (be3aa67), closes #247
- allow mapbox-gl >= 1.0 in peerDependencies (f68dbbb), closes #243
- update flow settings (de2a766)
- image source updates (0f8b070) (h/t chinesejar)
- trafficcontrol: add possibility to toggle traffic (eb120b8)
- TrafficControl: Add traffic control button (73e2326)
1.10.0 (2019-08-21)
1.9.1 (2019-08-20)
- source: chech if source exists when Source updated (d74608d)
1.9.0 (2019-08-11)
- Add support for the className prop of the Popup component (c8c8cf3)
1.8.0 (2019-07-05)
- Layer: support layer id updates (4b92d58)
- Layer: add Layer unmount test (5f16e78)
- MapGL: do not call onViewportChange if originalEvent is not present (ca0ac1c)
- Source: do not render children until loaded (eeb9167)
1.7.0 (2019-07-03)
- normalizeChildren: keep function children and handle empty children (61bdca9)
1.6.1 (2019-07-01)
- Layer: fix layer
before
prop updates #196 (adde8da) - MapGL: fix neted Layers ordering (#231) (b6e12ab)
1.6.0 (2019-04-16)
- Source: normalize Source children (a53a840)
- LanguageControl: add possibility to set language (8a0eca3)
1.5.0 (2019-04-11)
- Source: allow add Layers as children components in Source (73e2d45)
1.4.0 (2019-04-08)
- Source: remove dependent layers on componentWillUnmount (3f228af)
1.3.0 (2019-03-31)
- Control: Add LanguageControl (e207dd6) (h/t Tuizi)
- Marker: add drag and dragstart events (#173) (87313ed) (h/t boyur)
1.2.0 (2019-03-27)
- check for map style on components unmounting (7634b7b)
1.1.0 (2019-03-27)
1.0.0 (2019-03-14)
- CustomLayer: fix layer id getter (dd278ed), closes #163
- MapGL: rewrite layers ordering with normalizeChildren #163 (47c7cb8)
1.0.0-beta.0 (2019-03-11)
- Cluster: move Cluster component to separate package (6b09f97)
- FeatureState: add FeatureState component (91b9fc8)
- Cluster: Cluster component was moved to separate package @urbica/react-map-gl-cluster
1.0.0-alpha.4 (2019-03-06)
- MapGL: add viewportChangeMethod and viewportChangeOptions props (85a04b7)
- Source: drop separate source components (012f030)
- MapGL: default map viewportChangeMethod changed to jumpTo
- Source: remove GeoJSONSource and VectorSource, use Source with type prop instead
1.0.0-alpha.3 (2019-03-05)
1.0.0-alpha.2 (2019-03-05)
1.0.0-alpha.1 (2019-03-05)
1.0.0-alpha.0 (2019-03-04)
- 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)
- Cluster: rename
element
prop tocomponent
and no longer wrap it in Marker - Marker: element prop was removed, use children instead
- Popup: element prop was removed, use children instead
0.7.0-beta.1 (2019-02-01)
- MapContext: expose MapContext (f933dcf)
0.7.0-beta.0 (2019-01-31)
- AttributionControl: add AttributionControl (71418d4)
- CustomLayer: add CustomLayer support (c26e56c)
- FullscreenControl: add FullscreenControl (4776dd8)
- GeolocateControl: add GeolocateControl (8fdda19)
- ScaleControl: add ScaleControl (b434cac)
0.6.0 (2019-01-17)
- MapGL: handle previous props in _updateMapViewport (643c38d)
- throw an error if layer or source props is not an Immutable objects (a43b320)
- Marker: add drag support (10c41f6)
0.6.0-beta.19 (2019-01-15)
- improve flow typings (d81a82b)
- improve flow typings (ca1a3e8)
- Layer: make radius prop optional (ab79712)
- update dependencies (920666e)
- supercluster peer dependency is updated to 5.0.0
0.6.0-beta.18 (2018-10-15)
- switch to class properties (d31a2f9)
0.6.0-beta.17 (2018-09-27)
- Marker: Re-render Marker if position changed (@matis-dk 4fa6126)
0.6.0-beta.16 (2018-09-25)
- fix mapbox-gl flow types import (7b40115)
- Cluster: remove moveend handler on componentWillUnmount (230bac5)
- Marker: unmount Marker container on componentWillUnmount (d57852a)
0.6.0-beta.15 (2018-08-14)
- 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)
- remove external dependencies (2a8392c)
- Popup: Popup onPopupClose prop is renamed to onClick
- supercluster is a peer dependency now
0.6.0-beta.14 (2018-05-31)
0.6.0-beta.13 (2018-05-25)
0.6.0-beta.12 (2018-05-22)
- Popup: add Popup component (c08f524)
0.6.0-beta.11 (2018-04-20)
- MapGL: fix layer before prop passing (7ab5f4f)
0.6.0-beta.10 (2018-03-07)
- MapGL: preserve children on mapStyle updates (b0381fb)
0.6.0-beta.9 (2018-03-01)
- MapContext: use create-react-context polyfill (557f196)
- package: update create-react-context to version 0.2.0 (#36) (64328bb)
- fix react version (51093ee)
0.6.0-beta.9 (2018-03-01)
- MapContext: use create-react-context polyfill (557f196)
- package: update create-react-context to version 0.2.0 (#36) (64328bb)
- fix react version (51093ee)
0.6.0-beta.8 (2018-02-15)
- Source: remove dependent layers on source removal and support vector source tiles update (99d3390)
- switch to next React Context API (6c26667)
0.6.0-beta.7 (2018-02-15)
- Source: remove dependent layers on source removal and support vector source tiles update (99d3390)
- switch to next React Context API (6c26667)
0.6.0-beta.6 (2018-02-14)
- package: update @turf/helpers to version 6.0.0 (#30) (7c93762)
- add localIdeographFontFamily, transformRequest and collectResourceTiming props (25d7b0c)
0.6.0-beta.5 (2017-12-21)
- Layer: check for before layer existance (8b5bbbd)
0.6.0-beta.4 (2017-12-19)
0.6.0-beta.3 (2017-12-19)
- Layer: add immutable paint and layout properties support (a3c1e82)
0.6.0-beta.2 (2017-12-19)
- MapGL: fix layers ordering issue (03c9b16)
- package: update @turf/helpers to version 5.1.0 (#10) (0e87072)
- package: update @turf/helpers to version 5.1.4 (#14) (a3edc4d)
0.6.0-beta.1 (2017-12-01)
0.6.0-beta.0 (2017-12-01)
- SSR: do not require mapbox-gl on non-browser environments (2b1ebe1)
0.5.3 (2017-11-23)
0.5.2 (2017-11-20)
0.5.1 (2017-11-17)
- Cluster: recreate cluster on new props (24509ea)
0.5.0 (2017-11-14)
- Cluster: add Cluster component (330d6e6)
0.4.2 (2017-11-13)
- MapGL: _updateMapStyle equality check (7b00541)
0.4.1 (2017-11-13)
- rebuild dist bundle (aafbcd0)
0.4.0 (2017-11-13)
- MapGL: emit onViewportChange only if user interacted with map (73555ee)
- Marker: add Marker component (a5ed563)
0.3.2 (2017-11-02)
- Map: add scrollZoom prop (e916c87)
0.3.1 (2017-10-20)
- MapGL: add getMap method to access map instance (df79111)
0.3.0 (2017-10-20)
- introduce Source and Layer components as MapGL children (da5d660)
- Layer: introduce onEnter and onLeave props (684cb05)
- MapGL: add a lot of Mapbox GL JS Map options as MapGL props (b9a6649)
- MapGL: add renderWorldCopies prop (a33a944)
0.2.2 (2017-09-18)
- do not handle viewport changes if there is no onViewportChange prop (285c22d)
0.2.1 (2017-09-15)
0.2.0 (2017-09-12)
- fix default export (ce3bc75)