Skip to content

v18.0.0

Latest
Compare
Choose a tag to compare
@alecarn alecarn released this 12 Feb 14:57

18.0.0 (2025-02-12)

Bug Fixes

  • core: language add ability to define the default language (a3c059e)
  • core: language add static loader and options to ignores libs locale (0bd0ab9)
  • core: remove ngx-translate from deps (94148a5)
  • demo: add node_modules in stylePreprocessorOptions for mat-datetimepicker (409c512)
  • geo: add saveable options for layers and datasources (4363f69)
  • geo: circular dependencies and lint (0df14c3)
  • geo: hover directive undefined unsubscription (68950da)
  • geo: offline import dynamically (4d7e630)
  • geo: offline provider should return provider (317f21a)
  • geo: use the new ngx-indexed-db API (8fee5c4)

Features

  • core: Allow to use secure cookies on https instances (c06872d)
  • geo: export to Excel (ade4ba2)
  • geo: highlight unavailable layer in map tool (dcd75e5)
  • geo: manage layers and groups (b1491b1)
  • geo: refactored ui of directions component (4ffa9d6)
  • utils: add an util to handle excel file export (5297425)

BREAKING CHANGES

  • Angular v18 update
  • Overlay directive and service are removed because they are not functional
  • Regroupement de couche: implements the layer groups, drag and drop and refactor layer management and style

Removed properties and method for the Map class:

Map.layers

Maintenant accessible en plusieurs variantes selon les besoins (

  • all
  • baseLayers
  • treeLayers
  • layersFlattened (représente les treeLayers mais en liste sans hiérarchie)
// Before:
this.map.layers

// After:
this.map.layerController.all
Map.getLayerById
// Before:
this.map.getLayerById('YOUR_ID')

// After:
this.map.layerController.getById('YOUR_ID')
Map.getBaseLayers
// Before:
this.map.getBaseLayers()

// After:
this.map.layerController.baseLayers
Map.addLayer
// Before:
this.map.addLayer(LAYER)

// After:
this.map.layerController.add(LAYER)
Map.removeLayer
// Before:
this.map.removeLayer(LAYER)

// After:
this.map.layerController.remove(LAYER)
Map.removeAllLayers
// Before:
this.map.removeAllLayers()

// After:
this.map.layerController.reset()
Map.changeBaseLayer
// Before:
this.map.changeBaseLayer(LAYER)

// After:
this.map.layerController.selectBaseLayer(LAYER)

Method removed without replacement:

  • getLayerByOlLayer
  • getLayerByAlias