Skip to content
Compare
Choose a tag to compare

7.0.3 (2022-01-07)

Bug Fixes

  • Don't access private properties of ol.View (a307da4)
Compare
Choose a tag to compare

7.0.2 (2022-01-04)

Bug Fixes

  • Add missing peer dependencies (699e2c0)
Compare
Choose a tag to compare

7.0.1 (2021-12-15)

Bug Fixes

Compare
Choose a tag to compare

7.0.0 (2021-12-10)

BREAKING CHANGES

  • Need to specify HsConfig.ngRouter = true if Angular router is used
  • Add polygon-splitter peer dependency npm i polygon-splitter
  • draw: Add new peer dependencies npm i polygon-clipping
  • Add jszip and @types/jszip as peer dependecies npm i jszip @types/jszip
  • Add geostyler-qgis-parser peer dependency: npm i geostyler-qgis-parser
  • Add geostyler-legend and d3 peer dependencies: npm i geostyler-legend d3
  • 3d: 3D features are now picked using left mouse button instead of right.
  • To add Cesium specific config parameters, user must replace
this.HsConfig.update({
      cesiumBase: 'assets/cesium/',

with

this.HsCesiumConfig.update({
      cesiumBase: 'assets/cesium/',
  • Need to include node_modules/hslayers-ng/css/hslayers-ng.css in the container
    application. For example in app.scss @import 'hslayers-ng/css/hslayers-ng' or in the angular.json's styles property. OL, bootstrap and WebHostingHub-Glyphs are bundled in hslayers-ng.css
  • https://getbootstrap.com/docs/5.0/migration/
  • hslayers-ng-app: Translations are no longer bundled directly into the .js files, instead they are loaded from JSON files. This saves memory and improves performance, but on the other hand, the loading of JSONs on local filesystem may be blocked by CORS.

Bug Fixes

  • Add toolbar panel container service to exports (76b5a24)
  • Align layers style attribute to laymans schema (cc65079)
  • Change how layer/feat is passeed to popup widget (4d5c901)
  • Check if layman response includes wfs param (c8deebb)
  • check if popup displayFunction is defined (ca7c582)
  • Check if user is logged in layman (93cb3c7)
  • Check if values are undefined or null (3aaf985)
  • Check the publication status of the layer (e3e660f)
  • Deselect edit geometry temp. layer (b991552)
  • Disable selector and modify interactions when drawing edit features (cd603f6)
  • Feature geom editor difference can result in multiple features (f452047)
  • Find the correct layer from wfs service (e569edd)
  • Fix translations, css and panel widths (b3191e5)
  • Get sld/qml from style url in composition (729d5f5)
  • Hide cesium hover popup if not over features (1ee1242)
  • Hide cesium hover popup if not over features (9beff28)
  • Layer being loaded by accident (1be80a5)
  • Load qml style also in styler for editing (af92f0d)
  • Loading layer after it is added to layman (8a05673)
  • Micka query strings (8f70013)
  • Move popup style to css file. Add border after layer (d545126)
  • Parse style when loading WFS from compositions (9164b11), closes #2420
  • Pass event object to layer source change legend generation callback (77044c4)
  • Provide a zip file name so Layman recognizes it (414a279)
  • Remove all but first features when 'union' operation is executed (1a6ae5a)
  • Remove basePath from url only in case of ngRouter (6e65c02)
  • Resolve few UI interaction problems (f2679a1)
  • Send authentication headers when requesting WFS style (d197d3d)
  • Set panel data only if it doesnt set itself (fb472e9)
  • Show 'Only one split line' info toast only if it already exists (2e12520)
  • style missing from the wfs layer (a01506f)
  • to-map-dialog not loading initial data (8f83eb6)
  • Vega tooltips not visible (364bea4)
  • 3d: Align cesium feature picking with 2d (781d6a1), closes #2353
  • add-data: Provide error message (9e2af04)
  • Add missing cluster widget to layer editor (6cd3f40)
  • Change how hslayers bootstrap css is bundled (b8a98b2), closes #2223
  • Disable query in decoupling-test-app and fix dimensions (d4c2620)
  • Don't crash if panelsEnabled undefined in hsl-app (db4f428)
  • Don't use hardcoded background for popup (8681ab1)
  • Dont mistaken scale and resolution (1129d01)
  • Fix bootstrap module imports (4a2af51)
  • Hide rectanle around legend (7197eb7)
  • Hover popup without enabled info panel (a4ffaad)
  • Import bootstrap scss separately by module, some modules outside hsl class to uncover root css varaibles (2e8e1bb)
  • Incorrect default panel state (205b8f1)
  • Link cesium entities to ol features (b22cb82)
  • make cesium config checking function optional (78547d8)
  • Make measure panel ON by default (21fd754)
  • Migrate to geostyler 3.x (e3c4ebb)
  • Nested sublayers not toggleable (4979c63)
  • Post build script (#2317) (e8d95f4)
  • Prevent circular JSON loops for comp/data extents (6a3f758)
  • Reference extent features with ids not objects (61746a4)
  • Selected language not highlighted after init (db202e7)
  • Show highlight when hovering search results (253252b)
  • Toast close button styling on bootstrap 5 (19953c5)
  • URL detail table head font color in liferay (6bd79f9)
  • Url table rows broken in liferay (8cd723f)
  • Use removable layer attrib when clearing map (e933375)
  • Use geostyler-legend lib to generate legends (7370459), closes #2150
  • Use ngBootstrap to control dropdown menus (5497cf0)
  • Wait for hsConfig before loading translations (3c6c7e5)
  • attribute-row: Use tmp string of object (538b38d)
  • Use StyleLike for parsed OL style (95a7e85)
  • legend: Show correct legend for layer-editor window (c04de22)
  • server: Support /client/geoserver path for backward compatibility (2259081)

Build System

  • Added back missing dependency (8cbcce8)
  • Upgrade to bootstrap 5.1.3 (0fd2fbb)

Features

  • Ability to collapse table rows with a button (f9297f4)
  • Add csv upload template (7bc6156)
  • Add dropdown for location property to map statistics (dcde2ab)
  • Add function to find feature by ID in all layers (78d644d)
  • Add multiple linear regression support (9dd4759)
  • add prediction chart axis titles (622a0d0)
  • Add prediction dialog (13676ad)
  • Add QML support for layer styles when loading (b82ee4c), closes #2361
  • Add regression dialog (b9d2bcb)
  • Add time series chart dialog (deaaafd)
  • Add tooltips for regression charts (d661e1d)
  • Added file-base.component as a super (773467b)
  • Added geotiff component (cfb723a)
  • Added histogram with desc statistics (05b191d)
  • Added line data type to histogram (2d6cc09)
  • Added new common-file service (a638080)
  • Added tooltips to time-series chart (2a0b2bb)
  • Catch errors while parsing vector layer from composition (a710b52)
  • Clear all statistics data feature (b3e801c)
  • Compile Hslayers+bootstrap+OL to css file (e254bff)
  • Correlation calculation from shifted values by year (b1adf96)
  • Display cesium popup under mouse (258ea1a)
  • List variables in statistic panel (43e7a88)
  • Load query popup widgets specified in hsConfig (61cbb13)
  • Load translations from assets using HttpClient (3cb1d23)
  • Meake popup widget list overridable in layer (a4dc0fa)
  • Merge properties when editing features (e115559), closes #2386
  • Moved cesium related config to new class (35fab9c)
  • Multiple regression charts and coefficient output (99aad31)
  • New adddata common component (c1df662)
  • New query-popup widget feature-info (e044391)
  • One panel container service for many components (ebab4ea)
  • Parse csv and calculate correlations (8563613)
  • Register popup in according service (Cesium or OL) (498d993)
  • Save data corpus on parsing new csv (1745efe)
  • Shadow uses for escaped columns (7c15742)
  • Store csv table data also (e501f4d)
  • Temporal input shifting for predictions (932ca78)
  • Temporal shifting for multiple regression (b6f1150)
  • Time shifting for regression (2ed01ef)
  • Topologically correct splitting of polygons (8d86c87), closes #2386
  • Upload shape and geotiff files as zip (60c6c0f)
  • Upload zip files containing files (9291a47)
  • Usability improvements for feature editing (6cf5ce8)
  • Variables can be removed (c05ac62)
  • Visualize statistics variables on map (12f9af4)
  • 3d: Create popup and picker service for cesium (f674033), closes #2353
  • config: Added new queryPopupWidgets and (e1ec040)
  • draw: Create feature geometry editor (81f3d62)
  • query: new widget layer-name (82f4e86)
  • toast: Allow to add error details to toast message (8a838d6)
  • Try adding widgets to feature popup (66fb7cd)
  • Use hsconfig.uploadTypes to restrict upload choices (4f1b9b2)
  • Warn about default_view not set for cesium (d55ee83)
  • Warn about moved cesium config props (3634049)
  • Widget to generate popup content dynamically (96fa126), closes #2370

Performance Improvements

  • Debounce legend event listeners (b266253)
  • Import only ngBootstrap submodules (ef33ce3)
  • Remove deprecated legend event listeners from layer and layer source (partialy) (d93dbc8)
  • Unlisten map pointer move event (764b227)

Reverts

  • Downgrade typescript to 4.3.5 (c00edf4)
  • Remove redundant destruction of popup widget panels (7d80820)
  • Return escaping of variable names (afa945c)
  • Revert experimental nested widget mechanics (a297372)
Compare
Choose a tag to compare

6.1.0 (2021-10-11)

Bug Fixes

  • Add feature_table to panelsEnabled structure (080ddc2)
  • Added missing exports to public-api files (8c8ee7a)
  • Check all styles for fill, image or stroke (082f822)
  • Clone compoData before unwrapping layer object when saving composition (f8c4154)
  • Close dropdown menus (d9c43e2)
  • composition metadata dialog if missing some properties (5e77106)
  • Context or Author tabs refresh the page (7ed549c)
  • De-highlight of compositions by extents under mouse (fe400b4)
  • Don't add panels twice when NgRouter is used (#2242) (c9d8670)
  • Don't override style for cluster layers (bd630e7)
  • Don't send features when saving title or sld to layman (e549367)
  • Fix connecting to url for vector types (55d2b22)
  • Highlighting of compositions with mouse over (32b3702)
  • Highlighting of datasets with mouse over (cb22457)
  • layer sublayer tooltip not visible in layerEditor (7cc9529)
  • Parse SLD only when not qgis style provided (b087e71)
  • PATCH sld and title for Layman layers (004bb22)
  • Prevent query dropdown menus from overlaping (7bf3bc1)
  • Provide correct params to readFeatures method (8f0d5fa)
  • Read features from composition in EPSG:4326 (ab78f6e)
  • Retry with serialized features if composition saving fails (92f8781), closes #2187
  • Set correct add url vector type (03592a9)
  • Successfully saved map composition doesnt return 'saved' property (0e503c1)
  • Treat SUCCESS response without url as PENDING (3c26f6c)
  • Untoggle layer renamer when switching layers (37d9652)
  • Url history component not saving last used urls for some services (0fdca21)
  • Use hex in style colors for SLD instead of rgb (1e79f5e)
  • legend: Legend doesn't refresh (09dd1a8)
  • sensors: Type check for multipolygon (ecb82c4)
  • styler: Stop dragging event propagation (6e0e53b)
  • toast: Check if identical toast already exists (61c6514)
  • Use credentials for composition DEL request (c5f3c6a)
  • toast: add serviceCalledFrom option to toast (1922392)

Features

  • Change layer title once after user confirms (855332e)
  • Display extent features for layman data (c14711f)
  • styler: Add drag and drop to styler (edcfd0c)
  • Listen for style changes also (7440440)
  • Make map overlay panels dynamically added (29881d7)
  • Make toolbar panels dynamic and extendable (21a8761), closes #2111

Performance Improvements

  • Skip DOMParser intermediary step for WFS (c0c2f4a)
Compare
Choose a tag to compare

6.0.2 (2021-09-14)

Bug Fixes

  • Assets path in test-app (522e2a5)
  • Box selection triggering layerlist dropdown (97d4aff)
  • Change how package version is imported (88e13c4)
  • Clear style using reset style button (a07e06e), closes #2149
  • Disable poperjs dynamic flip for selection dropdown (b72fe5d)
  • Dont clear all GET params and rename hsl ones (56216a9), closes #2098 #2084
  • Dont export schema.json (a716ca1)
  • Draw layer metadata header size (cb924f4)
  • Make draw type 'selection' button act as a toggle (5a6d491)
  • dimensions: Parse timePoints at all places (fad6fd3), closes #2033
  • Fix opacity read/write in SLD (b178cd0), closes #2081 #1956
  • Gen SLD for default style in layers in HsConfig (05ccc55), closes #2052
  • Limit wms layers shown by default to 100 (deac56d), closes #1870
  • Repair potential template problems (93cbb89)
  • add-layers: Hide time-picker when unsupported (6f16131), closes #1868
  • popUp attributes not visible (73cdab5)
  • Properly select and add layer loaded through url param 'wms_layers' (252bd09)
  • Support OL 6.6 type mappings (#2082) (b1a98bf)
  • add-data-vector: Check is layer clustered before adding features to existing one (b04e2ef)
  • add-data-vector: Enhance loading of shp,gpx and kml features (83a4c6f)
  • add-data-vector-service: Allow to add layer from geojson/json without any features (09ae3fa)
  • LM: Add missing icon-move glyph (6c20447)
  • save-map: Replace incorrect function that serializes layers features (3104a91)
  • trip-planner: Check if waypoint.routes exists before anything (bc35d75)

Features

  • Add queue library to npm peer dependencies (58954f8), closes #1886
  • Add selection type menu dropdown to draw-toolbar (eae4cdb)
  • Allow box selection of multiple features and ability to download/remove them at once (5a1ac95)
  • Allow uploading of geojson features to existing layer (7175f5b)
  • Allow uploading of kml features to existing layer (475d073)
  • Cache capabilities between layers from same wms (d66329a)
  • Create upload and reset of SLD in styler (9ac5348)
  • Export everything (610bd46)
  • Load SLD for WFS served by Layman (7b5d54b), closes #2046
  • Support download of current layers style in SLD (011f293), closes #2046
  • Use resumablejs to upload data larger than 2mb in chunks (801834f)
  • add-data-url-wms: Run capabilities/legend requests in queue (a39ccde)
  • add-data-wms: Set some CRS even when missing (e8af9db)
  • attribute-row: Stringify complex feature object attribute values for display (d0ccc79)
  • layout: allow percentage values in HsConfig.panelWidths array (3f4124c)
  • material: extend LayerManagerComponent (9e57084)
  • time-editor: Add "out of range" explanation (452fc71), closes #1995
  • Support downloading of queried feature as GeoJSON (ac08ac4)

Performance Improvements

  • fix HMR and improve recompiling test app (7cf007d)

Reverts

  • Change back proxy port to 8085 (62c2cfd)

BREAKING CHANGES

  • Adds resumablejs as a new dependency npm i resumablejs
  • Add queue dependency npm i queue
Compare
Choose a tag to compare
  • Allow to disable automatic legend (665737f)
  • Fix print title ngModel (4d1be21)
  • Fix ngStyle of layer legend (a4dfdbf)
  • 2.x: Use Virtuoso internal fction for foodie-cloud (5c73d00)
  • Require toast template correctly (1236c5b)
  • Provide toast as layoutModule entryComponent (fc1a961)
  • Port - Specify folder for added vector and shape layers (38afd65)
  • removed missed out redundant code (a5e16cb)
  • Port Error while syncing notification is occluded and too big (e2ac65e)
  • Expose SparqlJson in hslayersNgConfig (a81a2e8)
  • Refactor SparqlJson to class (932d214)
  • Merge pull request #1558 from hslayers/issue-1497/compositions-cookies-2.5 (ece53c7)
  • Fix 'this' context (70c6d0b)
  • Make saveMapStateOnReload a default choice (29ff448)
  • Fix window object injection (53a77bc)
  • Restore localStorage layer saving functionality (77af71d)
  • Add hslayers-ng-logo.png to npm files (51564c5)
  • addon to prev commit (24c6d5f)
  • import cleanup for utils (8aa1857)
  • Removed HsUtilsService.format function (a952958)
  • Fixed shortUrl unit-test, do not use https request (fba5fcd)
  • Added unit-tests for utils service (5b690d4)
  • Added unit-tests for layer-utils service (f6357c5)
Compare
Choose a tag to compare

5.1.0 (2021-08-03)

This version sets upper bound of OpenLayers peer dependency to ~6.5 which mitigates failing compilation of hslayers-ng using OL 6.6 that could be incorrectly automatically installed with hslayers-ng 5.0 version.

Bug Fixes

  • Move Cesium terrainExaggeration peropery to globe (7b00cd3)
  • hslayers-app: Use update() on HsConfig object (4dc87af)
  • Load trip planner routes sequentially (25c7f35)
  • Pass all view options when cloning the view (5529d15), closes #2034
  • Read SLD style file for shp (0164a78)
  • Trip planner feature serialization bug (2e42cc5), closes #2036
  • Wait for drawables before accessing them (ccc705c)
  • compositions-parser: Check if layers exist before looping through them (58aed58)
  • deps: Stick ol to version 6.5 for a while (06e23fa)
  • draw: Get drawables only after map is loaded (c1f3d00), closes #2030
  • layout: Hide basemapgallery and deafult view button on guiOverlay false (f12b0cf)
  • layout: Hide sidebar if HsConfig.pureMap is set to true (9411940)
  • layout: Hide toolbar and geolocation button on guiOverlay false (f744297)
  • LM: Change 'unknown source' error to warning (a50eec3)

Features

  • layer-editor: Ask confirmation when deleting layer (3a787a3), closes #2040
  • Accept only SLD format as Shp style (d97ab98)
  • Inform user about invalid or missing layman endpoint url (1f043b9)
  • Make truncated WMS service layer title/abstract expandable (b292624)
  • Switch title and name also in nested WMS layers table (6113f47)
Compare
Choose a tag to compare

5.0.0 (2021-07-23)

Bug Fixes

  • draw: Undefined wfs layer endpoint (f7fe98b), closes #1996
  • Accept JSON in vectorFileInput (11c3b5e)
  • Apply string function toLowerCase, for uploaded (46a1245)
  • Change default Layman cookie name so the auth doesn't interfere with other apps (5b67ecf)
  • Check either for a feature or coordinate to show feature info panel (3d4de73)
  • Check if capabilities_xml is there before reading it for layer metadata (176477d)
  • Correct ng-bootsrap and cookie versions for ng11 (7862d90)
  • Defer bootstrapping of cesium-app (003bc8d)
  • Differentiate message for routing errors (54cdf3e)
  • Don't overwrite a configured legend with info from getCaps (d3576d4), closes #1860
  • Don't populate invalid undefined layers if any (75a6721)
  • Don't show popup if the title is empty (4501c2d)
  • Find all CRS definitions in a service (f1d6d07)
  • Fix invisiblePopup undefined error (#1855) (47281fd)
  • Hide Only mine filter if user is not logged in Layman (72dc68a)
  • Load composition data from cookies only if it is anticipated (f5ba7b2)
  • Make composition&progress info div smaller (3c7e9ff)
  • Make loading progress message disappear on layer load (ddfe5c0)
  • Minor tweaks and linting (4dc3964)
  • Remove feature from modify interaction when deleting (5540671), closes #1821
  • Remove fill-opacity param for mark symbolizer (a339dbb)
  • Remove private to make method optional (ec1908d)
  • auth: Move duplicit Laymen error notification to common service (016b43a)
  • compositions: Use thumbnail.url (3ca9a12)
  • draw: Added addedLayersRemoved property to correctly reset draw layerSelected (e278c11)
  • draw: Check if any layer is selected before looking for source (421b464)
  • draw: Fill drawable layers on map reset (082a87c)
  • draw: Sync tmp features with already existing layman layer (a407882)
  • history-list: Potential fix - do not add null or undefined url to history list (443dd39)
  • layman: Throw error if layer description is missing url (b34528d)
  • Add default line symbolizer for new layers (535000e)
  • Added HsStylerPartBaseComponent to styles module (8a67b52)
  • Adding drawing layer fails when auth change (eae03ad)
  • Async loading of compositions (cb340a5)
  • Backwards compatibility of custom hsl style serialization (cb414f6)
  • Encode styler colors as rgba instead of hex (1653e61)
  • Error about undefined symbolizer offset (eac5db2)
  • Feature counts for cluster on enabling cluster (3c309e4)
  • Legend generation for cluster layers with SLD (e4a61de)
  • Make styler controls smaller (bac25b5)
  • Remove declutter option (1987fd9)
  • Update tmp layer properties on authChange (e48319b)
  • layer-editor-vector-layer: Check geometryFunction feature (1b6d735), closes #1955
  • server: Change token refresh mechanism, logout when auth fails (fa8803e)
  • Styler: Refactor symbolizerIcons handling (7118b44)
  • utils: Safely check instOf for nullish values (0c7c72d)
  • Add geojson from url (a8f51b9), closes #1946
  • Disable individual feature styling in draw panel (8f8b6ab)
  • Make style parsing related functions async (04c86ec)
  • Notify about non-working sld atrributes (f00c725)
  • Remove most styler icons (dd74336)
  • Removed scss warnings when building the library (2e001d2)
  • Removing of style rules and reset to default (65e73ca)
  • Replace 'show' CSS class with [hidden] (c953b89)
  • Replaced deprecated TestBed .get with .inject function (9c91fe7)
  • Revert wrong dependencies (26493e9)
  • Rework auto cluster style creation (1bbf058)
  • Select all layers from url correctly (d51231e)
  • Send correct access rights parameters to layman (3e504f0), closes #1842
  • Set correct return type for layermanager getLayerByTitle function (67d1f2e)
  • Set default cesiumBase path if not already set by the user (06f8879)
  • Set file type filter in open files dialog (ef085e1), closes #1797
  • Set matched results to length of array when x-total-count head is missing for compositions (e4189ea)
  • Show feature info panel after drawing new geometries (1e29100)
  • Show only last 5 toast error messages (59d0375), closes #1869
  • Simplify styling based on geometry types (5b73640)
  • Styler color unreadable for dark colors (f15d4f3), closes #1959
  • Toast message width (81a053a)
  • Unreachable side-buttons on small screens (08f5808)
  • Updating style on filter change (1ab2c19)
  • layman: select proper layer bbox (4364dcc), closes #1862
  • routing: Don't add waypoints on draw and measure (c84df50)
  • Trim external source url before data request (402133a)
  • Unsubscribe all component subs onDestroy (00eaa2e)
  • Update checked file extensions when adding vector url (4117a36)
  • Use the wms legend from selected style instead of hardcoded first one in add-data panel (244aa62), closes #1860

Build System

  • Add geostyler-style and geostyler-sld-parser dependencies (04fc82a), closes #1822
  • Add ngx-color dependency (5b701ac)
  • Upgrade to Angular 11 (9dedc4f), closes #1803

Code Refactoring

  • Rename newLayerStyleSet event subject to onSet (96290a3)

Features

  • LayerManager: Expose layer source type & URL (13cc39e)
  • styler: Add warning to unsupported sliders (46b6806)
  • Ability to cancel url request from add data (638e845)
  • Add a hack to style cluster layers using SLD (13e38dd)
  • Add graphicsFill and graphicStroke sub-symbolizers (9f98718)
  • Add line symbolizer for SLD and minor tweaks (cf21dcb)
  • Add selectors for tripplanner route/waypoint layer (c9de558), closes #1927 #1925
  • Add support for scale denominators in SLD editor (2e2935b)
  • Add support for SLD filters by attribute values (e5780ff), closes #1822
  • Add test application project (3af6c57)
  • Allow save/overwrite compositon opitons (2ea4eeb), closes #1907
  • Allow to disable automatic legend (fb43ecd)
  • Allow to snap to layer features on selection mode (2d0e030)
  • Create layman access-rights component (18d4993)
  • Disable snapping when using selection mode in draw panel (d3af2b7), closes #1820
  • Generate SLD from OL style. Improve cluster style (43403ab)
  • Provide dash pattern for line symbolizer (4159c35)
  • Provide default style for new layers in SLD (95eab68)
  • styler: Add dialog to select icon for iconSymbolizer (6db1622)
  • test-app: Add symbolizer icons (5663a63)
  • Add workspace layer property to composition schema (a640a3c)
  • Parse and fill SLD style for editing (8508ec5)
  • Save external WFS service to composition under hs.format.externalWFS vector format (c5d6146)
  • Support renaming of SLD rules (ee0c108)
  • Support SLD rule and symbolizer editing and serialization (d71bee9), closes #1822
  • Turn off drawing if selected drawing layer turned off (0afa80d)
  • layermanager: Cdk drag and drop for physical list (20123b3), closes #1906
  • routing: Change routing provider to OpenRoutingService (bd98ffd), closes #1904
  • server: Provide env variable for OpenRoutingService (80c127b)
  • wms: zoom to joint bbox of layer group (eeef2ce)

BREAKING CHANGES

  • Individual styling of features is removed in draw panel
  • declutter function in HsLayerEditorVectorLayerService is removed
  • Subscribers of HsStylerService.newLayerStyleSet should rename it to
    HsStylerService.onSet
  • styler: We don't include styler icons in hslayers lib, but the developer should provide an
    array of icon definitions through HsConfig. This enables more customization (extra icons) and
    reduced hslayers bundle size. Icons should be copied as any other image asset in angular.json. See:
 Object.assign(this.HsConfig, {
      symbolizerIcons: [
        {name: 'bag', url: '/assets/icons/bag1.svg'},
        {name: 'banking', url: '/assets/icons/banking4.svg'},
        {name: 'bar', url: '/assets/icons/bar.svg'},
        {name: 'beach', url: '/assets/icons/beach17.svg'},
      ]})

Angular.json:

 "architect": {
        "build": {
          "builder": "@angular-builders/custom-webpack:browser",
          "options": {
            "assets": [
              {
                "glob": "**/*",
                "input": "projects/test-app/src/assets",
                "output": "./assets"
              },
  • Add peerDependency ngx-color
  • Add peerDependencies geostyler-sld-parser and geostyler-style
  • layermanager: Added @angular/cdk peerDependency to be able to use drag and drop feature
  • routing: Be aware to specify OPENROUTESERVICE_API_KEY in .env of hslayers-server because
    OpenRoutingService requests are routed through our proxy service to not expose the API key.
  • See angular upgrade guide: https://update.angular.io/?l=2&v=10.0-11.0
Compare
Choose a tag to compare

4.0.1 (2021-05-14)

Bug Fixes

  • Add data from file advanced options not showing (32767da)
  • Add HslayersCesiumComponent to entryComponents (4085a2a)
  • Added translations for navigations service down (bab6365)
  • Change time dimension config logic (cbbf141)
  • Check for the hslayers-server.db directory existence (bd4c117)
  • Check for the hslayers-server.db directory existence (e21cfa5)
  • Check if layer is wfs before trying remove on layman (bf34b79)
  • Close toast messages (467ce92)
  • Disable X-Forwarded-* headers for WMS not to rewrite domains in capabilities (a154129)
  • Don't fail adding new draw layer if no layman endpoint def found (49909e0)
  • Dont proxy LAYMAN_BASEURL/micka paths (11d0937)
  • Encode features as Json object instead of string (315e56a), closes #1398
  • Fix layman composition sortBy param check (53d54a5)
  • Graceful handling of routing service failure (adee953)
  • Interactions added twice with ngRouter (35dbb6b)
  • Make all advanced filter section dropdowns in one style (e7129fe)
  • Make sure sidebar state is set after layout is loaded (74e957e)
  • Missing http context attribute in server share component (428954f)
  • Remove disfunctional WINDOW_PROVIDERS (6d47735)
  • Remove OSM layer from cesium app, since its hidden anyway (d1cbc0c)
  • Select all wms layers not enabling 'Add to map' button (1a1e527)
  • Set always correct url to the Layman login button (#1791) (1e7fb45)
  • Set matched results to length of array when x-total-count header missing (9de696c)
  • show layman compositions with micka together (e5edcf9)
  • Single version of OL for hslayers and hsl-app (79effc1)
  • Sort compositions and layers by date starting with the newest (08791d0)
  • Substitute moment with dayjs (273108e), closes #1805
  • Update czech translation (cbfcd2f)
  • Vendor chunk without sourcemap for hslayers-ng-app (835c188)
  • Wrong structure of layerLoading subscriber (04ec26e)

Build System

chore

  • Upgrade ngBootstrap to from 6 to 8.0.4 (8c90202), closes #1752

Code Refactoring

  • Don't use layers source to store loading progress, but descriptor instead (c035bf9), closes #453

Features

  • Add loading progressbar for base layers (7db6274)
  • Add missing cz and sk translations (78fb9cd)
  • Add possibility to filter layman drawable layers (816f8d1)
  • Add redirect button pointing to Micka for compositions (bad97df)
  • Allow permissions setting in Add data (layers from file) and new draw layers (00ce36e), closes #1801
  • Init hs.source.SPOI handy sub-class (263b450)
  • Pre-fill hs.source.SPOI query (78a6670), closes #1648

Reverts

  • Revert "build: Add webpack to dependencies of monorepo" (0251595)
  • Add sensors entryComponets back (2dbd518)

BREAKING CHANGES

  • Vendor chunk needs to be included in the <script> tags (order doesn't matter)
  • Applications which rely on checking layers source 'error' and 'loaded' attributes
    would break. We don't expect anyone to do it though, since those attributes were used internaly in
    Hslayers. Also HsEventBusService.layerLoadings subject emits different parameter structure:
{layer:
Layer, progress: {
  loadCounter: number;
  loadTotal: number;
  loadError: number;
  percents: number;
  loaded: boolean;
  error?: boolean;
  timer?: any;
}}