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

1234

7.2.0

Diff

Changelog

Source

7.2.0 (2020-08-31) (Npm packages and a lot of features and bug fixes)

Bug Fixes

  • @dlr-eoc/layer-control:

    • LayerentryGroup emit change for LayerGroup on Layerentry update Issue #29
    • Binding to dynamicComponent Issue #23
  • @dlr-eoc/core-ui: Input/Output binding of dynamic component Issue #23

  • demo-maps: Set routing to HashLocationStrategy and fix update Search Params on MapState change example.

  • @dlr-eoc/map-ol:

    • Allow CustomLayer to use olLayerGroup Issue #37.
    • Set min/max resolution and zoom of Layer in the creation of layers Issue #36.
    • Allow to add a custom olControl on ngOnInit in a 'route-component' Issue #35.
    • Subscribe to map state before map creation, then set this state on AfterViewInit so if mapStateSvc.setMapState or mapStateSvc.setExtent is triggered from a View/Route in ngOnInit the state is set correctly Pull #17.

Changes

  • @dlr-eoc/map-ol: The function mapOnMoveend now set the MapState without rounding the values for zoom and center.
  • update dependencies angular, clarity, ol, proj4
  • @dlr-eoc/services-map-state: Create new instances on set state and remove the not needed extent Subject.
  • angular: Created a tsconfig.json for usage by the IDE and a tsconfig.base.json for new projects to inherit from to conform with angular 10. More information: https://angular.io/guide/migration-solution-style-tsconfig

Features

all projects: all packages now available on npm @dlr-eoc

  • @dlr-eoc/map-ol:

    • Subscribe to pointermove to allow layer Popup on move.
    • Optional filter function for removeAllPopups(filter?) in MapOlService.
    • Return created ol layers from setUkisLayers() in MapOlService.
  • @dlr-eoc/services-layers:

    • Add new attribute min/max Zoom to Layer Issue #36.
    • Add new attribute cssClass to Layer and LayerGroup for custom styling Issue #32.
    • Add new attribute expanded to Layer and LayerGroup Issue #25.
    • Layer IDynamicComponent Interface is extended for Outputs Issue #23.
    • Adjust layer types so it can use a Angular Component for action or legendImg #12 #13.
    • RasterLayers can now specify the parameter crossOrigin in their constructor.
  • @dlr-eoc/layer-control:

    • Add the attribute cssClass whith component HostBinding Issue #32.
    • Use the attribute expanded from Layer or LayerGroup to expand the settings tab Issue #25.
    • Adjust layerentry so it can use a Angular Component in the settings and as legend #12 #13.
  • @dlr-eoc/map-tools: Allow map navigator to set the input step.

  • @dlr-eoc/services-map-state: Add function to get the last action of the MapStateService so if a full state was set or only the extent.

  • @dlr-eoc/core-ui: Export DynamicComponent and ViewRefDirective

  • @dlr-eoc/services-layers: RasterLayers can now specify the parameter crossOrigin in their constructor.

  • @dlr-eoc/utils-browser: Paper class to aid in getting dimensions of paper-sheets (A5, A4, ...) in pixel and cm.

  • @dlr-eoc/utils-browser: download utilities to save us some boilerplate when saving data to a file.

  • @dlr-eoc/utils-maps: ol utilities to copy a map's current image in a canvas (potentially for later downloading).

  • @dlr-eoc/services-ogc:

    • Added CswClient, a client of OGC-conform CSW-Servers.
    • Added OpensearchWrapperService, a client for OpenSearch endpoints (like the one provided by PyCSW).
  • @dlr-eoc/utils-browser:

    • Paper class to aid in getting dimensions of paper-sheets (A5, A4, ...) in pixel and cm.
    • download utilities to save us some boilerplate when saving data to a file.
  • @dlr-eoc/utils-maps:

    • ol utilities to copy a map's current image in a canvas (potentially for later downloading).
    • mapToSingleCanvas can now also optionally keep track of the maps state instead of only storing a snapshot. This way, we can now not only take 'photos' but also 'videos' of the map and use them elsewhere.
    • added utilities for the usage of WebGL. The new Shader API is a very thin, object-oriented wrapper around WebGL that removes a lot of the verbosity usually associated with writing shaders. Contrary to threejs, however, the programmer is still able to directly manipulate every data-structure manually.
    • added utilities for the usage of threejs.
      • Map2SphereConverter helps in converting EPSG:4326 in 3d-coordinates and back
      • WGS84TextureMesh is a custom mesh that projects a canvas onto a 3d-object. It works well in combination with mapToSingleCanvas to project ol-maps onto objects.
  • demo-maps:

    • Custom layers: added illustrations for the usage of WebGL in openlayer's custom LayerRenderer.
      1. minimal_renderer contains an absolute minimal example of what is required to create a custom renderer
      2. dtm_renderer illustrates how WebGL can make use of normal-maps
      3. threejs_renderer illustrates how we can integrate the popular three.js library into an openlayers-map
    • Threejs: added an example of how two maps with the same data can be displayed side by side. Here, an openlayers-map is displayed next to a threejs-scene. Data is being synced between them.
  • @dlr-eoc/map-three: Created a component ukis-map-three analogous to ukis-map-ol. It projects an ol-map onto a Mesh, allowing us to display maps in 3d. The threejs-dependency is bundled here, so that the package does not artificially bloat our build-size when no threejs is required.

Refactoring

  • @dlr-eoc/core-ui: Add class ukis-range-input to adjust style of clr range
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