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

@dlr-eoc/map-three

Package Overview
Dependencies
Maintainers
1
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dlr-eoc/map-three - npm Package Versions

1245

10.0.0

Diff

Changelog

Source

10.0.0 (2022-10-13) (Update to angular 14, Features and Bug Fixes)

Breaking Changes

  • Package dependencies are set to allow Minor releases (which normally shouldn't break anything but can sometimes be) to simplify updates and usage when creating new apps.
  • Remove class floating from clr-main-container, this is now set on content-container e.g. in a route component @HostBinding('class') class = 'content-container floating';
  • Update angular from ^13.3.5 to ^14.0.2 automatic migrations are made by ng update and forms use types now.

Features

  • @dlr-eoc/layer-control:
    • Allow legend on LayerGroup like on the layer - if one legend fits for all layers.
    • Allow Dynamic components for Group description to display specific formatted descriptions.
    • Allow Dynamic components for Layer description to display specific formatted descriptions (keep in mind that this breaks @dlr-eoc/services-ogc generateResourceFromLayer for this layer!!! - If you pass inputs.description to IDynamicComponent it will try to take this).

Bug Fixes

  • @dlr-eoc/core-ui:

    • Replace deprecated ComponentFactory in DynamicComponent.
    • Fix style: remove right border on tabsbody for layers inside a group.
  • @dlr-eoc/layer-control:

    • Do not use <label for> with <input id> to prevent binding to the same element for duplicate IDs.
    • Do not change the group object binding in layerentry-group when creating a dynamic component from the group.
    • Do not change the layer object binding in layerentry when creating a dynamic component from the layer.
    • For Baselayers also show button to switch to the settings tab if layer has action Issue #135.
    • Show layer expand icon for 'Baselayers' only when the layer has some things to expand (legendImg, description, action, actions or styles as array to show a style switch).
  • @dlr-eoc/services-map-state:

    • Add missing time value in function setMapState on state initialization Issue #133.
  • @dlr-eoc/map-ol:

    • Update TmsLayer for vector tile style update.
    • Update Params and Source for baselayers.
    • Replace deprecated ComponentFactory in createDynamicPopupComponent angular 45263.
    • Set urls for vector tile layers after apply style to override them when tilejson is not provided. This is helpful to use tms services where no tilejson is available. Then set the url of the sourceId in your style file to "url": "" and add "tiles": []. This skips the request to tilejson.
dlr-eoc-ukis
published 10.0.0-next.1 •

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

dlr-eoc-ukis
published 9.0.0 •

Changelog

Source

9.0.0 (2022-05-20) (Update dependencies and documentation)

Breaking Changes

  • @dlr-eoc:
  • Update angular from ^12.2.5 to ^13.3.5
  • Update ol-mapbox-style from ^7.0.0 to ^8.0.7

Bug Fixes

  • @dlr-eoc/utils-maps:
    • Type Errors due to @types/offscreencanvas. All modules which use @dlr-eoc/utils-maps (which makse use of OffscreenCanvas) have to include offscreencanvas in there tsconfig types array. We cannot set this once at the main tsconfig because the types array in tsconfig.spec already overrides the main config.
dlr-eoc-ukis
published 8.1.0 •

Changelog

Source

8.1.0 (2022-04-04) (Type for CustomLayer and bug fixes)

Features

  • @dlr-eoc/services-layers:

    • Add optional type for CustomLayer Issue #112 for better type checking.
  • @dlr-eoc/core-ui:

    • Add inputs version and short title to ukis-header.

Bug Fixes

  • @dlr-eoc/map-ol:

  • @dlr-eoc/core-ui:

    • Fix Styles for clr-vertical-nav.right trigger margin.
    • Fix Styles for clr-vertical-nav.right icon direction.
dlr-eoc-ukis
published 8.0.1 •

Changelog

Source

8.0.1 (2022-01-05) (map-ol bug and PR template)

Bug Fixes

  • @dlr-eoc/map-ol:
    • Dispose olRasterSource for CustomLayer if it is removed, updated or the source gets changed issue 100.
dlr-eoc-ukis
published 8.0.0 •

Changelog

Source

8.0.0 (2021-12-09) (services-ogc and angular update)

Breaking Changes

  • @dlr-eoc/owc-control: This package is removed. Use owcSvc.generateOwsContextFrom(id, currentLayers, currentExtent) and downloadJson from @dlr-eoc/utils-browser;

  • @dlr-eoc/map-ol:

    • Removed MapOlService.layers_on_click(evt) and MapOlService.layers_on_pointermove(evt) -> replace them by MapOlService.layersOnMapEvent(evt).
    • Renamed MapOlService.layers_on_click_move(evt, layerFilter) -> MapOlService.layersOnMapEvent(evt) layer filtering is now done later.
    • Renamed MapOlService.layer_on_click(evt, layer, color?) -> MapOlService.layerOnEvent(evt, layer, color?).
    • Renamed MapOlService.raster_on_click(evt, layer, color?) -> MapOlService.rasterOnEvent(evt, layer, color?).
    • Renamed MapOlService.vector_on_click(evt) -> MapOlService.vectorOnEvent(evt).
  • @dlr-eoc/services-layers:

    • Deprecated: isVectorLayer()/isVectorLayertype() and isRasterLayer()/isRasterLayertype() can both be raster and vector for CustomLayertype and TmsLayertype;
    • Removed zIndex from types ILayerOptions which was forgotten to do at breaking version 6.0.0.
    • Renamed (typo fix) layer's popup property pupupFunktion to popupFunction
    • Renamed (typo fix) layer's popup property asyncPupup to asyncPopup
  • @dlr-eoc/services-ogc:

  • Replace function getLayerGroup() with getResourceFolder() - and a private function to get folders which should be a LayerGroup,
  • Remove old custom extension IOwsOffering.iconUrl and getIconUrl().
  • Remove not used getOfferingContents().
  • Remove old custom extension IOwsOffering.title - use IOwsResource as layers.
  • Change createTmsLayerFromOffering() to private createVectorTileLayerFromOffering() and private createTmsRasterLayerFromOffering().
  • Remove previewUrl from IEocOwsResourceProperties because this is is already in IOwsResourceProperties.links.previews.
  • Remove IEocWmsOffering and IEocOwsWmtsOffering for them you can use the generall IEocOwsOffering and check for the code WMS_Offering or WMTS_Offering.
  • IEocOwsResourceDimensions is removed.
  • IEocOwsResourceDimension is changed.
  • IEocOwsResourceProperties.dimensions?: IEocOwsResourceDimension[] is changed. Before it was IEocOwsResourceProperties.dimensions?: IEocOwsResourceDimensions
  • IEocOwsOffering.legendUrl? is removed.
  • OwcJsonService.getLayers() returns now Observable<(Layer | LayerGroup)[]>.
  • IOwsContext.properties.creator?: IOwsCreator corrected to schema IOwsContext.properties.generator?: IOwsGenerator;.
  • IOwsContext.properties.links: IOwsLinks[] corrected to schema IOwsContext.properties.links.profiles
  • IOwsAuthor, IOwsCategory and IOwsOperation corrected to schema.
  • Removed the function convertOwcTimeToIsoTimeAndPeriodicity. Has been replaced by getTimeDimensions

Features

  • shared-assets:
    • Add new Folder to share assets between all @dlr-eoc-projects.
  • @dlr-eoc/layer-control:
    • Open legend image as a link in a new tab for a larger view
  • @dlr-eoc/services-layers:
    • New layer type `StackedLayer``to support merged/stacked Layers as a single Layer.
    • Export const TmsLayertype = 'tms' and integrate this in TLayertype.
    • Extend Type for Popup Layer['popup']?.filterLayer to filter out layers in map.forEachLayerAtPixel and map.forEachFeatureAtPixel.
    • CustomLayer can now overwrite crossOrigin property if used with a OpenLayers Layer.
    • Extend Layer Type for events issue 85.
    • Extend Layer Popup Type for multiple Popups issue 85.
  • @dlr-eoc/map-ol:
    • Support merged/stacked Layers as a single Layer.
    • Support Tiled- and Image-WMS Layers - Single Image-WMS Layers are created when Layer.params.TILED == false,
    • Support new VectorLayer.type = tms for VetrorTile Layers with VectorLayer.options.style as the OpenMapStyle obj and VectorLayer.options.styleSource for the style SourceKey.
    • Support new VectorLayer.type = kml.
    • Add events from Layer to olLayer and olSource issue 85.
    • Allow Popups for several events issue 85.
  • @dlr-eoc/services-ogc:
    • Support WMS Filters CQL_FILTER and FILTER (For WFS you can already pass the full url).
    • Support merged/stacked Layers for resources with folder Baselayers/<layerName>. For legendImg the image furthest down is used.
    • Better support to convert UKIS layers to OWC.
    • Support new Layer Types KML, Xyz and Tms (Raster)
    • New basic Implementation of getElevationDimension()
    • New Functions to get Properties from IOwsContext and IEocOWsResource - getGroupResources(), getSingleResources(), getResourceMinMaxZoom()
    • Export separate interfaces for IEocOwsTimeDimension and IEocOwsElevationDimension.
    • Functions to check isIOwsRasterOperation() and isIOwsVectorOperation().
    • Export Operation Codes for Offerings (WMS_Code, WMTS_Code, WFS_Code, TMS_Code and XYZ_Code):
    • Overhaul of dimensions
    • Allows sub-groups
    • Allows Tms-Layers
    • Extend types for IEocOwsContext
    • Parses ISO8601 strings using luxon (new dependency)
    • New function OwcJsonService.createLayerFromDefaultOffering()
    • OwcJsonService.generateOwcContextFrom() now also exports WFS-layers.

Bug Fixes

  • @dlr-eoc/core-ui:
    • Add missing Output to GlobalProgressComponent.
  • @dlr-eoc/services-ogc:
    • Do not use bbox of IOwsContext for Baselayers.
    • Preserve order of Layers and Groups from IOwsContext - getLayers().
    • Removed not used customAttributes.
    • OwcJsonService.createVectorLayerFromOffering did not work properly with WFS'es: only a substring of the GetFeature-operation.href had been used. Now fixed.
    • OwcJsonService.createVectorLayerFromOffering did not work properly with GeoJson-layers: GeoJson data had been incorrectly stringified (and parsed again).
    • OwcJsonService.getTimeDimensions: period only added to dimension if actually given in IEocOwsResourceDimension.
    • OwcJsonService.getWmsOptions: now respects STYLES property either via offering.styles or via GetMap operation. All WMS-paras only set when actually present.
  • @dlr-eoc/map-ol:
    • Fix GeoJSON layer from url - it used olTileJSON bevor.
    • Set crossOrigin on olSource (olImageSource | olTileImageSource | olTileSource) for all layers with Layer.popup as default to anonymous
    • Display cursor pointer for Popups only if the top layer has pixels.
    • Popups with event move are rendered under existing Popups with event click issue 94.
    • Prevent popup with event move to get added multiple times in some cases issue 94.
    • Remove popup if layer above has not the same popup event issue 94.
    • Popup Popup.options are not applied when using PopupObjArray issue 94.
    • Fixed an issue in MapOlService.zoomInOut()
    • Fixed an issue with z-index of UkisCustomLayers containing an OlLayerGroup. Before the fix the layergroup's layers would always appear at the very bottom of the map, even below base-layers.
    • Fixed an issue with dynamic popups, where only the first popup on a raster-layer would be created, whereas all subsequent clicks would not lead to a new popup appearing.
  • @dlr-eoc/layer-control:
    • Set Cursor to default for body of layerentry.
    • Dynamic component layer Input lost its Instance (Type) issue 80.
  • @dlr-eoc/layer-control:
    • WPS 2.0.0: The encoding of literal inputs has been fixed. Previously, inputs of type "text/plain" were not anoted with the correct mime-type
    • WPS 2.0.0: the executeUrl no longer contains url-parameters (conform with the JavaPS reference implementation)
dlr-eoc-ukis
published 8.0.0-next.4 •

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

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

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