Skip to content

Latest commit

 

History

History
651 lines (363 loc) · 30.7 KB

CHANGELOG.md

File metadata and controls

651 lines (363 loc) · 30.7 KB

Changelog

All notable changes to this project will be documented in this file. See standard-version for commit guidelines.

10.0.0 (2023-06-13)

⚠ BREAKING CHANGES

  • Updated to Angular 16
  • map: Change mapLoad event to a MapboxEvent for consistency

Features

  • map: add mapCreate event (2bf954f)

Bug Fixes

  • adjust package json compat (ed3ab67)
  • set baseApiUrl rather than assign config.API_URL which is now a getter (#395) (2078155)

9.1.0 (2022-08-06)

Features

  • Upgrade mapbox-gl support to v2.9.2 (606a7eb)

9.0.0 (2022-07-27)

⚠ BREAKING CHANGES

  • Remove ngx-mapbox-gl-geocoder

  • Update to Angular 14

  • Move to nx & Update to Angular 14 (301f0bf)

  • remove ngx-mapbox-gl-geocoder (PR welcome) & e2e tests (for now) (53d2f1c)

8.0.0 (2022-06-11)

⚠ BREAKING CHANGES

  • Update to Angular 13

build

7.1.2 (2021-10-08)

Bug Fixes

  • 'falsy' pitch & bearings changes are ignored #334 (6d6a9a9)

7.1.1 (2021-10-07)

Bug Fixes

  • check map instance source on undefined (#333) (d2413bf)

7.1.0 (2021-08-13)

Features

  • add closeOnMove and focusAfterOpen init-only inputs to mgl-popup #325 (d8003c1)

7.0.1 (2021-06-24)

Bug Fixes

7.0.0 (2021-06-23)

⚠ BREAKING CHANGES

  • move the geocoding control to a separate library (#300) (fb4803e)

Bug Fixes

  • exception when accessing to MapService.getSource (#313) (095e13d)

6.0.4 (2021-02-17)

6.0.3 (2021-02-09)

Bug Fixes

6.0.2 (2021-02-09)

Bug Fixes

  • declare Position interface for geolocate-control (#276) (5bc2639)

6.0.1 (2021-02-03)

Bug Fixes

  • deps: add @types/mapbox__mapbox-gl-geocoder (#274) (e4b058c)

6.0.0 (2021-01-29)

⚠ BREAKING CHANGES

  • Updating mapbox-gl from 1.1.0 to 2.0.1 may break existing code
  • Dropped Angular 8 support

Features

  • Update to mapbox-gl 2.0.1
  • Add Angular 11 support

5.0.0 (2020-12-13)

⚠ BREAKING CHANGES

  • mglDraggable: Remove marker support for mglDraggable (use draggable input instead)
  • Remove undocumented resize API
  • Updating mapbox-gl from 1.1.0 to 1.12.0 may cause breaking change

Features

  • update to mapbox-gl 1.13.0 (a8b7eea)
  • mglDraggable: remove marker support (7e14744)
  • update to mapbox-gl 1.12.0 (#253) (eddbda7)

Bug Fixes

  • draggable: fix incorrect use of takeUntil (f8a7698)
  • Change many outputs to avoid confusion (fix #107) (7b50fd8)

showcase

  • refactor whole app & add doc versionning (33bb369)

4.8.1 (2020-07-24)

Bug Fixes

  • attempting to delete a custom control to the map if it was not actually added there (happens if there was an exception during markers initialization) #199 (503730b)

4.8.0 (2020-07-20)

Features

Bug Fixes

  • showcase: a typo in 'Add custom localization for controls' example (cb7b3af)

4.7.1 (2020-07-20)

Features

  • Marker: add pitch/rotation alignment options to the Marker component. (#226) (1a61e62)

Bug Fixes

  • definition of NgxMapboxGLModule so it works with Angular 10 (9646f98)
  • rjxs subscription leaks resulting in attempts to create sources multiple times (beddec1)

4.6.0 (2020-06-18)

Features

  • marker: add pitch/rotation alignment options to the Marker component. (#226) (1a61e62)

4.5.0 (2020-03-02)

Features

4.4.2 (2020-02-11)

Bug Fixes

  • markers-for-clusters: handle multiple cluster correctly (3af48a4), closes #206

4.4.1 (2020-02-09)

Bug Fixes

  • markers-for-cluster: fix regression (0356a9c)

4.4.0 (2020-02-09)

Features

  • markers-for-cluster: support dynamic cluster data change (#209) (3e0ccad), closes #206

4.3.0 (2019-12-06)

Features

  • add support for map controls localization (requires mapbox-gl >= 1.6.0) (c669619)

4.2.0 (2019-11-19)

Features

  • mglGeolocate: add 'geolocate' event output to component (#193) (adb9382)

4.1.0 (2019-10-23)

Features

  • add clickTolerance as an Input for MapComponent #135 (#190) (055f90e)
  • allow using mapbox-gl >= 1.1.0 (80cdfab)

Bug Fixes

  • make sure showcase works with TypeScript 3.5.3 (cbaa95c)

4.0.1 (2019-10-13)

Bug Fixes

  • popup: actually remove the popup from the map when a "feature" is used as an anchor (89f4aa4)

4.0.0 (2019-10-11)

Bug Fixes

  • controls: Fix control order when using custom controls alongside built-in controls (fix #75) (10612f0)
  • geocoder: change property name for country option to countries (781adc4)

Features

Refactor

  • marker: remove old css hack (now fixed in mapbox-gl) (close #114) (9864932)

BREAKING CHANGES

  • Update to angular 8. Drop support of Angular 7 Also drop support of rxjs < 6.5.0
  • Since mapbox-gl 1.0, there's a new pricing model. If you use mapbox services, please check https://github.com/mapbox/mapbox-gl-js/releases/tag/v1.0.0 for more info
  • marker: You may be affected by this change, if you use html markers with custom css.

3.3.0 (2019-07-03)

Bug Fixes

  • image: Handle coordinate update correctly (close #139)

Features

  • controls: added input for customAttributions to attribution-control directive (c93e118)
  • map: support antialias option (close #148) (b03d8f8)
  • map: support styleimagemissing event (056b61f)
  • update mapbox-gl to 0.54.0 (fcc0a58)

3.2.0 (2019-06-08)

Bug Fixes

  • map: Add safety check for MapService.mapInstance before attempting to remove (close #142) (cddeb2af)

Features

  • expose MAPBOX_GEOCODER_API_KEY (close #152) (67be0b4)
  • markers-for-cluster: new component markers-for-cluster (a5b97f6)
  • geojson-source: expose getClusterExpansionZoom getClusterChildren getClusterLeaves functions (40bf0852)

Deprecate mgl-marker-cluster

3.1.0 (2019-04-07)

Bug Fixes

  • map: exposing error event data to directive output. (#127) (a611858)

Features

  • map: add bounds input (new as mapbox-gl 0.53.0) (157b28f)
  • update to mapbox-gl 0.53.1 and fix compilation errors (#128) (ed6634c)
  • marker: Add popupShown Input binding to marker.component (#113) (1b0fed8)

3.0.1 (2019-01-27)

Bug Fixes

3.0.0 (2019-01-27)

Bug Fixes

build

  • update angular & fix issues with newer ts (9fc58ca), closes #90

Features

  • update mapbox-gl to 0.52.0 (39a0f30)

BREAKING CHANGES

  • Now support angular >= 7.2

2.3.2 (2018-12-17)

Bug Fixes

  • layer: fix layer event not being binded (b7fbb89), closes #84
  • map: fitBounds: handle fitBounds at init (d10ff55), closes #74
  • map: fitScreenCoordinates: handle fitScreenCoordinates at init (1126410)

2.3.1 (2018-12-10)

2.3.0 (2018-12-09)

Bug Fixes

  • geocoder: workaround mapbox-gl-geocoder result issue firing twice (857ab77), closes #59
  • mglImage: re-add image when style change (99a5bb7), closes #76

Features

  • Export control component, for custom control directives (#79) (458c3f7), closes #78
  • update support to mapbox-gl 0.51 (2dddec8)

2.2.0 (2018-10-09)

Bug Fixes

  • control: add safety check to ngOnDestroy (5b63325), closes #53

Features

  • update support to mapbox-gl 0.49 (f45d965)

2.1.1 (2018-09-09)

2.1.0 (2018-09-09)

Bug Fixes

  • clustering: get correct viewport box (a864d3f), closes #54

Features

  • update support to mapbox-gl 0.48 (063f67c)
  • mglNavigation: add showCompass & showZoom inputs (b1428b0), closes #55

2.0.0 (2018-08-04)

Bug Fixes

  • re-add sources and layers after style change (4c49629), closes #43
  • popup: do not send open/close event when moving an opened popup (2b6f712), closes #48

Features

  • update mapbox-gl to 0.47.0 (69739bf)
  • popup: add feature input (df15d48), closes #38

BREAKING CHANGES

  • Update mapbox-gl to 0.47.0
  • Deprecate mglDraggable on Marker (now supported by mapbox-gl directly)

2.0.0-beta.0 (2018-06-16)

Features

  • full upgrade to angular 6 (& rxjs 6) (18577cf)

BREAKING CHANGES

  • Now angular 6 compatible only

NgxMapboxGLModule.forRoot changed to NgxMapboxGLModule.withConfig

1.2.1-beta.0 (2018-06-16)

1.2.0 (2018-05-21)

Bug Fixes

  • markerCluster: run clustering inside NgZone (e708040), closes #36

Features

  • geocoder: add searchInput (dfd1cd2), closes #37
  • markerCluster: expose supercluster by Ouput load event (a87bd6f)

1.1.0 (2018-05-11)

Features

  • update mapbox-gl to 0.45.0 (339562c)
  • map: add wheel event (from mapbox-gl v0.45.0) (8daaebe)
  • marker: add anchor input (new with mapbox-gl v0.45.0) (e4920ad)
  • popup: add open event (from mapbox-gl v0.45.0) (c417d82)
  • scaleControl: unit is now dynamic (new with mapbox-gl v0.45.0) (3d72ac0)

1.0.0 (2018-05-01)

Bug Fixes

  • marker: remove line-height as it can incorrectly change the height (thus the position) of a marker (550f665)

Code Refactoring

  • map: rename flyToOptions to movingOptions (5bd8982)

Features

  • draggable: support draggable on Marker! (8aa02a8)
  • map: add panToOptions (171957b)

BREAKING CHANGES

  • map: Rename flyToOptions to movingOptions

1.0.0-rc.3 (2018-04-05)

Features

  • markerCluster: expose getChildren, getLeaves, getClusterExpansionZoom methods (11a0604)

1.0.0-rc.2 (2018-03-18)

Bug Fixes

  • geojsonSource: add missing input (#23) (a38d06e)
  • update mapbox-gl to 0.44.1 (814fc3a)
  • map: wait for map created before handling changes (87a5da9)

Features

  • new control mglGeocoder
  • public_api: Expose MapComponent (74d3886)

1.0.0-rc.1 (2018-02-11)

Bug Fixes

  • popup: now easier to use (1ca82c1)

Features

  • draggable: add drag event emitters

1.0.0-rc.0 (2018-01-28)

Bug Fixes

  • draggable: works again (9ae98df)
  • markerCluster: include custom supercluster version (6ad4526)
  • custom control ignored a supplied position (3253776)

Features

  • expose MapService for ngx-mapbox-gl extensions (908b8fe), closes #19

1.0.0-beta.5 (2018-01-16)

1.0.0-beta.4 (2018-01-16)

Bug Fixes

  • map: add display block 🤦‍♂️ (9f40d12), closes #11
  • map: ensure layer are removed before source (9779693), closes #10
  • corrected type definitons (853e4de)

build

Features

  • cluster: add clusterComponent! (1cb6daa)

Performance Improvements

  • also buffer popup and images to remove (2534739)

BREAKING CHANGES

  • Update to mapbox-gl 0.43.0

1.0.0-beta.3 (2017-12-18)

Bug Fixes

  • add guard to ngOnDestroy of each components (311cbb9)
  • use rxjs lettable operators (73530cd)
  • image: add a loaded event (32c4557)
  • map: implement fitBounds (0234881)
  • map: wait for onStable before initializing mapbox-gl (ebc2fe9)

build

Performance Improvements

  • map, layer: only listen observed event (57bd275)

BREAKING CHANGES

  • rxjs >=5.5.0 is now required
  • Now require angular 5 (sorry !)

1.0.0-beta.2 (2017-11-20)

Bug Fixes

  • geojsonSource: protect onDestroy (ac8172e), closes #6
  • image: addImage seems to need to wait for mapLoaded now (cd51115)
  • layer: type is not optional (b9edaac), closes #4
  • map: rename zoomChange and pitchChange events (0142f88)
  • map: zoom/bearing/pitch inputs are now an array (0c19c5f), closes #2

Features

  • update to mapbox-gl 0.42.0 (3ae818f)

BREAKING CHANGES

  • map: zoom/bearing/pitch inputs are now an array. This allow to force input changes for theses inputs
  • map: Rename zoomChange and pitchChange events to zoomEvt and pitchEvt, because the "Change" suffix allow incorrecty two-way binding.

1.0.0-beta.1 (2017-11-15)

Bug Fixes

  • remove accidentally added @turf/random from deps... skip ci

1.0.0-beta.0 (2017-11-14)

Bug Fixes

  • canvas: remove contextType (3ca702c)
  • geojsonSource: adjust cluster input type (4ae0151)
  • use AsyncSubject for internal load event (456013a)
  • geojsonSource: fill data with empty FeatureCollection (a8df1cd)
  • map: customMapboxApiUrl now correctly set API_URL (ef295a3)
  • map: remove duplicate load event listener (c92da66)
  • marker: set offset as optionnal (4f60ce1)

Features

  • layer: add mouseMove event (45f99ff)
  • emit map instance on load output (17e9fe2)
  • map: add cursorStyle input (3848618)
  • popup: add close output (7e93c5a)

BREAKING CHANGES

  • MapComponent is no longer exposed in the package
  • canvas: remove contextType

0.1.0-beta.0 (2017-10-29)

Features

  • feature draggable directive + example (1166346)

0.1.0-alpha.2 (2017-10-19)

Bug Fixes

  • map: run output event inside ngZone (66f2caf)
  • sources: add a guard to ensure that the source is added before onChanges (64f3f97)

Features

  • layer: add click/mouseEnter/mouseLeave Output (2dbabf4)

0.1.0-alpha.1 (2017-10-18)

Bug Fixes

  • remove protractor-browser-logs from depenencies (52afa55)

0.1.0-alpha.0 (2017-10-18)

First release !