@dlr-eoc/map-three
Advanced tools
Changelog
7.2.0 (2020-08-31) (Npm packages and a lot of features and bug fixes)
@dlr-eoc/layer-control:
@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:
CustomLayer
to use olLayerGroup Issue #37.mapStateSvc.setMapState
or mapStateSvc.setExtent
is triggered from a View/Route in ngOnInit the state is set correctly Pull #17.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-tsconfigall projects: all packages now available on npm @dlr-eoc
@dlr-eoc/map-ol:
pointermove
to allow layer Popup on move.removeAllPopups(filter?)
in MapOlService
.setUkisLayers()
in MapOlService
.@dlr-eoc/services-layers:
cssClass
to Layer and LayerGroup for custom styling Issue #32.expanded
to Layer and LayerGroup Issue #25.action
or legendImg
#12 #13.crossOrigin
in their constructor.@dlr-eoc/layer-control:
@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:
CswClient
, a client of OGC-conform CSW-Servers.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.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.threejs
.
Map2SphereConverter
helps in converting EPSG:4326 in 3d-coordinates and backWGS84TextureMesh
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:
LayerRenderer
.
minimal_renderer
contains an absolute minimal example of what is required to create a custom rendererdtm_renderer
illustrates how WebGL can make use of normal-mapsthreejs_renderer
illustrates how we can integrate the popular three.js
library into an openlayers-map@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.