Releases: hslayers/hslayers-ng
Releases · hslayers/hslayers-ng
8.1.0
8.1.0 (2022-03-15)
Bug Fixes
- external: Check if layer is visible, when handling feature custom actions (15aeebe)
- legend: Layer has no style rules (91956e9)
- print: Implemented fixes for found bugs and issues (1f5416b)
- print: Provide correct wms layer legend height (1b910dd)
- save-map: Button for downloading composition json (a6c4f83)
- Fix save-map thumbnail generation (8e91564)
- save-map: Improve map saving completion (af84014)
- Improve map saving UX and validation (7876384)
- Look for wms layers with name recursively (bdd0e2a)
Code Refactoring
- Merge the two variants of map saving forms (a908092)
Features
- print: Support configuring legend, scale and text for print panel (1c7ad71)
BREAKING CHANGES
- advancedForm hsConfig parameter removed
8.0.0
8.0.0 (2022-02-11)
Bug Fixes
- Await for locales to load for some translations (2d41de5), closes #2671
- Check if server layer is vector (083f92f)
- Clear error message on each tile load successfully loaded (7cc6c65)
- clusteringDistance config param (1d8d599)
- Correctly remove external actions on layer removal (9258524), closes #2635
- Don't scroll to layer being added through GET param (c2a66fe), closes #2541
- Don't search layer for feature in invisible layers (e16e771)
- Dont clear hover widget replay subject on destruction (aa18426)
- Draw layer list dropdown position (cbc7ff0)
- Enable getfeatureinfo if capabilities lists layer as queryable (381b772)
- Exclude GPServer services from services list (fc3ae66)
- Finding of correct layer when feature IDs overlap (6cf6739), closes #2617
- Flickering due to cached feature-layer mappings (7e1432a)
- Group layer manager action under dropdown menu (94ed8ea), closes #2585
- Hide popup for layers where it's not configured (5a96c81), closes #2672
- Increase supported max panel size (388b36f)
- Layer scale settings in LayerManager keeps its value (3a73ec4)
- Make instance checking more robus when mod-fed is used (3126d68)
- Make layer removed async (3bf71ee)
- Missing layer editor widgets after second toggle (4d721a1), closes #2602
- Not possible to add Layman layer to the map using draw layers list (0188beb)
- Only imageServer gets loaded (89f96ae)
- Override LAYERS param with subLayers if specified (5f0f0de)
- Panels space minw width (6d2d95a)
- Render font in styler imediately after change (89ba1cf), closes #2637
- Set copied layer props and source params before adding to map (ddc9861)
- Set copied layers sublayers to new copy (cfcb6c3)
- sidebarToggleable config param (8c5fc0e)
- map: Fix mousewheel zoom not working in Material apps (c83ff8d)
- Add ability to toggle arcgisrest sub layers (45255da)
- Add checked layers OR all layers if none checked (3de2100)
- Adding of ArcGis layers as one layer (fa97558)
- Allow setting of arcgis layer title (dc4e497)
- Callback fix for Wagtail (bbd47a0)
- Catch error, if Ol cannot get mapExtent (cec1ec3)
- Changed some missed replacements from (5ccba47)
- Check if caps.documentInfo exists (89af3e4)
- Check if layer is clustered (ae070ba)
- Clear initial urlType after it is loaded (6b4a0c4), closes #2541
- Clone copied layers source (27a29ab)
- Create a layer copy (bd36a2d)
- Delete ArcGis Layer array if size is 0 (cc4f76e)
- Display subset of sublayers if needed (d3cc6f8)
- Do not iterate undefined (479edbb)
- Don't generate new arcGis layer title from sublayers (096cde9)
- Don't set subLayers property if whole wms layer is added (1230841)
- Expanding services in arcgis (4da520d)
- Get arcgis layer name preferably from documentInfo (16c42a6)
- Load extent of ArcGIS layers for zoom to button (b1dd9b6)
- Might fix the loading layer icon (26ef760)
- OpenLayersParser when default imports are used (fc38ff4)
- Private view properties not applied (abbf2f4), closes #2522
- Push argis added layers to returned collection (c340986)
- Readme link to hslayers-server (f6d69de)
- Register 3031 projection to proj.def (4004f2b)
- Register 3995 projection to proj.def (d1b046f)
- Replace default url path for map sharing (9b25b5c)
- Reset also views rotation (fa61a43)
- Set AddData panel to catalogue after adding layers (07f0325)
- Set fornt size for new SLD rule for clusters (03d0da5)
- Setting of vector layer definition (593e03e)
- Unclosable sidebar (477746b)
- Update dependencies for the material layermanager component (3782d8c)
- Use c...
7.1.0
7.0.4
7.0.3
7.0.2
7.0.1
7.0.0
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...
6.1.0
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)
6.0.2
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