@dlr-eoc/services-map-state
Advanced tools
Changelog
10.0.0 (2022-10-13) (Update to angular 14, Features and Bug Fixes)
floating
from clr-main-container
, this is now set on content-container
e.g. in a route component @HostBinding('class') class = 'content-container floating';
^13.3.5
to ^14.0.2
automatic migrations are made by ng update and forms use types now.generateResourceFromLayer
for this layer!!! - If you pass inputs.description to IDynamicComponent
it will try to take this).@dlr-eoc/core-ui:
DynamicComponent
.@dlr-eoc/layer-control:
<label for>
with <input id>
to prevent binding to the same element for duplicate IDs.layerentry-group
when creating a dynamic component from the group.layerentry
when creating a dynamic component from the layer.legendImg
, description
, action
, actions
or styles
as array to show a style switch).@dlr-eoc/services-map-state:
setMapState
on state initialization Issue #133.@dlr-eoc/map-ol:
TmsLayer
for vector tile style update.Params
and Source
for baselayers
.createDynamicPopupComponent
angular 45263.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.Changelog
9.0.0 (2022-05-20) (Update dependencies and documentation)
^12.2.5
to ^13.3.5
^7.0.0
to ^8.0.7
@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.Changelog
8.1.0 (2022-04-04) (Type for CustomLayer and bug fixes)
@dlr-eoc/services-layers:
@dlr-eoc/core-ui:
ukis-header
.@dlr-eoc/map-ol:
@dlr-eoc/core-ui:
clr-vertical-nav.right
trigger margin.clr-vertical-nav.right
icon direction.Changelog
8.0.0 (2021-12-09) (services-ogc and angular update)
@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:
MapOlService.layers_on_click(evt)
and MapOlService.layers_on_pointermove(evt)
-> replace them by MapOlService.layersOnMapEvent(evt)
.MapOlService.layers_on_click_move(evt, layerFilter)
-> MapOlService.layersOnMapEvent(evt)
layer filtering is now done later.MapOlService.layer_on_click(evt, layer, color?)
-> MapOlService.layerOnEvent(evt, layer, color?)
.MapOlService.raster_on_click(evt, layer, color?)
-> MapOlService.rasterOnEvent(evt, layer, color?)
.MapOlService.vector_on_click(evt)
-> MapOlService.vectorOnEvent(evt)
.@dlr-eoc/services-layers:
isVectorLayer()
/isVectorLayertype()
and isRasterLayer()
/isRasterLayertype()
can both be raster and vector for CustomLayertype
and TmsLayertype
;ILayerOptions
which was forgotten to do at breaking version 6.0.0
.pupupFunktion
to popupFunction
asyncPupup
to asyncPopup
@dlr-eoc/services-ogc:
getLayerGroup()
with getResourceFolder()
- and a private function to get folders which should be a LayerGroup
,IOwsOffering.iconUrl
and getIconUrl()
.getOfferingContents()
.IOwsOffering.title
- use IOwsResource
as layers.createTmsLayerFromOffering()
to private createVectorTileLayerFromOffering()
and private createTmsRasterLayerFromOffering()
.previewUrl
from IEocOwsResourceProperties
because this is is already in IOwsResourceProperties.links.previews
.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.convertOwcTimeToIsoTimeAndPeriodicity
. Has been replaced by getTimeDimensions
const TmsLayertype = 'tms'
and integrate this in TLayertype
.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.Layer.params.TILED == false
,VectorLayer.type = tms
for VetrorTile Layers with VectorLayer.options.style
as the OpenMapStyle obj and VectorLayer.options.styleSource
for the style SourceKey.VectorLayer.type = kml
.CQL_FILTER
and FILTER
(For WFS you can already pass the full url).Baselayers/<layerName>
. For legendImg
the image furthest down is used.getElevationDimension()
IOwsContext
and IEocOWsResource
- getGroupResources(), getSingleResources(), getResourceMinMaxZoom()
IEocOwsTimeDimension
and IEocOwsElevationDimension
.isIOwsRasterOperation()
and isIOwsVectorOperation()
.WMS_Code
, WMTS_Code
, WFS_Code
, TMS_Code
and XYZ_Code
):dimensions
IEocOwsContext
luxon
(new dependency)OwcJsonService.createLayerFromDefaultOffering()
OwcJsonService.generateOwcContextFrom()
now also exports WFS-layers.GlobalProgressComponent
.IOwsContext
for Baselayers.IOwsContext
- getLayers()
.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.olTileJSON
bevor.crossOrigin
on olSource
(olImageSource | olTileImageSource | olTileSource) for all layers with Layer.popup
as default to anonymousmove
are rendered under existing Popups with event click
issue 94.move
to get added multiple times in some cases issue 94.Popup.options
are not applied when using PopupObjArray
issue 94.MapOlService.zoomInOut()
body
of layerentry.executeUrl
no longer contains url-parameters (conform with the JavaPS reference implementation)