@dlr-eoc/map-tools
Advanced tools
Changelog
13.0.0 (2024-07-08) (services-map-state, map-ol, map-cesium and map-maplibre)
^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
addUkisLayerMetadata
and getUkisLayerMetadata
from maplibre-layers.helpers to maplibre.helpers and remove hasUkisLayerMetadata
.maplibre-gl
from v^3.3.0
to v^4.1.3
see maplibre-gl Breaking Changes.IPopupEvent
to @dlr-eoc/services-layers
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.@dlr-eoc/services-map-state:
notifier
to setTime
like in the setters setExtent
, setViewAngle
or setRotation
.@dlr-eoc/map-ol:
@dlr-eoc/map-cesium:
setViewAngle
and setRotation
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:
4.1.3
to 4.5.0
also see maplibre-gl.UKIS_METADATA.ignoreOpacity
and UKIS_METADATA.ignoreVisibility
which can be used in CustomLayer
to prevent changing the opacity or visibility for some layers.updateStyleLayerProperties(map: glMap, mllayer: TypedStyleLayer, layer: ukisLayer)
to update paint
, layout
, maxzoom
, minzoom
, filter
, source
and source-layer
from ukisLayers.setUkisLayerMetadata(ml: TypedStyleLayer, meta: Partial<IukisMetadata>)
and interface IukisMetadata
.getExtent
#216set/getBearing
to set/getRotation
because we want to have the same behavior as in openlayers and set/getBearing
is expected differently in maplibre.StyleLayer
id in createCustomLayer
and createStackedLayer
.StyleLayers
for GeoJson
Data (test for MultiPolygon
and MultiLineString
).StyleLayers
from CustomLayer
or VectorLayer.options.style
see also (cddf2fc6a83444851914ed6619bc8d5ada8ce485)PaintProperty
workaround for maplibre issue 3001.map.getTerrain()
is not not null.layout.visibility
in style of VectorLayer
based on VectorLayer.visible
.VectorLayer.attribution
from VectorLayer.options.style
for TMS.VectorLayer
in VectorLayer.options.style
for TMS.getUkisLayerMetadata
.Mapstate
before destroy to preserve the last state for switching maps.Changelog
12.0.0 (2023-12-12) (map-ol, map-cesium and map-maplibre)
^14.2.11
to ^16.2.1
automatic migrations are made by ng update. See update angular from 14.0-15.0 and 14.0-15.0.^13.17.0
to ^15.12.0
. See releases Breaking Changes. Fixes in styles have been made so update the styles folder from projects/core-ui/schematics/ng-add/files/src/styles
and also add class="content-area map-view"
for content areas that include a map.^6.6.7
to ~7.8.0
. Fixes of deprecations forkJoin(obs,obs)
to forkJoin([obs,obs])
and retryWhen()
to retry({count: number deley: ()=> })
and combineLatest()
to combineLatestWith()
and of<T>()
to of()
.@dlr-eoc/map-cesium:
Tgroupfiltertype
. Use Tgroupfiltertype = TFiltertypesUncap | TFiltertypes
and import them from @dlr-eoc/services-layers
.@dlr-eoc/map-ol:
Tgroupfiltertype
. Use Tgroupfiltertype = TFiltertypesUncap | TFiltertypes
and import them from @dlr-eoc/services-layers
.IPopupParams
is passed so you can use IPopupParams.color
and IPopupParams.mapEvent
. For the remaining properties, use IPopupParams.properties
, which contains feature properties and async data.MapOlService.addPopup
function are changed as follows addPopup(popupParams: IPopupParams, popupObj?: popup, html?: string, event?: 'click' | 'move', removePopups?: boolean)
.IPopupArgs
and IDynamicPopupArgs
have been removed. Use IPopupParams
nowIPopupParams
instead of IDynamicPopupArgs
- popup.dynamicPopup.getAttributes(params:IPopupParams)
notifier
is removed from MapOlService.setZoom(zoom: number)
@dlr-eoc/map-tools:
@dlr-eoc/utilities:
@dlr-eoc/map-maplibre:
@dlr-eoc/map-cesium:
@dlr-eoc/services-layers:
layer.popup
gets more types and uses IPopupParams
which will be applied to all popups.TFiltertypesUncap
to use with TFiltertypes
. So Tgroupfiltertype = TFiltertypesUncap | TFiltertypes
is usable in maps.@dlr-eoc/map-ol:
MapOlService.popupEvents: Subject<IPopupEvent>
. For this add asObservable: true
to a popup object, you will then be able to subscribe to the event instead of having a popup container being added to the map.IPopupEvent
is exposed.@dlr-eoc/map-tools: