All notable changes to this project will be documented in this file. See standard-version for commit guidelines.
4.8.1 (2020-07-24)
- 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)
- add Angular 10 support (3976db7)
- showcase: a typo in 'Add custom localization for controls' example (cb7b3af)
4.7.1 (2020-07-20)
- 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)
4.5.0 (2020-03-02)
4.4.2 (2020-02-11)
4.4.1 (2020-02-09)
- markers-for-cluster: fix regression (0356a9c)
4.4.0 (2020-02-09)
4.3.0 (2019-12-06)
- add support for map controls localization (requires mapbox-gl >= 1.6.0) (c669619)
4.2.0 (2019-11-19)
4.1.0 (2019-10-23)
- add
clickTolerance
as an Input for MapComponent #135 (#190) (055f90e) - allow using mapbox-gl >= 1.1.0 (80cdfab)
- make sure showcase works with TypeScript 3.5.3 (cbaa95c)
4.0.1 (2019-10-13)
- popup: actually remove the popup from the map when a "feature" is used as an anchor (89f4aa4)
4.0.0 (2019-10-11)
- 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)
- update to angular 8 & other deps (57f6d6e)
- update to mapbox-gl 1.1.0 (1043b4f)
- marker: Add ability to specify className (close #172) (f7602c2)
- popup: Add support for className (#111) (#161) (3b30c90)
- popup: Add support for maxWidth (#180) (04d910b)
- 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)
- image: Handle coordinate update correctly (close #139)
- 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)
- map: Add safety check for MapService.mapInstance before attempting to remove (close #142) (cddeb2af)
- 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)
- 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)
- correct package.json (4a42008)
3.0.0 (2019-01-27)
- layer: use new interface MapLayerMouseEvent (1a5f369), closes #89
- map: add an additional setStyle() call (IE and Edge only) to prevent map loading issues on IE11 (see mapbox/mapbox-gl-js#4821 (comment)) (#87) (4aa72dc), closes /github.com/mapbox/mapbox-gl-js/issues/4821#issuecomment-358998674
- markerCluster: update change after data change (a71a79c), closes #71
- update mapbox-gl to 0.52.0 (39a0f30)
- Now support angular >= 7.2
2.3.2 (2018-12-17)
- 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)
- geocoder: workaround mapbox-gl-geocoder result issue firing twice (857ab77), closes #59
- mglImage: re-add image when style change (99a5bb7), closes #76
- 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)
- update support to mapbox-gl 0.49 (f45d965)
2.1.1 (2018-09-09)
2.1.0 (2018-09-09)
- update support to mapbox-gl 0.48 (063f67c)
- mglNavigation: add showCompass & showZoom inputs (b1428b0), closes #55
2.0.0 (2018-08-04)
- 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
- 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)
- full upgrade to angular 6 (& rxjs 6) (18577cf)
- 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)
- geocoder: add searchInput (dfd1cd2), closes #37
- markerCluster: expose supercluster by Ouput load event (a87bd6f)
1.1.0 (2018-05-11)
- 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)
- marker: remove line-height as it can incorrectly change the height (thus the position) of a marker (550f665)
- map: rename flyToOptions to movingOptions (5bd8982)
- map: Rename flyToOptions to movingOptions
1.0.0-rc.3 (2018-04-05)
- markerCluster: expose getChildren, getLeaves, getClusterExpansionZoom methods (11a0604)
1.0.0-rc.2 (2018-03-18)
- geojsonSource: add missing input (#23) (a38d06e)
- update mapbox-gl to 0.44.1 (814fc3a)
- map: wait for map created before handling changes (87a5da9)
- new control mglGeocoder
- public_api: Expose MapComponent (74d3886)
1.0.0-rc.1 (2018-02-11)
- popup: now easier to use (1ca82c1)
- draggable: add drag event emitters
1.0.0-rc.0 (2018-01-28)
- draggable: works again (9ae98df)
- markerCluster: include custom supercluster version (6ad4526)
- custom control ignored a supplied position (3253776)
1.0.0-beta.5 (2018-01-16)
1.0.0-beta.4 (2018-01-16)
- map: add display block 🤦♂️ (9f40d12), closes #11
- map: ensure layer are removed before source (9779693), closes #10
- corrected type definitons (853e4de)
- deps upgrade (2879c5d)
- cluster: add clusterComponent! (1cb6daa)
- also buffer popup and images to remove (2534739)
- Update to mapbox-gl 0.43.0
1.0.0-beta.3 (2017-12-18)
- 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)
- update deps (9f42a60)
- map, layer: only listen observed event (57bd275)
- rxjs >=5.5.0 is now required
- Now require angular 5 (sorry !)
1.0.0-beta.2 (2017-11-20)
- 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
- update to mapbox-gl 0.42.0 (3ae818f)
- 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)
- remove accidentally added @turf/random from deps... skip ci
1.0.0-beta.0 (2017-11-14)
- 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)
- layer: add mouseMove event (45f99ff)
- emit map instance on load output (17e9fe2)
- map: add cursorStyle input (3848618)
- popup: add close output (7e93c5a)
- MapComponent is no longer exposed in the package
- canvas: remove contextType
0.1.0-beta.0 (2017-10-29)
- feature draggable directive + example (1166346)
0.1.0-alpha.2 (2017-10-19)
- map: run output event inside ngZone (66f2caf)
- sources: add a guard to ensure that the source is added before onChanges (64f3f97)
- layer: add click/mouseEnter/mouseLeave Output (2dbabf4)
0.1.0-alpha.1 (2017-10-18)
- remove protractor-browser-logs from depenencies (52afa55)
First release !