Socket
Socket
Sign inDemoInstall

@dlr-eoc/base-layers-raster

Package Overview
Dependencies
Maintainers
1
Versions
42
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

2345

14.0.0

Diff

dlr-eoc-ukis
published 14.0.0-next.0 •

dlr-eoc-ukis
published 13.0.1-next.0 •

dlr-eoc-ukis
published 13.0.0 •

Changelog

Source

13.0.0 (2024-07-08) (services-map-state, map-ol, map-cesium and map-maplibre)

Breaking Changes

  • Update ol from ^7.3.0 to ^v9.2.4 Issue #225 @dlr-eoc/map-ol, @dlr-eoc/map-tools, @dlr-eoc/services-ogc, @dlr-eoc/utils-maps, @dlr-eoc/utils-ogc and demo-maps
  • @dlr-eoc/map-maplibre:
  • Move functions addUkisLayerMetadata and getUkisLayerMetadata from maplibre-layers.helpers to maplibre.helpers and remove hasUkisLayerMetadata.
  • Update maplibre-gl from v^3.3.0 to v^4.1.3 see maplibre-gl Breaking Changes.
  • @dlr-eoc/map-ol:
  • Move type IPopupEvent to @dlr-eoc/services-layers
  • @dlr-eoc/map-cesium:
  • Update cesium/engine from v^6.1.0 to v^10.0.0 and cesium/widgets from v^4.3.0 to v^7.0.0 see cesiumJS Breaking Changes.
  • Removed some external dependencies for cesium, as they are no longer required.

Features

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

    • Added viewAngle and rotation to mapState Issue #216.
    • Added optional notifier to setTime like in the setters setExtent, setViewAngle or setRotation.
    • Test for incorrect values in setters
  • @dlr-eoc/map-ol:

    • Adding support for mapState rotation #216
  • @dlr-eoc/map-cesium:

    • Adding support for mapState viewAngle and rotation
    • Added flyTo options for setViewAngle and setRotation
    • Added flyTo options for setNadirViewAngle - This can be useful if you switch the map to a 2D view and want to reset the ViewAngle before.
  • @dlr-eoc/map-maplibre:

  • Update "maplibre-gl-js" from 4.1.3 to 4.5.0 also see maplibre-gl.
  • Adding support for mapState viewAngle and rotation
  • Added new UKIS_METADATA.ignoreOpacity and UKIS_METADATA.ignoreVisibility which can be used in CustomLayer to prevent changing the opacity or visibility for some layers.
  • Added new function updateStyleLayerProperties(map: glMap, mllayer: TypedStyleLayer, layer: ukisLayer) to update paint, layout, maxzoom, minzoom, filter, source and source-layer from ukisLayers.
  • Added new function setUkisLayerMetadata(ml: TypedStyleLayer, meta: Partial<IukisMetadata>) and interface IukisMetadata.
  • shared-assets:
    • Add tilejson for open-map-style

Bug Fixes

  • @dlr-eoc/map-maplibre:
  • Fix wrong coordinate order from getExtent #216
  • Rename set/getBearing to set/getRotation because we want to have the same behavior as in openlayers and set/getBearing is expected differently in maplibre.
  • Fix create StyleLayer id in createCustomLayer and createStackedLayer.
  • Fix create default StyleLayers for GeoJson Data (test for MultiPolygon and MultiLineString).
  • Do not modify referenced objects when creating StyleLayers from CustomLayer or VectorLayer.options.style see also (cddf2fc6a83444851914ed6619bc8d5ada8ce485)
  • Fix add layer with the correct beforeId on update PaintProperty workaround for maplibre issue 3001.
  • Fix workaround that tried to get beforeId after layer was removed. Now use workaround only if map.getTerrain() is not not null.
  • Fix set layout.visibility in style of VectorLayer based on VectorLayer.visible.
  • Fix set VectorLayer.attribution from VectorLayer.options.style for TMS.
  • Fix set subdomains from VectorLayer in VectorLayer.options.style for TMS.
  • Fix return type of getUkisLayerMetadata.
  • @dlr-eoc/map-cesium:
    • Fix get entity.name for infoBox in none GeoJson layers
    • Get camera view and set Mapstate before destroy to preserve the last state for switching maps.
dlr-eoc-ukis
published 12.0.1-next.4 •

dlr-eoc-ukis
published 12.0.1-next.3 •

dlr-eoc-ukis
published 12.0.1-next.2 •

dlr-eoc-ukis
published 12.0.1-next.1 •

dlr-eoc-ukis
published 12.0.1-next.0 •

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
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