Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@dlr-eoc/base-layers-raster

Package Overview
Dependencies
Maintainers
0
Versions
44
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dlr-eoc/base-layers-raster - npm Package Versions

1345

12.0.1-next.0

Diff

dlr-eoc-ukis
published 12.0.0 •

Changelog

Source

12.0.0 (2023-12-12) (map-ol, map-cesium and map-maplibre)

Breaking Changes

  • Update angular from ^14.2.11 to ^16.2.1 automatic migrations are made by ng update. See update angular from 14.0-15.0 and 14.0-15.0.
  • Update @clr/angular and @clr/ui from ^13.17.0 to ^15.12.0. See releases Breaking Changes. Fixes in styles have been made so update the styles folder from projects/core-ui/schematics/ng-add/files/src/styles and also add class="content-area map-view" for content areas that include a map.
  • Update rxjs from ^6.6.7 to ~7.8.0. Fixes of deprecations forkJoin(obs,obs) to forkJoin([obs,obs]) and retryWhen() to retry({count: number deley: ()=> }) and combineLatest() to combineLatestWith() and of<T>() to of().
  • @dlr-eoc/map-cesium:

    • Remove exported type Tgroupfiltertype. Use Tgroupfiltertype = TFiltertypesUncap | TFiltertypes and import them from @dlr-eoc/services-layers.
  • @dlr-eoc/map-ol:

    • Remove exported type Tgroupfiltertype. Use Tgroupfiltertype = TFiltertypesUncap | TFiltertypes and import them from @dlr-eoc/services-layers.
    • Remove color and event from properties passed to raster layer popup. Now IPopupParams is passed so you can use IPopupParams.color and IPopupParams.mapEvent. For the remaining properties, use IPopupParams.properties, which contains feature properties and async data.
    • The parameters of the MapOlService.addPopup function are changed as follows addPopup(popupParams: IPopupParams, popupObj?: popup, html?: string, event?: 'click' | 'move', removePopups?: boolean).
    • The interfaces IPopupArgs and IDynamicPopupArgs have been removed. Use IPopupParams now
    • The dynamic popup now gets IPopupParams instead of IDynamicPopupArgs - popup.dynamicPopup.getAttributes(params:IPopupParams)
    • Not used notifier is removed from MapOlService.setZoom(zoom: number)
  • @dlr-eoc/map-tools:

    • Input 'mapSvc' of ProjectionSwitchComponent become mandatory and not optional
    • Additional mandatory input in ProjectionSwitchComponent "mapStateSvc" and optional "fitViewToNewExtent"

Features

  • @dlr-eoc/utilities:

    • New UKIS library export utilities for other libraries.
  • @dlr-eoc/map-maplibre:

    • A example has been added to the demo-maps to show how to work with the new maplibre library.
    • New UKIS library for working with maplibre was added.
  • @dlr-eoc/map-cesium:

    • New UKIS library for working with CesiumJS was added.
    • A new example has been added to the demo-maps to show how to work with the new cesium library.
    • The GeoJsonDatasource in map-cesium was updated and styling of vector layers is now possible.
  • @dlr-eoc/services-layers:

    • The layer.popup gets more types and uses IPopupParams which will be applied to all popups.
    • Export new type TFiltertypesUncap to use with TFiltertypes. So Tgroupfiltertype = TFiltertypesUncap | TFiltertypes is usable in maps.
  • @dlr-eoc/map-ol:

    • Popup events can be observed by MapOlService.popupEvents: Subject<IPopupEvent>. For this add asObservable: true to a popup object, you will then be able to subscribe to the event instead of having a popup container being added to the map.
    • A new Interface IPopupEvent is exposed.
    • Add groupID to olLayers (layer.groupID) to check if a layer was in an olLayerGroup.
  • @dlr-eoc/map-tools:

    • Optional parameter "fitViewToNewExtent" in the ProjectionSwitchComponent to adjust map view extent
dlr-eoc-ukis
published 12.0.0-alpha.2 •

dlr-eoc-ukis
published 12.0.0-alpha.1 •

dlr-eoc-ukis
published 12.0.0-alpha.0 •

dlr-eoc-ukis
published 11.1.0 •

Changelog

Source

11.1.0 (2023-05-30) (map-ol and layer-control)

Features

  • @dlr-eoc/layer-control:
    • Add input to disable and enable sorting for layers or layers of groups. E.g. <ukis-layer-control ... [layersSort]="true" [groupLayersSort]="false"> Issue #179.

Bug Fixes

  • @dlr-eoc/map-ol:
    • Restore ol map interactions and MapState after component toggle Issue #178.
dlr-eoc-ukis
published 11.0.0 •

Changelog

Source

11.0.0 (2023-05-05) (Openlayers Update and map-ol)

Breaking Changes

  • Update Openlayers to ^v7.1.0 and ol-mapbox-style to ^9.2.1. Issue #157.

  • @dlr-eoc/map-ol:

    • Styles from OpenLayers are no longer included in this component e3e98c1. You have to add them to your application manually see @dlr-eoc/map-ol/README.md.
    • The function vectorOnEvent now needs two parameters more layer: olLayer and feature: olFeature | olRenderFeature.
    • Refactor function layersOnMapEvent. Due to the removal of map.forEachLayerAtPixel in OpenLayers 7, the function works completely differently now. Iterate over all layers and test for feature or getData instead of just testing for color at a pixel. This also fixes Issue #120.

Features

  • @dlr-eoc/map-ol:

    • The function zoomInOut now accepts an optional object with callback, duration, easing and zoomStep.
    • Add types for FitOptions on setExtent.
    • Add function hideAllPopups which adds a css class to the popup element Issue #120.
    • The function layerOnEvent (for popups) now accepts an optional feature as the last parameter.
    • The function getLayerGroups is now public to retrieve the LayerGroups and Collections from the map.
    • Use hideAllPopups on layer.visible change and add css styles Issue #120.
    • Add groupID from CustomLayer or StackedLayer to the layers from there ol/layer/Group. So you can get the LayerGroup later e.g. in map.getAllLayers().
  • @dlr-eoc/utils-maps:

    • Add function getCollectionItem from ol/Collection. This returns the item and the index of the item if found otherwise null.
    • Add function layerOrGroupSetZIndex. Can set the zIndex for ol/layer/Group and all layers in the group.
    • Add function layerOrGroupSetOpacity. Can set the opacity for ol/layer/Group and all layers in the group.
    • Add function layerOrGroupSetVisible. Can set the visibility for ol/layer/Group and all layers in the group.
    • Add function collectionItemSetIndex. Moves an item in the ol/Collection to the index.

Bug Fixes

  • @dlr-eoc/map-ol:
    • Use applyBackground() from 'ol-mapbox-style' when creating vector tile layers.
    • Remove LayerGroups from map before add baselayerGroup, layersGroup and overlayGroup.
    • Set bbox for olLayerGroup layers in create_custom_layer.
    • Show popups on transparent features Issue #120.
    • Adjust to style changes of ol-control from OpenLayers 7.
dlr-eoc-ukis
published 11.0.0-alpha.1 •

dlr-eoc-ukis
published 11.0.0-alpha.0 •

dlr-eoc-ukis
published 10.1.0 •

Changelog

Source

10.1.0 (2022-11-07) (Features and Bug Fixes)

Features

  • @dlr-eoc/core-ui:

    • Update styles for layer-control - spacing and borders between layers and groups.
  • @dlr-eoc/layer-control:

    • Extend UI with some classes and style updates of layer-control.
    • Expand layers and groups on start based on the configuration in Layer.expanded and LayerGroup.expanded Issue #139](https://github.com/dlr-eoc/ukis-frontend-libraries/issues/139).
  • @dlr-eoc/services-layers:

    • Extend Types of Layer and LayerGroup to allow configuration of an expanded user interface to show or hide some details at startup Issue #139.

Bug Fixes

  • @dlr-eoc/services-map-state:

    • Reuse time from last state when `setExtent Issue #148.
  • @dlr-eoc/map-ol:

    • Use string for ol/OverlayPositioning change on OpenLayers v6.15.0.
    • Reuse time from last state when `setExtent Issue #148.
    • Remove id map and crosshair from the map div. If the map is used multiple times the ids are no longer unique and for styling classes are already there.
    • Fix setExtent from MapStateService after map init. Due to responsive map size it takes some time till the map has reached its full size and view.fit can calculate the correct extent.
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc