Releases: hslayers/hslayers-ng
Releases · hslayers/hslayers-ng
11.2.0
11.2.0 (2023-04-13)
Features
- Add more intuitive option how to 'go back' after ArcGIS REST service is expanded. (2114dac)
- Allow upload of raster series (2b180bf)
- Calculate combined extent for ArcGIS Map Server layers (8c934c8)
- Zoom to combined extent for WMTS layers (fcf4cb2)
Bug Fixes
- Add allowedStyles add-data param to missing data types (d4425e0)
- Handle calcAllLayersExtent error (337e6b5)
- HsEndpoint import causing circular dep (afafdc8)
- In app login control (3e5717a)
- Load external wfs layers without add layers panel (ca9ca31)
- Pass app param to calcAllLayersExtent (64b1319)
- Raster time-series regex patter for string with no separator (b345804)
- Raster time-series regex priority, time-regex param values (f93aec4)
- Register 32633 and 32634 projs (eb2564a)
- Use full SUPPORTED_SRS_LIST as default (6ba4658)
- WFS: Swap BBOX only for WFS 1.x (3ed7009)
- When content-type headers are missing in getCapabilities response treat it as success (bf1a9f6)
- WMS extent parsing (958e72d)
11.1.0
11.1.0 (2023-02-17)
Bug Fixes
- Add data tablist sticky only on wider screens (5177e91)
- compositions: Pass on created WFS layer (90d5eb2), closes #3817
- Don't use default imports (cb99ee6)
- Don't try to calculate combined extent when collection is empty (6791a79)
- Don't use CRS:84 extent as transformation input when parsing WMS layer extent prop (2c99595)
- Form control font-size (17f75c7)
- jsonGetFeatureInfo type import (ad0cb43)
- Load Layman WFS (b538e9e)
- Parsing of linted GML getFeatureInfo response (39e6f28), closes #3780
- Remove already existing layer (0b64b0f)
- Try to fit to content when new Layman layer added and synced (5a52b76)
- WMTS getFeatureinfo (a0cc7e2)
- Wrong usage of nullish coalescing operator when transforming WMS bbox. (54bb820)
11.0.0
11.0.0 (2023-01-16)
Bug Fixes
- Error: Can't resolve 'timers' (538661f)
- Apply style on color hex input changes (6b9548c)
- Baselayer toggling (e87d9df)
- Bootstrap button focus text color (ad2e7a9), closes #3645
- Calculate style foreground color on init (d161227)
- Center labels for additional panels (0d9b662), closes #3437
- Composition/add-data item list overflow triggering map extent change (873e88e)
- Configurable mobilebreakpoint/sidebar position for multiapp (85a5dff)
- current_base_layer composition param (a58af0f)
- Do not fire compositionEdits event only when showInLayerManager is explicitly set to false not just falsy (75d6cc1)
- Don't cache getCapabilities, if response is error or no data was found (1de6bbc)
- Don't import cesium widgets css twice (08d30e4)
- Feature by Id not found in some cases (57e1c0b)
- Fix sidebar duplication when hslayers component loaded twice (ed845a6)
- Handle ol.Layer without ol.Source (64cd453)
- Make symbolizer headings smaller (19103e1)
- Module imports for geostyler classes (cc2ced8)
- Properly disable pagination buttons (6954247)
- Unregister previous HsQueryPopupComponent when init called again (44ac787)
- add-data-catalogue: Handle login timeout (7c0aade), closes #3608
- cesium: Cesium Es6 module imports (39dcdad)
- docs: Fix gen-doc script (1f3c092)
- Hide menu after adding style rule filter (09d739b)
- Migrate to new NgMaterial components (c450457)
- Monitor showInLayerManager state change (24ed343)
- Overlay panel container need to fill screen (425cf2c)
- Provide translation service and utils in root (47ba93d)
- Remove duplicit declarations from save map service (308f932)
- Select feature if clicked on symbol, but not exactly in geom (c9b80fd)
- Support sld 1.1.0 style definition (db1310d), closes #3579
- hs-server: Provide logout callback (72b0669)
- Use tree shakable module imports for federation (b911316)
Features
- Allow 'sidebarPosition' to be configured to 'bottom' by choice not by mediaQuery. (2810a50)
- Expandable mobileview sidebat + UI enhancements (2cf8b44)
- add-data: Allow to load SHP as WFS (57aea27)
- add-data: Allow to load vector-data as WMS (8e1bdf6)
- add-data: Mock "load as" UI (9a1a0b2)
- add-data-catalogue: Refresh Layman auth (f4bcd0a)
- config: Add possibility to use base_layers config param to load baselayers as composition (44c2015)
- i18n: Add new strings for symbolizer types (d34d77a)
- Display legend for each rule in styler panel (b186d9e)
- Improve graphics fill warnings and button to remove graphic (673e90b), closes #3444
- Make error toast duration configurable (40560b8)
- New feature select DOM action (9f04700)
- Style filter/scale toggles differently if filter exists (d6ba3c6)
- config: Use base_layers.default to set which layer from basemap composition should be visible (a0981a7)
- UI: Replace loader icon with CSS loader (575dcc5)
- Use grayscale map composition param (fe749bd)
Reverts
- Re-enable external anchors for selecting features (b6bb006)
10.0.0
10.0.0 (2022-10-21)
Version 10 is build on Angular 14 and OL 7 and introduces many bugfixes and type checks (See 10.0.0-next.0 and 10.0.0-next.1)
Bug Fixes
- Clean up replay subjects when destroying containers (06a02b5)
- Fix i18n string for layer deletion (e911c12)
- Map swipe button style (1e33407)
- Trigger colorMapChanged event (8cb62f3)
- Unsubscribe draw-panel sidebarpos subscription (858a2ee)
- Unsubscribe layout components subscriptions (6a67c18)
- Walkaround of wellKnowName bug when parsing qml (14fb5b3), closes #3431
- i18n: Add space to message (9199033)
- sensors: Set chart dialog position in case of bottom placement (2fc5f91)
Features
Performance Improvements
- Withdraw swipe control from Zone.js (c8d3d4e)
10.0.0-next.1
10.0.0-next.1 (2022-09-23)
Bug Fixes
- Add back missing ngIf after rebase (c77c6a4)
- Add time shift instead of substracting (56bb8f1)
- Async check of zip file size (626acde)
- Async chunk upload (79ffc0d)
- Await translations to load (6e66a88)
- Check for 4236 proj. aliases when uploading geojson file (96296ef)
- Check if default_view property exists (0867719)
- Check if Layman endpoint exists where needed (8305b17)
- Correctly react to overwrite dialog actions (fd723b5)
- Custom color maps on ol-ext 4 IDW layers (acc3e36)
- Do not call singleTile as constructor (9738921)
- Don't rely on package.json to fill version info in impressum (3e181d9)
- Fix layman layer deletion (f797f2c), closes #3114
- Fixed multiple layer removal (6a2c897)
- Format time by config instead of hardcoded cs (115bc9f)
- If hsConfig language property is provided, set the languageService language to it as well (5a8c674)
- inherit parent el min-height, so the map doesn't disappear when no panel is enabled (For statistics) (d1ac3e6)
- Initialise map data permalink, visibleLayersInUrl, externalCompositionId properties (248aa25)
- Recreate permalink and externalCompositionId params when creating map service (6138cef)
- Save getColor function also as a property to allow legend creation (0958805)
- config: Delete already assigned property (b99cbeb), closes #3309
- sensors: Set modal dialog background (cd2a3c5)
- Ignore wfs status, when looking for layer descriptor adding vector layers (4463b38)
- Make importing of proj4 safer (3e9aabb)
- Make sure map is initiated properly before trying to fit extent (1ffbb03)
- Overwrite geojson with sld (8caab93)
- Prevent sidebar from opening when loading defaultComposition and config sidebarClosed is set to true (6a81946), closes #3149
- Provide header text for file upload error (53eb812)
- Provide layer name from the descriptor if layer doesn't exists (a714db6)
- Saving of attribute value when it's not object (c41622e)
- Set UI for LaymanAccessRights component on Init (9f86aff)
- Show dialogs also when they are created on startup (d53105f), closes #3190
- Tweak types for OL7 (564fcd0)
- Zooming to default view buttons in multi-apps (4f586a8)
- permalink: Dont parse hs-permalink along with other customParams (990e586)
- scss: Override wagtail theme css (0d4ff17)
- wmts: Allow sharing WMTS layers as base (a2e24d2)
- Basemap gallery widgets created twice (8dec9d2)
- Declare default sidebarPostion (45ef536), closes #3257
- Delay sidebarPosition monitoring to not get ExpressionChangedAfterItHasBeenCheckedError (3a8cf22)
- Multiple app support when generating permalink (a93aabf)
- Reset translations dictionary when overrides provided in config (70f6de2)
- Set tag when publishing next prerelease version (3cea146)
- hslayers-server: Pass correct HTTP response status code for most frequent errors (b95a75b)
- LayerManager: Pass 'app' property to service (b4d2b59)
- LayerManager: Safely polyfill dimensions (f003c63)
- SCSS: Add new Bootstrap stylesheet (8c01e81)
- statistics: Better predictions and filter out nulls (935c092)
- statistics: Fix building of statistics app for ng14 (b3fb761)
- statistics: Set title for statistics app (e15ff73)
- Provide SUPPORTED_SRS_LIST first 2 srs as default (bfd3bc6)
- Relead current translations only if current lang set (0010114)
- Return result of recursive checkForLayerInLayman func (125808d)
- Show SRS input for SHP file type (4544f7a)
- WFS version 2 getFeature params, URI EPSG aliases (5c81dee), closes #3151
Features
- add-data: Finalise GeoSPARQL UI (a985101)
- add-data: Make use of new isUrlObtainable() (56fb0e7)
- add-data: Mock GeoSPARQL add-data option (11f07de)
- add-data: Verify SPARQL endpoint URL (78590d5)
- LM: Show toast message when layer load fails (7546aaf)
- A nicer dialog to specify colorMap style options (4ada5e0), closes [#3025](https://github.com/hslayers/hslayers-n...
10.0.0-next.0
10.0.0-next.0 (2022-08-19)
Bug Fixes
- Delay sidebarPosition monitoring to not get ExpressionChangedAfterItHasBeenCheckedError (3a8cf22)
- If hsConfig language property is provided, set the languageService language to it as well (5a8c674)
- Make importing of proj4 safer (3e9aabb)
- SCSS: Add new Bootstrap stylesheet (8c01e81)
- statistics: Fix building of statistics app for ng14 (b3fb761)
- statistics: Set title for statistics app (e15ff73)
- Add back missing ngIf after rebase (c77c6a4)
- Add time shift instead of substracting (56bb8f1)
- Async check of zip file size (626acde)
- Async chunk upload (79ffc0d)
- Check for 4236 proj. aliases when uploading geojson file (96296ef)
- Check if default_view property exists (0867719)
- Check if Layman endpoint exists where needed (8305b17)
- Correctly react to overwrite dialog actions (fd723b5)
- Don't rely on package.json to fill version info in impressum (3e181d9)
- Fix layman layer deletion (f797f2c), closes #3114
- Fixed multiple layer removal (6a2c897)
- Format time by config instead of hardcoded cs (115bc9f)
- Ignore wfs status, when looking for layer descriptor adding vector layers (4463b38)
- Make sure map is initiated properly before trying to fit extent (1ffbb03)
- Overwrite geojson with sld (8caab93)
- Prevent sidebar from opening when loading defaultComposition and config sidebarClosed is set to true (6a81946), closes #3149
- Provide header text for file upload error (53eb812)
- Provide layer name from the descriptor if layer doesn't exists (a714db6)
- Provide SUPPORTED_SRS_LIST first 2 srs as default (bfd3bc6)
- Relead current translations only if current lang set (0010114)
- Reset translations dictionary when overrides provided in config (70f6de2)
- Return result of recursive checkForLayerInLayman func (125808d)
- Saving of attribute value when it's not object (c41622e)
- Set UI for LaymanAccessRights component on Init (9f86aff)
- Show dialogs also when they are created on startup (d53105f), closes #3190
- Show SRS input for SHP file type (4544f7a)
- WFS version 2 getFeature params, URI EPSG aliases (5c81dee), closes #3151
- hslayers-server: Pass correct HTTP response status code for most frequent errors (b95a75b)
- LayerManager: Pass 'app' property to service (b4d2b59)
- LayerManager: Safely polyfill dimensions (f003c63)
- statistics: Better predictions and filter out nulls (935c092)
Features
- A nicer dialog to specify colorMap style options (4ada5e0), closes #3025
- Add a dialog explaining statistics app (80de9f0)
- Add posiblity to use reversed colorMap + add code desription (afd0614)
- Added set permissions feature to add data and compositions catalog items (098b71b)
- Assign extent to WMTS layers (5d498f4)
- Check if url is obtainable for add-data-vector-url (a127019), closes #3189
- Load WMTS datasets from Micka endpoint (e97f86d)
- Provide ability to overwrite existing layman layers from file upload (1ed41a5)
- Provide details if overwrite dialog appears again (798dd3d)
- Respond to keypress event for rename layer dialog (333a81a)
- Support timeout parameter in queues (bdd71d2)
- Update dimension from TIME param im WMS sources (1980c5f)
- Upgrade to Angular 14 (09939e4)
- statistics: Create function sketcher (9268bc6)
- statistics: Dialog to fill in input for prediction models (ec50fcf)
- statistics: Storing of prediction models (4cc322d)
- statistics: Visualize predictions (23e3800)
- wms-t: Show loader if dates not fetched yet (9856c89)
- Update IDW layer legend on colorMap change (4649bf4)
- Widget for setting bounds and colormap for IDW layer (4ea2eac)
9.3
9.3.0 (2022-08-05)
Bug Fixes
- Add back missing ngIf after rebase (c77c6a4)
- Add time shift instead of subtracting (56bb8f1)
- Async check of zip file size (626acde)
- Async chunk upload (79ffc0d)
- Check for 4236 proj. aliases when uploading geojson file (96296ef)
- Check if default_view property exists (0867719)
- Check if Layman endpoint exists where needed (8305b17)
- Correctly react to overwrite dialog actions (fd723b5)
- Fix layman layer deletion (f797f2c), closes #3114
- Fixed multiple layer removal (6a2c897)
- Format time by config instead of hardcoded cs (115bc9f)
- Ignore wfs status, when looking for layer descriptor adding vector layers (4463b38)
- Make sure map is initiated properly before trying to fit extent (1ffbb03)
- Overwrite geojson with sld (8caab93)
- Prevent sidebar from opening when loading defaultComposition and config sidebarClosed is set to true (6a81946), closes #3149
- Provide header text for file upload error (53eb812)
- Provide layer name from the descriptor if layer doesn't exists (a714db6)
- Saving of attribute value when it's not object (c41622e)
- Show dialogs also when they are created on startup (d53105f), closes #3190
- Show SRS input for SHP file type (4544f7a)
- WFS version 2 getFeature params, URI EPSG aliases (5c81dee), closes #3151
- hslayers-server: Pass correct HTTP response status code for most frequent errors (b95a75b)
- LayerManager: Pass 'app' property to service (b4d2b59)
- LayerManager: Safely polyfill dimensions (f003c63)
- statistics: Better predictions and filter out nulls (935c092)
- Provide SUPPORTED_SRS_LIST first 2 srs as default (bfd3bc6)
- Relead current translations only if current lang set (0010114)
- Reset translations dictionary when overrides provided in config (70f6de2)
- Return result of recursive checkForLayerInLayman func (125808d)
- Set UI for LaymanAccessRights component on Init (9f86aff)
Features
- Add a dialog explaining statistics app (80de9f0)
- Assign extent to WMTS layers (5d498f4)
- Check if url is obtainable for add-data-vector-url (a127019), closes #3189
- Support timeout parameter in queues (bdd71d2)
- Update dimension from TIME param im WMS sources (1980c5f)
- statistics: Create function sketcher (9268bc6)
- statistics: Dialog to fill in input for prediction models (ec50fcf)
- statistics: Storing of prediction models (4cc322d)
- statistics: Visualize predictions (23e3800)
- wms-t: Show loader if dates not fetched yet (9856c89)
- A nicer dialog to specify colorMap style options (4ada5e0), closes #3025
- Add posiblity to use reversed colorMap + add code desription (afd0614)
- Added set permissions feature to add data and compositions catalog items (098b71b)
- Load WMTS datasets from Micka endpoint (e97f86d)
- Provide ability to overwrite existing layman layers from file upload (1ed41a5)
- Provide details if overwrite dialog appears again (798dd3d)
- Respond to keypress event for rename layer dialog (333a81a)
- Update IDW layer legend on colorMap change (4649bf4)
- Widget for setting bounds and colormap for IDW layer (4ea2eac)
9.2
9.2.0 (2022-05-20)
Bug Fixes
- Display hover popup even when query is disabled (97501a1)
- Dont forget to set sld layer param when parsing defaultStlye to ol style (2dd49e5)
- Hide compositionInfo panel on config change (3edd504)
- Only layers visible in layermanager should trigger compositionEdits (2d93270)
- Provide all params for addSld translation (4da3174)
- Reduce size of color picker and center it (9a280f3)
- Selection of sensor after selecting feature in map (fbae152)
- Sidebar button order after layout resize (65250bc)
- Support senslog OTS2 endpoint (e47286d)
- sensors: Use translated sensor names in charts (dcd6317)
Features
- sensors: Highlight selected unit (cb2382f)
- Support listing of all attributes in hover popup (706d2a8), closes #3037
- Various improvements for visualizing sensor readings (911c18a)
- sensors: Read observations for particular unit from OTS2 (9aaf84b)
Performance Improvements
9.1
9.1.0 (2022-05-16)
POSSIBLE BREAKING CHANGES
- Substitute
HsUtilsService.getAjaxLoaderIcon()withhsConfigRef._ajaxLoaderPath.
hsConfigRef can be filled byHsConfig.get(app | 'default')inside component's ngOnInit.
SubstituteHsUtilsService.getAssetsPath()function with variableconfigRef.assetsPath. - New peer dependency: colormap.
npm i colormap - hsEventBusService.mapExtentChanges event data changes to {map, event, extent, app}
Bug Fixes
- Access right translation (96a5bee)
- Change structure for mapExtentChanges event subject (9056ec2), closes #2951
- Circular dependency in compositions (bea2b11)
- Clean map content when overwriting composition (f20e357)
- Cleanup after layer manager component is destroyed (5d08430)
- Display toasts for correct app instead of default (6475fb8)
- Expression changed errors in minisidebar (0a0c8c1)
- filter duplicate layers or compositions (f862306)
- Fix translations and icon selector for symbolizers (2494d12), closes #2925 #2924
- Hide save current map btn, if saveMap is not enabled (8e01059)
- InterpolatedSource weight option is manditory (8a8f961)
- Only layers visible in layermanager should trigger compositionEdits (2d93270)
- Pass app to wmts url component (64c272d)
- Provide all params for addSld translation (4da3174)
- Provide default app id if none is present (4f70ff0)
- Reduce size of color picker and center it (9a280f3)
- Remove unnecessary jQuery conflicting dropdown attrs (6a719ba)
- Resetting of default view for multi-apps (1c8e900)
- Save layers to composition in order 'higher zindex first /base map last (f1f20e8)
- Selection of sensor after selecting feature in map (fbae152)
- Show users screenName or username if given name and family name is not provided (f2625e4)
- Sidebar button order after layout resize (65250bc)
- Sidebar not toggleable in mobile layout (c87e57c)
- Sublayers checkboxes (8028932)
Features
- Ability to set access_rights per user (ce6ef33)
- Allow SLD style for loaded geojson layers (546f75d)
- Parse few CSW compositon metadata (94c3515)
- Support creation of color maps through SLD filters (9b8c4a6)
- add-data: Service list component (b32c5d1)
- Support function as getUrl result for vector layers (8299f0f)
Performance Improvements
9.0
9.0.0 (2022-04-20)
Bug Fixes
- Add missing required composition params (5b353a5)
- Bootstrapping code for cesium-app (02ca26a)
- Building of cesium app (d8e2e64)
- Capabilities parsing error (22bfa9b)
- Composition panel fixes (906e79d)
- connectServiceFromUrlParam (d9bb208)
- contentWrapper needs to be set before sidebarPosition (5e0d7fa)
- Copy/move feature (c44ad30)
- Create empty toasts array if none exists (7a66e57)
- Don't go fullscreen in very small containers (dffcf13)
- Don't store layers not visible in LM (d87c2d9)
- Don't throw error if some highlightable feature null (c8a5ccf)
- Dont request layman version if no endpoint (b4ec6f2)
- Ensure Layman username at first login (2af8705)
- Error filling bbox for composition when sharing map (7599145)
- ExpressionChangedAfterItHasBeenCheckedError (32fd074)
- Fix basemap gallery for multi-apps (15fde85)
- Fix decoupling test app for multi-apps (b311ced)
- Init popup service before component (57edff5)
- initRun for undefined app (8393c73)
- LM multi app fixes (4c173bd)
- Loading layman wfs layers (f208291)
- Make sure dialogs are passed app id in data object (22380a6)
- Make sure sidebarPosition is set before layoutservice init (#2916) (3138a2c)
- Map swipe position in storage (7a2eb3f)
- Merge data objects for widgets from js and html (460ad4d)
- Minisidebar buttons displayed (3762c30)
- OSM layer from app not added due to placeholder (5209115)
- Passing of data object to panel from multiple sources (9b4c43d)
- Prioritize user defined height on init (ae3a7ec)
- Provide correct attr bound id for chb and label (ad0100c)
- Provide correct data object for layman login (45bd632)
- Provide default style for tmp draw layer (ee3e536)
- Remove obsolete Status Manager requests, fixes #2796 (3a389f3)
- Remove only selected layman layer (2dbfc92)
- Remove osm placeholder layer if default_layers has OSM already (f340919)
- Return app reference string on auth change (1a3b486)
- Save map component undefined error (b1001ec)
- Separate vector uploaders, empty sld blob breaking vector upload (88b4559)
- Set default style object if parsing sld/qml fails (50cb0d7), closes #2880
- Share pure map (df24678)
- Share radio buttons (2e145d5)
- Sidebar should load always, but be hidden if configured (1932fe3)
- add-data: Fix url details params translation (759f979)
- Sidebar not shrinking on layoutresize (a7936cc)
- map-swipe: Cannot addLayer from undefined (754d724)
- measure: Bind data to html from service and don't store it inside the component (4a535d0)
- save-map: Add missing app input (d1c6a52)
- Translation pipe syntax (62de181)
Build System
- Add popperjs/core peer dependency for ngBootstrap (735c51c)
Code Refactoring
- Change sidebar button management (4ae9387)
- Make HsLayoutService.sidebarVisible an observable (f9822bf), closes #2888
- Multiple translation services for multi-apps (77e0158)
- Replace sidebarBottom() with sidebarPosition observable (b15450e), closes #2888
Features
- Ability to load CSW type compositions (3944356)
- Add multiple-apps support with shared services but separate config (e0c1dd5)
- Add new defaultComposition config parameter (ed7794d)
- Add overridable senslog path config (c5b668e)
- Allow multiple hslayersNgConfig with app id postfix (601f440)
- Create InterpolatedSource class for IDW layers (c8326a6)
- Support multiple hslayers-app elements (eeb161e)
Performance Improvements
- Make panelSpaceWidth observable (7514330)
BREAKING CHANGES
- Since a page can have multiple hslayers maps, but Angular services are singletone, a lot of functions inside hslayers services need
appparameter specified. Use value 'default' if unsure. - Replace sidebarVisible() with sidebarVisible observable. It returns {app, visible}
- Replace sidebarBottom() with sidebarPosition observable. It returns {app, position}
where position == 'bottom' if sidebar is...