Files
FarmMapsLib/projects/ng-openlayers/CHANGELOG.md
Peter Bastiani 9cc581dd3d
Some checks failed
FarmMaps.Develop/FarmMapsLib/pipeline/head There was a failure building this commit
AW-6526 update angular 21
2026-01-19 12:19:09 +01:00

38 KiB

Changelog

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

20.0.1 (2026-01-13)

Bug Fixes

  • LayerImageComponent, LayerTileComponent, LayerVectorComponent and LayerVectorTileComponent inputs are not applied (dd03fbb), closes #348

20.0.0 (2025-12-18)

⚠ BREAKING CHANGES

  • Angular 18 is no more supported
  • ol peer dependency is now ~10.7.0

build

19.1.3 (2025-11-06)

19.1.2 (2025-11-06)

19.1.1 (2025-11-06)

19.1.0 (2025-11-06)

Features

19.0.0 (2025-10-02)

⚠ BREAKING CHANGES

  • Angular 17 is no more supported

build

18.0.2 (2025-06-23)

Bug Fixes

18.0.1 (2025-06-17)

18.0.0 (2025-06-17)

⚠ BREAKING CHANGES

  • Angular 16 is no more supported

  • ol peer dep is now ~10.5.0

  • see all breaking changes from ol 10.0.0 (https://github.com/openlayers/openlayers/blob/main/changelog/v10.0.0.md)

  • ol peer dep is now ~9.2.4

  • see all breaking changes from ol 9.0.0 (https://github.com/openlayers/openlayers/blob/main/changelog/v9.0.0.md)

  • Angular 15 is no more supported

  • ol peer dep is now 8.2.0

  • see all breaking changes from ol 8.0.0 (https://github.com/openlayers/openlayers/blob/main/changelog/upgrade-notes.md#800)

  • Angular 14 is no more supported

  • ol peer dep is now ~7.5.2

  • see all breaking changes from ol 7.0.0 (https://github.com/openlayers/openlayers/blob/main/changelog/upgrade-notes.md#700)

  • see all breaking changes from ol 7.1.0 (https://github.com/openlayers/openlayers/blob/main/changelog/upgrade-notes.md#710)

  • see all breaking changes from ol 7.2.0 (https://github.com/openlayers/openlayers/blob/main/changelog/upgrade-notes.md#720)

  • see all breaking changes from ol 7.5.0 (https://github.com/openlayers/openlayers/blob/main/changelog/upgrade-notes.md#750)

  • ol peer dep is now ~6.15.1

  • DrawInteractionComponent : input type is now of type Type

  • SourceImageWMSComponent : input serverType is now of type ServerType

  • OverlayComponent : input positioning is now of type Positioning

  • SourceTileWMSComponent : input projection is now of type ProjectionLike and input serverType is now of type ServerType

  • SourceTileWMTSComponent : input requestEncoding is now of type RequestEncoding

  • all components inputs of type Element or Node are now of type HTMLElement

  • all olChangeActive and propertyChange outputs are now EventEmitter<ObjectEvent>

  • FormatMVTComponent : input featureClass is now of type FeatureClass

  • DragAndDropInteractionComponent : input formatConstructors is now of type FeatureFormat[]

  • LayerComponent : prerender and postrender inputs functions should now manage events of type RenderEvent

  • SourceImageArcGISRestComponent : attributions input is now of type AttributionLike

  • SourceTileWMTSComponent : tileGrid input is now of type WMTSTileGrid

  • SourceUTFGridComponent : tileJSON input is now of type Config

  • StyleCircleComponent : snapToPixel and atlasManager have been removed

  • StyleIconComponent : img input is now of type HTMLImageElement | HTMLCanvasElement

  • MapComponent : prerender output has been removed, precompose output has been added. olClick, dblClick, pointerDrag, pointerMove, singleClick outputs are now of type EventEmitter<MapBrowserEvent<UIEvent>>

  • ViewComponent : changeZoom output has been removed

  • geom: The coordinates input on CollectionCoordinatesComponent is not anymore limited to type [number, number][], but it supports all types of coordinates. That means the existing code must be updated for polygons:

    Old style:

    <aol-feature>
        <aol-geometry-polygon>
            <aol-collection-coordinates
                [coordinates]="[[5, 45],[5.05, 45.05],[5.05, 44.95],[4.95, 44.95]]"
                [srid]="'EPSG:4326'"
            >
            </aol-collection-coordinates>
        </aol-geometry-polygon>
        <aol-style>
            <aol-style-stroke [color]="'red'"></aol-style-stroke>
            <aol-style-fill [color]="[255,0,0,0.5]"></aol-style-fill>
        </aol-style>
    </aol-feature>
    

    New style:

    <aol-feature>
       <aol-geometry-polygon>
           <aol-collection-coordinates
               [coordinates]="[[[5, 45],[5.05, 45.05],[5.05, 44.95],[4.95, 44.95]]]"
               [srid]="'EPSG:4326'"
           >
           </aol-collection-coordinates>
       </aol-geometry-polygon>
       <aol-style>
           <aol-style-stroke [color]="'red'"></aol-style-stroke>
           <aol-style-fill [color]="[255,0,0,0.5]"></aol-style-fill>
       </aol-style>
    </aol-feature>
    

    Notice the [coordinates] input is now a [number, number][][], as defined in GeoJSON.

    This also allows to display polygon with holes, which is not possible with the current code.

  • openlayers: Migration from openlayers package to ol

build

Features

  • cluster: add wrapX option (f3106e4)
  • cluster: update distance input (6e448a8)
  • demo: add example of a cursor position (eae0a1f)
  • demo: add example of geojson feature : point, polygon, linestring (43e5eb7)
  • demo: add example of map position with longitude, latitude and zoom (107e94c)
  • demo: add example to display geometry of a geojson file (939499c)
  • demo: example change color on hover or on select (6f8d7f9)
  • demo: example draw a polygon (2bf558c)
  • demo: example modify polygon (240e3dc)
  • demo: example of marker with svg (f37e5ef)
  • demo: example of overlay (af15282)
  • demo: example of side by side (8f2408e)
  • demo: example of swipe (8bb64c5)
  • geom: add circle geometry (#210) (9ac6458)
  • geom: implements MultiPoint, MultiLinestring and MultiPolygon (98a10d0)
  • graticule: unregister on destroy (bb7fa9f)
  • image: add image loading events (beada1b)
  • imagearcgis: add image events (9e26397)
  • map: add onMoveStart event (46b8ad3)
  • openlayers: migrate to 5 version (54e47fc)
  • overviewmap: refresh overview when the view changes (18bc7a6)
  • raster: not updated when source change (ad5f265)
  • source-vector: support of 'loader' input (0bda38a)
  • source:imagestatic: refresh layer source when url change (d71712f)
  • source: add Image ArcGIS source (#209) (4a4a4ef)
  • source: add UTF grid source (813a81b)
  • source: update params when input changes (TileWMS and ImageWMS) (#199) (91de249)
  • stroke: add ColorLike typing to color input (1b84a4b)
  • update openlayers to ~7.5.2 (7bb278d)
  • update openlayers to 10.5.0 (6c88713)
  • update openlayers to 8.2.0 (4057d44)
  • update openlayers to 9.2.4 (866ae56)
  • update openlayers to ~6.13.0 (42fb323)
  • update openlayers to ~6.15.1 (9588b9d)
  • update to angular 9 (36bf6a8)
  • vector: add style, updateWhileAnimating and updateWhileInteracting inputs (ae72c41), closes #198
  • view: add change:resolution and change:center outputs (7eb0b98)
  • view: add missing inputs (9848242)
  • view: add multiWorld (059a641)
  • view: add zoom change output (ea08721)
  • view: dynamically update view projection (425b0e0)
  • wmts: add wmts tile load events (04b35d3)

Bug Fixes

  • source: check host instance before setSource (#193) (c3ba771)
  • source: update params ImageArcgisRest (bfc6663)
  • stroke: fix ColorLike import path (c2179ea)
  • travis: lib build without ngcc (demo issue) (9edc820)
  • view: set the center explicitly because it does not work via setProperties (2472cff)

18.0.0-next.0 (2025-06-11)

⚠ BREAKING CHANGES

build

Features

  • update openlayers to 10.5.0 (8fd4db4)

17.0.0-next.2 (2025-05-26)

17.0.0-next.1 (2025-05-26)

17.0.0-next.0 (2025-05-26)

⚠ BREAKING CHANGES

build

Features

  • update openlayers to 9.2.4 (725e363)

16.0.0-next.0 (2025-01-10)

⚠ BREAKING CHANGES

build

Features

  • update openlayers to 8.2.0 (8b376e3)

15.0.0-next.0 (2024-12-12)

⚠ BREAKING CHANGES

Features

  • update openlayers to ~7.5.2 (0c0e3cb)

14.1.0-next.0 (2024-04-29)

Features

  • source-vector: support of 'loader' input (58c1a6b)

14.0.0-next.0 (2024-03-26)

⚠ BREAKING CHANGES

  • ol peer dep is now ~6.15.1
  • DrawInteractionComponent : input type is now of type Type
  • SourceImageWMSComponent : input serverType is now of type ServerType
  • OverlayComponent : input positioning is now of type Positioning
  • SourceTileWMSComponent : input projection is now of type ProjectionLike and input serverType is now of type ServerType
  • SourceTileWMTSComponent : input requestEncoding is now of type RequestEncoding
  • all components inputs of type Element or Node are now of type HTMLElement
  • all olChangeActive and propertyChange outputs are now EventEmitter<ObjectEvent>
  • FormatMVTComponent : input featureClass is now of type FeatureClass
  • DragAndDropInteractionComponent : input formatConstructors is now of type FeatureFormat[]
  • LayerComponent : prerender and postrender inputs functions should now manage events of type RenderEvent
  • SourceImageArcGISRestComponent : attributions input is now of type AttributionLike
  • SourceTileWMTSComponent : tileGrid input is now of type WMTSTileGrid
  • SourceUTFGridComponent : tileJSON input is now of type Config
  • StyleCircleComponent : snapToPixel and atlasManager have been removed
  • StyleIconComponent : img input is now of type HTMLImageElement | HTMLCanvasElement
  • MapComponent : prerender output has been removed, precompose output has been added. olClick, dblClick, pointerDrag, pointerMove, singleClick outputs are now of type EventEmitter<MapBrowserEvent<UIEvent>>
  • ViewComponent : changeZoom output has been removed

Features

  • update openlayers to ~6.13.0 (ec7f0b5)
  • update openlayers to ~6.15.1 (f068b92)

1.0.0-next.21 (2023-11-30)

1.0.0-next.20 (2023-11-30)

1.0.0-next.20 (2023-11-30)

1.0.0-next.19 (2021-09-03)

Bug Fixes

  • stroke: fix ColorLike import path (ebdca6e)

Features

  • stroke: add ColorLike typing to color input (f940292)

1.0.0-next.17 (2021-01-06)

Bug Fixes

  • view: set the center explicitly because it does not work via setProperties (958383a)

Features

1.0.0-next.13 (2019-11-13)

Features

  • wmts: add wmts tile load events (7aba5ca)

1.0.0-next.12 (2019-11-13)

Chores

  • update angular and openayer (187a3b0)

Features

  • map: add onMoveStart event (f41daf9)

BREAKING CHANGES

    • precompose, postcompose become prerender, postrender
  • remove on prefix for all output, exception for native events :
    • click -> olClick
    • select -> olFeature
    • change -> olChange

1.0.0-next.11 (2019-08-08)

Features

  • imagearcgis: add image events (24c1c65)

1.0.0-next.10 (2019-07-23)

Bug Fixes

  • source: update params ImageArcgisRest (3d0bc9c)

Features

  • cluster: update distance input (5edbd57)
  • geom: implements MultiPoint, MultiLinestring and MultiPolygon (f0d4dd1)
  • graticule: unregister on destroy (5e20e8d)
  • openlayers: migrate to 5 version (0ed47a3)
  • overviewmap: refresh overview when the view changes (4dc9852)
  • source: add UTF grid source (ccae9e0)
  • source:imagestatic: refresh layer source when url change (410f876)
  • view: add change:resolution and change:center outputs (27b1529)
  • view: dynamically update view projection (3f0c228)

BREAKING CHANGES

  • geom: The coordinates input on CollectionCoordinatesComponent is not anymore limited to type [number, number][], but it supports all types of coordinates. That means the existing code must be updated for polygons:

    Old style:

    <aol-feature>
        <aol-geometry-polygon>
            <aol-collection-coordinates
                [coordinates]="[[5, 45],[5.05, 45.05],[5.05, 44.95],[4.95, 44.95]]"
                [srid]="'EPSG:4326'"
            >
            </aol-collection-coordinates>
        </aol-geometry-polygon>
        <aol-style>
            <aol-style-stroke [color]="'red'"></aol-style-stroke>
            <aol-style-fill [color]="[255,0,0,0.5]"></aol-style-fill>
        </aol-style>
    </aol-feature>
    

    New style:

    <aol-feature>
       <aol-geometry-polygon>
           <aol-collection-coordinates
               [coordinates]="[[[5, 45],[5.05, 45.05],[5.05, 44.95],[4.95, 44.95]]]"
               [srid]="'EPSG:4326'"
           >
           </aol-collection-coordinates>
       </aol-geometry-polygon>
       <aol-style>
           <aol-style-stroke [color]="'red'"></aol-style-stroke>
           <aol-style-fill [color]="[255,0,0,0.5]"></aol-style-fill>
       </aol-style>
    </aol-feature>
    

    Notice the [coordinates] input is now a [number, number][][], as defined in GeoJSON.

    This also allows to display polygon with holes, which is not possible with the current code.

  • openlayers: Migration from openlayers package to ol

1.0.0-next.9 (2019-06-04)

Bug Fixes

  • ci: fix build error of npm package

1.0.0-next.8 (2019-06-04)

Features

  • graticule: unregister on destroy (5e20e8d)
  • source:imagestatic: refresh layer source when url change (410f876)

Documentation

  • add tile json source example (a65bb8c)
  • select interaction example (1e2a46f)
  • add image static example (8ebc128)

1.0.0-next.7 (2019-04-18)

Features

  • geom: implements MultiPoint, MultiLinestring and MultiPolygon (f0d4dd1)
  • openlayers: migrate to 5 version (0ed47a3)
  • overviewmap: refresh overview when the view changes (4dc9852)
  • source: add UTF grid source (ccae9e0)
  • view: add change:resolution and change:center outputs (27b1529)
  • view: dynamically update view projection (3f0c228)

BREAKING CHANGES

  • geom: The coordinates input on CollectionCoordinatesComponent is not anymore limited to type [number, number][], but it supports all types of coordinates. That means the existing code must be updated for polygons:

    Old style:

    <aol-feature>
        <aol-geometry-polygon>
            <aol-collection-coordinates
                [coordinates]="[[5, 45],[5.05, 45.05],[5.05, 44.95],[4.95, 44.95]]"
                [srid]="'EPSG:4326'"
            >
            </aol-collection-coordinates>
        </aol-geometry-polygon>
        <aol-style>
            <aol-style-stroke [color]="'red'"></aol-style-stroke>
            <aol-style-fill [color]="[255,0,0,0.5]"></aol-style-fill>
        </aol-style>
    </aol-feature>
    

    New style:

    <aol-feature>
       <aol-geometry-polygon>
           <aol-collection-coordinates
               [coordinates]="[[[5, 45],[5.05, 45.05],[5.05, 44.95],[4.95, 44.95]]]"
               [srid]="'EPSG:4326'"
           >
           </aol-collection-coordinates>
       </aol-geometry-polygon>
       <aol-style>
           <aol-style-stroke [color]="'red'"></aol-style-stroke>
           <aol-style-fill [color]="[255,0,0,0.5]"></aol-style-fill>
       </aol-style>
    </aol-feature>
    

    Notice the [coordinates] input is now a [number, number][][], as defined in GeoJSON.

    This also allows to display polygon with holes, which is not possible with the current code.

  • openlayers: Migration from openlayers package to ol

1.0.0-next.6 (2019-04-18)

Bug Fixes

  • source: update params ImageArcgisRest (3d0bc9c)

1.0.0-next.5 (2019-02-04)

Features

  • vector: add style, updateWhileAnimating and updateWhileInteracting inputs (76c0c83), closes #198

1.0.0-next.4 (2019-01-14)

Features

  • raster: not updated when source change (13a28c7)

1.0.0-next.3 (2018-12-12)

Features

  • cluster: add wrapX option (93429a6)
  • image: add image loading events (fc856b3)

1.0.0-next.2 (2018-11-21)

Features

1.0.0-next.1 (2018-11-06)

Bug Fixes

  • source: check host instance before setSource (#193) (afeb1a9)

Features

  • source: update params when input changes (TileWMS and ImageWMS) (#199) (f7578a4)
  • view: add zoom change output (884429f)

1.0.0-next.0 (2018-09-21)

Features

  • demo: add example of a cursor position (9a8988e)
  • demo: add example of geojson feature : point, polygon, linestring (367c72d)
  • demo: add example of map position with longitude, latitude and zoom (251bbf7)
  • demo: add example to display geometry of a geojson file (fe977e6)
  • demo: example change color on hover or on select (2e7bda4)
  • demo: example draw a polygon (2737e6b)
  • demo: example modify polygon (18c95fa)
  • demo: example of marker with svg (b5f57b3)
  • demo: example of overlay (b7749f9)
  • demo: example of side by side (4b5b08b)
  • demo: example of swipe (9aa4dab)

0.8.22 (2018-07-02)

Bug Fixes

  • example.raster: allow example project to work in --aot mode (ca0c9bb)

Features

  • sources: add source tileutfgrid component (#179) (d946755)

0.8.21 (2018-06-08)

Features

0.8.20 (2018-05-04)

Features

  • modify-interaction: add source input (#146) (d27d6ba)

0.8.19 (2018-04-23)

Features

  • source: add geaometryFunction input to cluster component (#167) (8962034)

0.8.18 (2018-04-12)

Features

  • tileJSON: add tileJSON component (d65e7b2)

0.8.17 (2018-03-16)

Bug Fixes

  • added componentType property to ViewComponent (692e00d)
  • addition of text style component to the export list (9a14460)
  • issues related to calling function makeDecorator with AOT (205bb49)
  • license is MPL-2.0. Was incorrectly reported as MIT, though it do not differ much (a6e257a)
  • minor fixes in README.md (7c7d764)
  • setting an ID evaluation to a "falsy" statement is now possible. Prior to this commit, setting an ID to 0 failed. (7473a5c)
  • types: upgrade types of OpenLayers (e36b8aa)
  • the example icon is now renamed marker.png (fd0ae4b)
  • devDep: limit typescript version and match types for OpenLayers (af4b2da)
  • example: add form to package.json (984da63)
  • example: add value width which is mandatory for aot build of example (b70a698)
  • layer: remove useless input and change layer component init (6f512dc)
  • source.XYZ: instantiate XYZ source even if no tileGrid is provided (8c34e00)
  • style: trigger update onChange (6bc94e7)
  • view: set animation on zoom changes (8d73c38)

Features

  • cluster: add cluster component and demo (34a1688)
  • example: move to a new version of the example project (40ce2d5)
  • graticule: Adding GraticuleComponent (5adc320)
  • Layer: add pre and post compose inputs and change behavior for all Layers (4ceef04)
  • layergroup: add LayerGroupComponent (c1f2513)
  • ModifyInteractionComponent: add modify interaction to be able to re-draw feature(s) (e3625b5)
  • scaleline: add input units to scaleline component (26a9a5c)
  • SelectInteractionComponent: add new interaction to ba able to (4017117)
  • Source:OSM: Use SourceXYZComponent as parent class instead of SourceComponent (92d9519)
  • source:wmts: refresh layer source when url change (7730673)
  • Source:XYZ: add tilegrid childComponent (c732980)
  • source.imagestatic: add image static source (4aa6f3a)
  • sources: trigger refresh on property changes for XYZ Component (1fe5219)
  • SourceTileWMTSComponent: add wmts source component and wmts grid tile component (9e029ed)
  • SourceXYZComponent: add tileGrid input (390add8)
  • SourceXYZComponent: add tileLoadFunction input (f76321e)
  • tilegrid: Allow resolutions and origin, and use new tilegrid.Tilegrid constructor (95db90c)
  • TranslateInteractionComponent: add interaction to be able to move feature(s) (1d265ae)