News

News Details

Masterportal 3 Beta 2 published!

2023-12-18 v3.0.0 - beta2

Breaking Changes

  • Dropped support for NodeJS 16 and Npm 8
  • e2e tests are no longer supported
  • The following attributes have been renamed:
    • Baselayer --> baselayer
    • Fachdaten --> subjectlayer
    • Portalconfig --> portalConfig
    • Themenconfig --> layerConfig
  • The following attributes have been moved within config.json:
    • Portalconfig.baselayerSwitcher -> portalConfig.map.baselayerSwitcher
    • Portalconfig.controls -> portalConfig.map.controls
    • Portalconfig.getFeatureInfo -> portalConfig.map.getFeatureInfo
    • Portalconfig.mapView -> portalConfig.map.mapView
    • Portalconfig.mouseHover -> portalConfig.map.mouseHover
    • Portalconfig.tree.layerPills -> portalConfig.map.layerPills
  • The following attributes have been moved from config.json to config.js
    • Portalconfig.alerts -> alerting.initialAlerts (alerts has been renamed to initialAlerts)
  • The following attributes have been moved from config.js to config.json
    • cesiumParameter -> portalConfig.map.map3dParameter (cesiumParameter has been renamed to map3dParameter)
    • featureViaURL -> portalConfig.map.featureViaURL
    • mapInteractions -> portalConfig.map.mapView.mapInteractions
    • mapMarker -> portalConfig.map.mapMarker
    • startingMap3D -> portalConfig.map.startingMapMode (startingMap3D has been renamed to startingMapMode)
    • zoomTo -> portalConfig.map.zoomTo

Added

  • Add roadmap information to the readme file.
  • Add documentation for the config.js and config.json.
  • Configurable searchBar for the layerselection.
  • To manage dependencies of dependencies "overrides" for cesium are added to package.json and create dummy packages for it.
  • New config.json parameter sldVersion for legend configuration to define a Styled Layer Descriptor for the GetLegendGraphic requests.
  • The following packages have been added:
    • devDependencies:
      • webpack-bundle-analyzer: 4.9.1 (For usage comment in "webpack-bundle-analyzer"-code in webpack.dev.js)
  • shared\js\utils\convertColor: added an option to convert an rgba array into a hex color with alpha value.
  • Configurable searchbar for the layerSelection.
  • Add layerParam gfiThemeSetting.

Changed

  • GetFeatureInfo: module opens in other menu when print module is opened
  • LayerInformation: for layers that do not have metadata, the layer information can now be displayed so that the URLs and legend can be accessed.
  • The following NPM packages have been updated:

    • dependencies:
      • @masterportal/masterportalapi: 2.28.0 to 2.30.0 (This also raised ol to version 8.1.0 and olcs to version 2.16.0)
      • @popperjs/core: 2.11.6 to 2.11.8
      • @vue/compat: 3.2.47 to 3.3.4
      • axios: 1.3.4 to 1.5.1
      • bootstrap: 5.2.3 to 5.3.2
      • bootstrap-icons: 1.10.3 to 1.11.1
      • chart.js: 4.2.1 to 4.4.0
      • i18next: 22.4.11 to 23.5.1
      • i18next-browser-languagedetector: 7.0.1 to 7.1.0
      • i18next-http-backend: 2.2.0 to 2.2.2
      • i18next-vue: 2.1.1 to 3.0.0
      • jsts: 2.9.2 to 2.11.0
      • qrcode: 1.5.1 to 1.5.3
      • vue: 3.2.47 to 3.3.4
      • vue-datepicker-next: 1.0.2 to 1.0.3
      • vue-multiselect: 3.0.0-beta.1 to 3.0.0-beta.2
    • devDependencies:
      • @geoblocks/print: 0.7.3 to 0.7.4
      • @sinonjs/fake-timers: 10.0.2 to 11.1.0
      • @vue/compiler-sfc: 3.3.2 to 3.3.4
      • @vue/test-utils: 2.3.1 to 2.4.1
      • canvas: 2.11.0 to 2.11.2
      • chai: 4.3.7 to 4.3.10
      • esbuild-loader: 3.0.1 to 4.0.2
      • eslint: 8.36.0 to 8.51.0
      • eslint-plugin-vue: 9.9.0 to 9.17.0
      • fs-extra: 11.1.0 to 11.1.1
      • markdown-it: 13.0.1 to 13.0.2
      • mock-local-storage: 1.1.23 to 1.1.24
      • regenerator-runtime: 0.13.11 to 0.14.0
      • replace-in-file: 6.3.5 to 7.0.1
      • sass: 1.59.3 to 1.69.0
      • sinon: 15.0.2 to 16.1.0
      • vue-loader: 17.0.1 to 17.3.0
      • webpack: 4.46.0 to 4.47.0
      • zip-a-folder: 1.1.5 to 3.1.3
  • SearchBar: styled the input field.

  • Print: styled loading button.
  • The roadmap dates have been updated. See Readme.
  • Layers are only displayed on the 2D-map, if layers attributes minScale and maxScale are in maps scale-range. The layer is grayed out in the topic tree if it is not displayed on the map.
  • Main Menu: added margin so scrollbar is visible on desktop.
  • Search results: layers can now be added/removed directly to/from the map by activating the checkbox. The add layer button has been removed.
  • Highlighting features via URL:
    • Now accepts multiple feature ids, seperated with commas.
    • Zooms the map, so that all highlighted features are visible.
  • Layer selection: layers can now be added directly to the map by activating the checkbox. The add layer button has been removed. All layers are always displayed, including the layers that have already been added.
  • Searchbar configuration 'minChars' was renamed to 'minCharacters'.
  • ShareView: new wording for buttons and toast added for feedback after link copying.
  • Tutorial: ScaleSwitcher tutorial was updated.
  • Layerinformation: different labels have been updated.

Deprecated

Removed

  • The following NPM packages have been removed:
    • dependencies
      • @panter/vue-i18next
      • dayjs (is loaded via @masterportal/masterportalapi)
      • moment
      • moment-timezone
    • devDependencies:
      • cross-env
  • Legend : The showLegend and showCollapseAllButton attributes have been removed

Fixed

  • Issue #1073: Routing: the route is updated after moving a waypoint in the map.
  • Issue #1085: Corrected case at import of layer2dRasterWmsTime in src_3_0_0\core\layers\js\layerFactory.js.
  • Issue #1091: VectorStyle: read geometry type from geoserver featureTypeRequest and do not fail if some rules in style.json have no condition.
  • Issue #1094: Measure Tool: unit changes not connected anymore.
  • Issue #1099: The package.json is adapted, now the size of the bundle, created with "npm run build" is reduced.
  • Issue #1105: Added easting and nothing labels for utm projections in CoordToolkit
  • Mobile View: switching vertical and horizontal view works better now.
  • Fix click issue between link of logo area and searchbar.
  • Close Button is now in line with Menu navigation.
  • Tools: open tools are closed when switching to a mode, that they do not support.
  • Tree: sorting the layers in the topic tree in the same order as via share link.
  • GFI: shown GFI is closed if dedicated layer is removed from map.
  • OAF layers are now loaded and displayed correctly.
  • Draw: imported features can be modified and deleted. GetFeatureInfo attributes are shown on click on imported feature.
  • The routing module can now be saved via shareView.

Go back

Necessary cookies, geoportals and YouTube are loaded. Details can be found in our privacy policy and our legal notice.