Skip to content
This repository has been archived by the owner on Dec 8, 2022. It is now read-only.

Releases: Bayer-Group/ol-kit

0.18.3

16 Oct 19:22
9d95d12
Compare
Choose a tag to compare

Bug Fixes

1.1.1

15 Oct 21:04
5994082
Compare
Choose a tag to compare

Bug Fixes

  • Removed some unnecessary prompts in the cli- now you are only asked for the project directory #226

1.1.0

14 Oct 20:06
c368630
Compare
Choose a tag to compare

Enhancements

  • New cli tool creates an ol-kit map project from scratch- just run npx @bayer/ol-kit create-map #220

1.0.2

06 Oct 17:12
ecb44db
Compare
Choose a tag to compare

Bug Fixes

  • Log errors thrown in onMapInit block of <Map> and always initialize app (even with errors) #205

0.18.2

29 Sep 17:24
96f1144
Compare
Choose a tag to compare

❗ Install the latest legacy release by using npm i @bayer/ol-kit@legacy

Bug Fixes

1.0.1

28 Sep 19:37
1701753
Compare
Choose a tag to compare

Bug Fixes

1.0.0

18 Sep 19:44
ef48ad5
Compare
Choose a tag to compare

🎉 1.0.0 RELEASE 🎉

⚠️ Breaking Changes ⚠️

  • connectToMap has been removed in favor of connectToContext #111

  • Upgrade openlayers peerDependency version to latest: [email protected] #166
    (note: this upgrade bumps ol-kit's dependency of ol 2 major versions from 4.6.5 to 6.4.3- please refer to the release notes for breaking changes when migrating an old project).
    Below are some gotchas that got us:

    • v5 Major changes [email protected]:

      • Casing for imports changed (ol docs):
        • Old syntax: import olFeature from 'ol/feature'
        • New syntax: import olFeature from 'ol/Feature'
        • This will cause your babel compiler to throw warnings saying that you have different casing for the same files
      • forEachLayerAtPixel's parameters has changed (ol docs):
        • Old syntax: map.forEachLayerAtPixel(pixel, callback, callbackThis, layerFilterFn, layerFilterThis)
        • New syntax: map.forEachLayerAtPixel(pixel, callback, { layerFilter: layerFilterFn })
      • ol/proj now destructures the methods off of the class (ol docs):
        • Old syntax: import olProj from 'ol/proj' olProj.fromLonLat()
        • New syntax: import { fromLonLat } from 'ol/proj
    • v6 Major changes [email protected]:

      • getFeaturesAtPixel now returns an empty array instead of null if no features were found (ol docs).

Enhancements

0.18.0

16 Sep 18:55
6b629b9
Compare
Choose a tag to compare

Enhancements

0.17.4

16 Sep 18:25
6ce02a1
Compare
Choose a tag to compare

Bug Fixes

1.0.0-beta.0

16 Sep 19:10
9ac2563
Compare
Choose a tag to compare

❗ Install the latest beta release by using npm i @bayer/ol-kit@next

Enhancements