Skip to content

Releases: urbica/react-map-gl

v1.5.0

11 Apr 12:42
v1.5.0
07b59cc
Compare
Choose a tag to compare

Features

  • Source: allow add Layers as children components in Source (73e2d45)

v1.4.0

08 Apr 14:24
v1.4.0
56f978f
Compare
Choose a tag to compare

Bug Fixes

  • Source: remove dependent layers on componentWillUnmount (3f228af)

Features

v1.3.0

31 Mar 18:00
v1.3.0
3a149fd
Compare
Choose a tag to compare

Features

v1.0.0

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

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

01 Feb 14:50
Compare
Choose a tag to compare

Features

  • MapContext: expose MapContext (f933dcf)

v0.7.0-beta.0

31 Jan 12:27
Compare
Choose a tag to compare

Features

  • AttributionControl: add AttributionControl (71418d4)
  • CustomLayer: add CustomLayer support (c26e56c)
  • FullscreenControl: add FullscreenControl (4776dd8)
  • GeolocateControl: add GeolocateControl (8fdda19)
  • ScaleControl: add ScaleControl (b434cac)

v0.6.0

17 Jan 10:29
Compare
Choose a tag to compare

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

15 Jan 11:14
Compare
Choose a tag to compare

Bug Fixes

  • improve flow typings (d81a82b)
  • improve flow typings (ca1a3e8)
  • Layer: make radius prop optional (ab79712)

Chores

Features

  • NavigationControl: add NavigationControl #116 (34ae92f)

BREAKING CHANGES

  • supercluster peer dependency is updated to 5.0.0

v0.6.0-beta.18

15 Oct 10:20
Compare
Choose a tag to compare
v0.6.0-beta.18 Pre-release
Pre-release

Bug Fixes

  • switch to class properties (d31a2f9)

Features

v0.6.0-beta.15

14 Aug 15:19
Compare
Choose a tag to compare
v0.6.0-beta.15 Pre-release
Pre-release

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