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

@dlr-eoc/layer-control

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/layer-control - npm Package Versions

2345

15.0.0-next.0

Diff

dlr-eoc-ukis
published 14.0.0 •

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 •

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