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

@dlr-eoc/services-layers

Package Overview
Dependencies
Maintainers
1
Versions
43
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dlr-eoc/services-layers - npm Package Compare versions

Comparing version 8.0.0-next.4 to 8.0.0

37

bundles/dlr-eoc-services-layers.umd.js

@@ -345,3 +345,4 @@ (function (global, factory) {

var TmsLayertype = 'tms'; // can be raster and Vector
/** can be raster and vector */
var TmsLayertype = 'tms';
var WmsLayertype = 'wms';

@@ -353,3 +354,6 @@ var WmtsLayertype = 'wmts';

var WfsLayertype = 'wfs';
var CustomLayertype = 'custom'; // can be raster and Vector
/** can be raster and vector */
var CustomLayertype = 'custom';
/** can have multiple layers raster, vector... */
var StackedLayertype = 'stacked';
var Filtertypes = {

@@ -361,2 +365,4 @@ Baselayers: 'Baselayers',

/**
* @deprecated The method should not be used because it can be false positive
*
* CustomLayertype and TmsLayertype can be raster and vector.

@@ -369,2 +375,4 @@ * You have to double check by yourself later!

/**
* @deprecated The method should not be used because it can be false positive
*
* CustomLayertype and TmsLayertype can be raster and vector.

@@ -376,4 +384,4 @@ * You have to double check by yourself later!

}
function isLayertype(inpt) {
return (isRasterLayertype(inpt) || isVectorLayertype(inpt));
function isLayertype(type) {
return [TmsLayertype, WmsLayertype, WmtsLayertype, XyzLayertype, GeojsonLayertype, KmlLayertype, WfsLayertype, CustomLayertype].includes(type);
}

@@ -451,2 +459,5 @@ /**

}(Layer));
/**
* @deprecated The method should not be used because it can be false positive
*/
var isRasterLayer = function (layer) {

@@ -462,2 +473,5 @@ return isRasterLayertype(layer.type);

}(Layer));
/**
* @deprecated The method should not be used because it can be false positive
*/
var isVectorLayer = function (layer) {

@@ -470,3 +484,3 @@ return isVectorLayertype(layer.type);

var _this = _super.call(this, options) || this;
_this.type = 'custom';
_this.type = CustomLayertype;
_this.custom_layer = {};

@@ -478,2 +492,13 @@ Object.assign(_this, options);

}(Layer));
var StackedLayer = /** @class */ (function (_super) {
__extends(StackedLayer, _super);
function StackedLayer(options) {
var _this = _super.call(this, options) || this;
_this.type = StackedLayertype;
_this.layers = [];
Object.assign(_this, options);
return _this;
}
return StackedLayer;
}(Layer));

@@ -1325,2 +1350,4 @@ /**

exports.RasterLayer = RasterLayer;
exports.StackedLayer = StackedLayer;
exports.StackedLayertype = StackedLayertype;
exports.TmsLayertype = TmsLayertype;

@@ -1327,0 +1354,0 @@ exports.VectorLayer = VectorLayer;

@@ -0,0 +0,0 @@ /**

2

dlr-eoc-services-layers.metadata.json

@@ -1,1 +0,1 @@

{"__symbolic":"module","version":4,"metadata":{"IAnyObject":{"__symbolic":"interface"},"ILayerContent":{"__symbolic":"interface"},"ILayerStyleSet":{"__symbolic":"interface"},"popup":{"__symbolic":"interface"},"ILayerEvent":{"__symbolic":"interface"},"TmsLayertype":"tms","WmsLayertype":"wms","WmtsLayertype":"wmts","XyzLayertype":"xyz","GeojsonLayertype":"geojson","KmlLayertype":"kml","WfsLayertype":"wfs","CustomLayertype":"custom","TVectorLayertype":{"__symbolic":"interface"},"TRasterLayertype":{"__symbolic":"interface"},"TLayertype":{"__symbolic":"interface"},"Filtertypes":{"Baselayers":"Baselayers","Overlays":"Overlays","Layers":"Layers"},"TFiltertypes":{"__symbolic":"interface"},"isVectorLayertype":{"__symbolic":"function","parameters":["inpt"],"value":{"__symbolic":"call","expression":{},"arguments":[{"__symbolic":"reference","name":"inpt"}]}},"isRasterLayertype":{"__symbolic":"function","parameters":["inpt"],"value":{"__symbolic":"call","expression":{},"arguments":[{"__symbolic":"reference","name":"inpt"}]}},"isLayertype":{"__symbolic":"function","parameters":["inpt"],"value":{"__symbolic":"binop","operator":"||","left":{"__symbolic":"call","expression":{"__symbolic":"reference","name":"isRasterLayertype"},"arguments":[{"__symbolic":"reference","name":"inpt"}]},"right":{"__symbolic":"call","expression":{"__symbolic":"reference","name":"isVectorLayertype"},"arguments":[{"__symbolic":"reference","name":"inpt"}]}}},"TGeoExtent":{"__symbolic":"interface"},"CrossOriginType":{"__symbolic":"interface"},"ILayerOptions":{"__symbolic":"interface"},"ILayerDimensions":{"__symbolic":"interface"},"ILayerIntervalAndPeriod":{"__symbolic":"interface"},"ILayerTimeDimension":{"__symbolic":"interface"},"ILayerElevationDimension":{"__symbolic":"interface"},"IRasterLayerOptions":{"__symbolic":"interface"},"IVectorLayerOptions":{"__symbolic":"interface"},"ICustomLayerOptions":{"__symbolic":"interface"},"Layer":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"any"}]}]}},"IRasterLayerParams":{"__symbolic":"interface"},"RasterLayer":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"Layer"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"any"}]}]}},"isRasterLayer":{"__symbolic":"error","message":"Lambda not supported","line":360,"character":29,"module":"./lib/types/Layers"},"VectorLayer":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"Layer"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"any"}]}]}},"isVectorLayer":{"__symbolic":"error","message":"Lambda not supported","line":382,"character":29,"module":"./lib/types/Layers"},"CustomLayer":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"Layer"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"any"}]}]}},"ILayerGroupOptions":{"__symbolic":"interface"},"LayerGroup":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"any"}]}]}},"IWmtsOptions":{"__symbolic":"interface"},"WmtsLayer":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"RasterLayer"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"any"}]}]}},"IBaseMatrixSet":{"__symbolic":"interface"},"IListMatrixSet":{"__symbolic":"interface"},"ISimpleMatrixSet":{"__symbolic":"interface"},"IWmtsParams":{"__symbolic":"interface"},"isWmtsLayer":{"__symbolic":"error","message":"Lambda not supported","line":56,"character":27,"module":"./lib/types/RasterLayers"},"IWmsOptions":{"__symbolic":"interface"},"WmsLayer":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"RasterLayer"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"any"}]}]}},"IWmsParams":{"__symbolic":"interface"},"isWmsLayer":{"__symbolic":"error","message":"Lambda not supported","line":87,"character":26,"module":"./lib/types/RasterLayers"},"LayersService":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":5,"character":1},"arguments":[{"providedIn":"root"}]}],"members":{"__ctor__":[{"__symbolic":"constructor"}],"addLayer":[{"__symbolic":"method"}],"removeLayer":[{"__symbolic":"method"}],"_removeLayer":[{"__symbolic":"method"}],"updateLayer":[{"__symbolic":"method"}],"updateLayerOrGroupInStore":[{"__symbolic":"method"}],"removeLayerOrGroupById":[{"__symbolic":"method"}],"addLayerToGroup":[{"__symbolic":"method"}],"addLayerToGroupById":[{"__symbolic":"method"}],"removeLayerFromGroup":[{"__symbolic":"method"}],"setLayerIndexInGroup":[{"__symbolic":"method"}],"addLayerGroup":[{"__symbolic":"method"}],"removeLayerGroup":[{"__symbolic":"method"}],"_removeLayerGroup":[{"__symbolic":"method"}],"updateLayerGroup":[{"__symbolic":"method"}],"arrayMove":[{"__symbolic":"method"}],"setGroupLayerIndex":[{"__symbolic":"method"}],"getNumOfGroups":[{"__symbolic":"method"}],"isGroupFirst":[{"__symbolic":"method"}],"isGroupLast":[{"__symbolic":"method"}],"isInLayergroups":[{"__symbolic":"method"}],"getLayerOrGroupById":[{"__symbolic":"method"}],"getLayerById":[{"__symbolic":"method"}],"getBaseLayers":[{"__symbolic":"method"}],"removeBaseLayers":[{"__symbolic":"method"}],"getBaseLayersCount":[{"__symbolic":"method"}],"getOverlays":[{"__symbolic":"method"}],"removeOverlays":[{"__symbolic":"method"}],"getOverlaysCount":[{"__symbolic":"method"}],"getLayers":[{"__symbolic":"method"}],"removeLayers":[{"__symbolic":"method"}],"getLayersCount":[{"__symbolic":"method"}],"getLayerGroups":[{"__symbolic":"method"}],"setLayerGroups":[{"__symbolic":"method"}],"getLayerGroupsCount":[{"__symbolic":"method"}],"flattenDeepArray":[{"__symbolic":"method"}],"filterOverlays":[{"__symbolic":"method"}],"filterBaseLayers":[{"__symbolic":"method"}],"filterLayers":[{"__symbolic":"method"}],"filterFiltertype":[{"__symbolic":"method"}],"sortLayerGroup":[{"__symbolic":"method"}]},"statics":{"ɵprov":{}}},"LayersModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":3,"character":1},"arguments":[{"declarations":[],"imports":[],"exports":[],"providers":[{"__symbolic":"reference","name":"LayersService"}]}]}],"members":{}}},"origins":{"IAnyObject":"./lib/types/Layers","ILayerContent":"./lib/types/Layers","ILayerStyleSet":"./lib/types/Layers","popup":"./lib/types/Layers","ILayerEvent":"./lib/types/Layers","TmsLayertype":"./lib/types/Layers","WmsLayertype":"./lib/types/Layers","WmtsLayertype":"./lib/types/Layers","XyzLayertype":"./lib/types/Layers","GeojsonLayertype":"./lib/types/Layers","KmlLayertype":"./lib/types/Layers","WfsLayertype":"./lib/types/Layers","CustomLayertype":"./lib/types/Layers","TVectorLayertype":"./lib/types/Layers","TRasterLayertype":"./lib/types/Layers","TLayertype":"./lib/types/Layers","Filtertypes":"./lib/types/Layers","TFiltertypes":"./lib/types/Layers","isVectorLayertype":"./lib/types/Layers","isRasterLayertype":"./lib/types/Layers","isLayertype":"./lib/types/Layers","TGeoExtent":"./lib/types/Layers","CrossOriginType":"./lib/types/Layers","ILayerOptions":"./lib/types/Layers","ILayerDimensions":"./lib/types/Layers","ILayerIntervalAndPeriod":"./lib/types/Layers","ILayerTimeDimension":"./lib/types/Layers","ILayerElevationDimension":"./lib/types/Layers","IRasterLayerOptions":"./lib/types/Layers","IVectorLayerOptions":"./lib/types/Layers","ICustomLayerOptions":"./lib/types/Layers","Layer":"./lib/types/Layers","IRasterLayerParams":"./lib/types/Layers","RasterLayer":"./lib/types/Layers","isRasterLayer":"./lib/types/Layers","VectorLayer":"./lib/types/Layers","isVectorLayer":"./lib/types/Layers","CustomLayer":"./lib/types/Layers","ILayerGroupOptions":"./lib/types/LayerGroup","LayerGroup":"./lib/types/LayerGroup","IWmtsOptions":"./lib/types/RasterLayers","WmtsLayer":"./lib/types/RasterLayers","IBaseMatrixSet":"./lib/types/RasterLayers","IListMatrixSet":"./lib/types/RasterLayers","ISimpleMatrixSet":"./lib/types/RasterLayers","IWmtsParams":"./lib/types/RasterLayers","isWmtsLayer":"./lib/types/RasterLayers","IWmsOptions":"./lib/types/RasterLayers","WmsLayer":"./lib/types/RasterLayers","IWmsParams":"./lib/types/RasterLayers","isWmsLayer":"./lib/types/RasterLayers","LayersService":"./lib/layers.service","LayersModule":"./lib/layers.module"},"importAs":"@dlr-eoc/services-layers"}
{"__symbolic":"module","version":4,"metadata":{"IAnyObject":{"__symbolic":"interface"},"ILayerContent":{"__symbolic":"interface"},"ILayerStyleSet":{"__symbolic":"interface"},"popup":{"__symbolic":"interface"},"ILayerEvent":{"__symbolic":"interface"},"TmsLayertype":"tms","WmsLayertype":"wms","WmtsLayertype":"wmts","XyzLayertype":"xyz","GeojsonLayertype":"geojson","KmlLayertype":"kml","WfsLayertype":"wfs","CustomLayertype":"custom","StackedLayertype":"stacked","TVectorLayertype":{"__symbolic":"interface"},"TRasterLayertype":{"__symbolic":"interface"},"TLayertype":{"__symbolic":"interface"},"Filtertypes":{"Baselayers":"Baselayers","Overlays":"Overlays","Layers":"Layers"},"TFiltertypes":{"__symbolic":"interface"},"isVectorLayertype":{"__symbolic":"function","parameters":["inpt"],"value":{"__symbolic":"call","expression":{},"arguments":[{"__symbolic":"reference","name":"inpt"}]}},"isRasterLayertype":{"__symbolic":"function","parameters":["inpt"],"value":{"__symbolic":"call","expression":{},"arguments":[{"__symbolic":"reference","name":"inpt"}]}},"isLayertype":{"__symbolic":"function","parameters":["type"],"value":{"__symbolic":"call","expression":{},"arguments":[{"__symbolic":"reference","name":"type"}]}},"TGeoExtent":{"__symbolic":"interface"},"CrossOriginType":{"__symbolic":"interface"},"ILayerOptions":{"__symbolic":"interface"},"ILayerDimensions":{"__symbolic":"interface"},"ILayerIntervalAndPeriod":{"__symbolic":"interface"},"ILayerTimeDimension":{"__symbolic":"interface"},"ILayerElevationDimension":{"__symbolic":"interface"},"IRasterLayerOptions":{"__symbolic":"interface"},"IVectorLayerOptions":{"__symbolic":"interface"},"ICustomLayerOptions":{"__symbolic":"interface"},"IStackedLayerOptions":{"__symbolic":"interface"},"Layer":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"any"}]}]}},"IRasterLayerParams":{"__symbolic":"interface"},"RasterLayer":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"Layer"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"any"}]}]}},"isRasterLayer":{"__symbolic":"error","message":"Lambda not supported","line":375,"character":29,"module":"./lib/types/Layers"},"VectorLayer":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"Layer"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"any"}]}]}},"isVectorLayer":{"__symbolic":"error","message":"Lambda not supported","line":400,"character":29,"module":"./lib/types/Layers"},"CustomLayer":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"Layer"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"any"}]}]}},"StackedLayer":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"Layer"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"any"}]}]}},"ILayerGroupOptions":{"__symbolic":"interface"},"LayerGroup":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"any"}]}]}},"IWmtsOptions":{"__symbolic":"interface"},"WmtsLayer":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"RasterLayer"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"any"}]}]}},"IBaseMatrixSet":{"__symbolic":"interface"},"IListMatrixSet":{"__symbolic":"interface"},"ISimpleMatrixSet":{"__symbolic":"interface"},"IWmtsParams":{"__symbolic":"interface"},"isWmtsLayer":{"__symbolic":"error","message":"Lambda not supported","line":56,"character":27,"module":"./lib/types/RasterLayers"},"IWmsOptions":{"__symbolic":"interface"},"WmsLayer":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"RasterLayer"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"any"}]}]}},"IWmsParams":{"__symbolic":"interface"},"isWmsLayer":{"__symbolic":"error","message":"Lambda not supported","line":87,"character":26,"module":"./lib/types/RasterLayers"},"LayersService":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":5,"character":1},"arguments":[{"providedIn":"root"}]}],"members":{"__ctor__":[{"__symbolic":"constructor"}],"addLayer":[{"__symbolic":"method"}],"removeLayer":[{"__symbolic":"method"}],"_removeLayer":[{"__symbolic":"method"}],"updateLayer":[{"__symbolic":"method"}],"updateLayerOrGroupInStore":[{"__symbolic":"method"}],"removeLayerOrGroupById":[{"__symbolic":"method"}],"addLayerToGroup":[{"__symbolic":"method"}],"addLayerToGroupById":[{"__symbolic":"method"}],"removeLayerFromGroup":[{"__symbolic":"method"}],"setLayerIndexInGroup":[{"__symbolic":"method"}],"addLayerGroup":[{"__symbolic":"method"}],"removeLayerGroup":[{"__symbolic":"method"}],"_removeLayerGroup":[{"__symbolic":"method"}],"updateLayerGroup":[{"__symbolic":"method"}],"arrayMove":[{"__symbolic":"method"}],"setGroupLayerIndex":[{"__symbolic":"method"}],"getNumOfGroups":[{"__symbolic":"method"}],"isGroupFirst":[{"__symbolic":"method"}],"isGroupLast":[{"__symbolic":"method"}],"isInLayergroups":[{"__symbolic":"method"}],"getLayerOrGroupById":[{"__symbolic":"method"}],"getLayerById":[{"__symbolic":"method"}],"getBaseLayers":[{"__symbolic":"method"}],"removeBaseLayers":[{"__symbolic":"method"}],"getBaseLayersCount":[{"__symbolic":"method"}],"getOverlays":[{"__symbolic":"method"}],"removeOverlays":[{"__symbolic":"method"}],"getOverlaysCount":[{"__symbolic":"method"}],"getLayers":[{"__symbolic":"method"}],"removeLayers":[{"__symbolic":"method"}],"getLayersCount":[{"__symbolic":"method"}],"getLayerGroups":[{"__symbolic":"method"}],"setLayerGroups":[{"__symbolic":"method"}],"getLayerGroupsCount":[{"__symbolic":"method"}],"flattenDeepArray":[{"__symbolic":"method"}],"filterOverlays":[{"__symbolic":"method"}],"filterBaseLayers":[{"__symbolic":"method"}],"filterLayers":[{"__symbolic":"method"}],"filterFiltertype":[{"__symbolic":"method"}],"sortLayerGroup":[{"__symbolic":"method"}]},"statics":{"ɵprov":{}}},"LayersModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":3,"character":1},"arguments":[{"declarations":[],"imports":[],"exports":[],"providers":[{"__symbolic":"reference","name":"LayersService"}]}]}],"members":{}}},"origins":{"IAnyObject":"./lib/types/Layers","ILayerContent":"./lib/types/Layers","ILayerStyleSet":"./lib/types/Layers","popup":"./lib/types/Layers","ILayerEvent":"./lib/types/Layers","TmsLayertype":"./lib/types/Layers","WmsLayertype":"./lib/types/Layers","WmtsLayertype":"./lib/types/Layers","XyzLayertype":"./lib/types/Layers","GeojsonLayertype":"./lib/types/Layers","KmlLayertype":"./lib/types/Layers","WfsLayertype":"./lib/types/Layers","CustomLayertype":"./lib/types/Layers","StackedLayertype":"./lib/types/Layers","TVectorLayertype":"./lib/types/Layers","TRasterLayertype":"./lib/types/Layers","TLayertype":"./lib/types/Layers","Filtertypes":"./lib/types/Layers","TFiltertypes":"./lib/types/Layers","isVectorLayertype":"./lib/types/Layers","isRasterLayertype":"./lib/types/Layers","isLayertype":"./lib/types/Layers","TGeoExtent":"./lib/types/Layers","CrossOriginType":"./lib/types/Layers","ILayerOptions":"./lib/types/Layers","ILayerDimensions":"./lib/types/Layers","ILayerIntervalAndPeriod":"./lib/types/Layers","ILayerTimeDimension":"./lib/types/Layers","ILayerElevationDimension":"./lib/types/Layers","IRasterLayerOptions":"./lib/types/Layers","IVectorLayerOptions":"./lib/types/Layers","ICustomLayerOptions":"./lib/types/Layers","IStackedLayerOptions":"./lib/types/Layers","Layer":"./lib/types/Layers","IRasterLayerParams":"./lib/types/Layers","RasterLayer":"./lib/types/Layers","isRasterLayer":"./lib/types/Layers","VectorLayer":"./lib/types/Layers","isVectorLayer":"./lib/types/Layers","CustomLayer":"./lib/types/Layers","StackedLayer":"./lib/types/Layers","ILayerGroupOptions":"./lib/types/LayerGroup","LayerGroup":"./lib/types/LayerGroup","IWmtsOptions":"./lib/types/RasterLayers","WmtsLayer":"./lib/types/RasterLayers","IBaseMatrixSet":"./lib/types/RasterLayers","IListMatrixSet":"./lib/types/RasterLayers","ISimpleMatrixSet":"./lib/types/RasterLayers","IWmtsParams":"./lib/types/RasterLayers","isWmtsLayer":"./lib/types/RasterLayers","IWmsOptions":"./lib/types/RasterLayers","WmsLayer":"./lib/types/RasterLayers","IWmsParams":"./lib/types/RasterLayers","isWmsLayer":"./lib/types/RasterLayers","LayersService":"./lib/layers.service","LayersModule":"./lib/layers.module"},"importAs":"@dlr-eoc/services-layers"}

@@ -17,2 +17,2 @@ import { NgModule } from '@angular/core';

];
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibGF5ZXJzLm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3Byb2plY3RzL3NlcnZpY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AgIHJldHVybiBsO1xyXG4gICAgICB9KTtcclxuICAgIH1cclxuICB9XHJcbn1cclxuIl19

@@ -1,2 +0,3 @@

export const TmsLayertype = 'tms'; // can be raster and Vector
/** can be raster and vector */
export const TmsLayertype = 'tms';
export const WmsLayertype = 'wms';

@@ -8,3 +9,6 @@ export const WmtsLayertype = 'wmts';

export const WfsLayertype = 'wfs';
export const CustomLayertype = 'custom'; // can be raster and Vector
/** can be raster and vector */
export const CustomLayertype = 'custom';
/** can have multiple layers raster, vector... */
export const StackedLayertype = 'stacked';
export const Filtertypes = {

@@ -16,2 +20,4 @@ Baselayers: 'Baselayers',

/**
* @deprecated The method should not be used because it can be false positive
*
* CustomLayertype and TmsLayertype can be raster and vector.

@@ -24,2 +30,4 @@ * You have to double check by yourself later!

/**
* @deprecated The method should not be used because it can be false positive
*
* CustomLayertype and TmsLayertype can be raster and vector.

@@ -31,4 +39,4 @@ * You have to double check by yourself later!

}
export function isLayertype(inpt) {
return (isRasterLayertype(inpt) || isVectorLayertype(inpt));
export function isLayertype(type) {
return [TmsLayertype, WmsLayertype, WmtsLayertype, XyzLayertype, GeojsonLayertype, KmlLayertype, WfsLayertype, CustomLayertype].includes(type);
}

@@ -94,2 +102,5 @@ /**

}
/**
* @deprecated The method should not be used because it can be false positive
*/
export const isRasterLayer = (layer) => {

@@ -103,2 +114,5 @@ return isRasterLayertype(layer.type);

}
/**
* @deprecated The method should not be used because it can be false positive
*/
export const isVectorLayer = (layer) => {

@@ -110,3 +124,3 @@ return isVectorLayertype(layer.type);

super(options);
this.type = 'custom';
this.type = CustomLayertype;
this.custom_layer = {};

@@ -116,2 +130,10 @@ Object.assign(this, options);

}
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiTGF5ZXJzLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvc2VydmljZXMtbGF5ZXJzL3NyYy9saWIvdHlwZ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lY3RvckxheWVydHlwZShsYXllci50eXBlKTtcbn07XG5cbmV4cG9ydCBjbGFzcyBDdXN0b21MYXllciBleHRlbmRzIExheWVyIGltcGxlbWVudHMgSUN1c3RvbUxheWVyT3B0aW9ucyB7XG4gIHR5cGUgPSAnY3VzdG9tJztcbiAgY3VzdG9tX2xheWVyOiBJQ3VzdG9tTGF5ZXJPcHRpb25zWydjdXN0b21fbGF5ZXInXSA9IHt9O1xuICBjb25zdHJ1Y3RvcihvcHRpb25zOiBJQ3VzdG9tTGF5ZXJPcHRpb25zKSB7XG4gICAgc3VwZXIob3B0aW9ucyBhcyBJTGF5ZXJPcHRpb25zKTtcbiAgICBPYmplY3QuYXNzaWduKHRoaXMsIG9wdGlvbnMpO1xuICB9XG59XG4iXX0=
export class StackedLayer extends Layer {
constructor(options) {
super(options);
this.type = StackedLayertype;
this.layers = [];
Object.assign(this, options);
}
}
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiTGF5ZXJzLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvc2VydmljZXMtbGF5ZXJzL3NyYy9saWIvdHlwZXMvTGF5ZXJzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQStEQSwrQkFBK0I7QUFDL0IsTUFBTSxDQUFDLE1BQU0sWUFBWSxHQUFHLEtBQUssQ0FBQztBQUNsQyxNQUFNLENBQUMsTUFBTSxZQUFZLEdBQUcsS0FBSyxDQUFDO0FBQ2xDLE1BQU0sQ0FBQyxNQUFNLGFBQWEsR0FBRyxNQUFNLENBQUM7QUFDcEMsTUFBTSxDQUFDLE1BQU0sWUFBWSxHQUFHLEtBQUssQ0FBQztBQUNsQyxNQUFNLENBQUMsTUFBTSxnQkFBZ0IsR0FBRyxTQUFTLENBQUM7QUFDMUMsTUFBTSxDQUFDLE1BQU0sWUFBWSxHQUFHLEtBQUssQ0FBQztBQUNs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dGlvbnM6IElDdXN0b21MYXllck9wdGlvbnMpIHtcclxuICAgIHN1cGVyKG9wdGlvbnMgYXMgSUxheWVyT3B0aW9ucyk7XHJcbiAgICBPYmplY3QuYXNzaWduKHRoaXMsIG9wdGlvbnMpO1xyXG4gIH1cclxufVxyXG5cclxuZXhwb3J0IGNsYXNzIFN0YWNrZWRMYXllciBleHRlbmRzIExheWVyIGltcGxlbWVudHMgSVN0YWNrZWRMYXllck9wdGlvbnMge1xyXG4gIHR5cGUgPSBTdGFja2VkTGF5ZXJ0eXBlO1xyXG4gIGxheWVyczogTGF5ZXJbXSA9IFtdO1xyXG4gIGNvbnN0cnVjdG9yKG9wdGlvbnM6IElTdGFja2VkTGF5ZXJPcHRpb25zKSB7XHJcbiAgICBzdXBlcihvcHRpb25zIGFzIElMYXllck9wdGlvbnMpO1xyXG4gICAgT2JqZWN0LmFzc2lnbih0aGlzLCBvcHRpb25zKTtcclxuICB9XHJcbn1cclxuIl19

@@ -18,2 +18,2 @@ import { RasterLayer } from './Layers';

};
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiUmFzdGVyTGF5ZXJzLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvc2VydmljZXMtbGF5ZXJzL3NyYy9saWIvdHlwZXMvUmFzdGVyTGF5ZXJzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBUyxXQUFXLEVBQTJDLE1BQU0sVUFBVSxDQUFDO0FBa0J2RixNQUFNLE9BQU8sU0FBVSxTQUFRLFdBQVc7SUFLeEMsWUFBWSxPQUFxQjtRQUMvQixLQUFLLENBQUMsT0FBTyxDQUFDLENBQUM7SUFDakIsQ0FBQztDQUNGO0FBOEJELE1BQU0sQ0FBQyxNQUFNLFdBQVcsR0FBRyxDQUFDLEtBQVksRUFBc0IsRUFBRTtJQUM5RCxPQUFPLEt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YgdGhlIHNlcnZpY2Ugc3VwcG9ydHMgdGhpcyB0aWxlc2l6ZSAqL1xyXG4gIHRpbGVTaXplPzogbnVtYmVyO1xyXG59XHJcblxyXG5leHBvcnQgY2xhc3MgV21zTGF5ZXIgZXh0ZW5kcyBSYXN0ZXJMYXllciBpbXBsZW1lbnRzIElXbXNPcHRpb25zIHtcclxuICB0eXBlOiAnd21zJztcclxuICBwYXJhbXM6IElXbXNQYXJhbXM7XHJcbiAgLyoqIGNoZWNrIGlmIHRoZSBzZXJ2aWNlIHN1cHBvcnRzIHRoaXMgdGlsZXNpemUgKi9cclxuICB0aWxlU2l6ZT86IG51bWJlcjtcclxuICBjb25zdHJ1Y3RvcihvcHRpb25zOiBJV21zT3B0aW9ucykge1xyXG4gICAgc3VwZXIob3B0aW9ucyk7XHJcbiAgfVxyXG59XHJcblxyXG5leHBvcnQgaW50ZXJmYWNlIElXbXNQYXJhbXMgZXh0ZW5kcyBJUmFzdGVyTGF5ZXJQYXJhbXMge1xyXG4gIExBWUVSUzogc3RyaW5nO1xyXG4gIEZPUk1BVD86IHN0cmluZztcclxuICBUSU1FPzogc3RyaW5nO1xyXG4gIFZFUlNJT04/OiBzdHJpbmc7XHJcbiAgVElMRUQ/OiBzdHJpbmc7XHJcbiAgVFJBTlNQQVJFTlQ/OiBib29sZWFuO1xyXG4gIFNUWUxFUz86IHN0cmluZztcclxufVxyXG5cclxuZXhwb3J0IGNvbnN0IGlzV21zTGF5ZXIgPSAobGF5ZXI6IExheWVyKTogbGF5ZXIgaXMgV21zTGF5ZXIgPT4ge1xyXG4gIHJldHVybiBsYXllci50eXBlID09PSAnd21zJztcclxufTtcclxuIl19

@@ -9,2 +9,2 @@ /*

export * from './lib/layers.module';
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3Byb2plY3RzL3NlcnZpY2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llcnNcclxuICovXHJcblxyXG5leHBvcnQgKiBmcm9tICcuL2xpYi90eXBlcy9MYXllcnMnO1xyXG5leHBvcnQgKiBmcm9tICcuL2xpYi90eXBlcy9MYXllckdyb3VwJztcclxuZXhwb3J0ICogZnJvbSAnLi9saWIvdHlwZXMvUmFzdGVyTGF5ZXJzJztcclxuXHJcbmV4cG9ydCAqIGZyb20gJy4vbGliL2xheWVycy5zZXJ2aWNlJztcclxuZXhwb3J0ICogZnJvbSAnLi9saWIvbGF5ZXJzLm1vZHVsZSc7XHJcbiJdfQ==

@@ -5,3 +5,4 @@ import * as i0 from '@angular/core';

const TmsLayertype = 'tms'; // can be raster and Vector
/** can be raster and vector */
const TmsLayertype = 'tms';
const WmsLayertype = 'wms';

@@ -13,3 +14,6 @@ const WmtsLayertype = 'wmts';

const WfsLayertype = 'wfs';
const CustomLayertype = 'custom'; // can be raster and Vector
/** can be raster and vector */
const CustomLayertype = 'custom';
/** can have multiple layers raster, vector... */
const StackedLayertype = 'stacked';
const Filtertypes = {

@@ -21,2 +25,4 @@ Baselayers: 'Baselayers',

/**
* @deprecated The method should not be used because it can be false positive
*
* CustomLayertype and TmsLayertype can be raster and vector.

@@ -29,2 +35,4 @@ * You have to double check by yourself later!

/**
* @deprecated The method should not be used because it can be false positive
*
* CustomLayertype and TmsLayertype can be raster and vector.

@@ -36,4 +44,4 @@ * You have to double check by yourself later!

}
function isLayertype(inpt) {
return (isRasterLayertype(inpt) || isVectorLayertype(inpt));
function isLayertype(type) {
return [TmsLayertype, WmsLayertype, WmtsLayertype, XyzLayertype, GeojsonLayertype, KmlLayertype, WfsLayertype, CustomLayertype].includes(type);
}

@@ -99,2 +107,5 @@ /**

}
/**
* @deprecated The method should not be used because it can be false positive
*/
const isRasterLayer = (layer) => {

@@ -108,2 +119,5 @@ return isRasterLayertype(layer.type);

}
/**
* @deprecated The method should not be used because it can be false positive
*/
const isVectorLayer = (layer) => {

@@ -115,3 +129,3 @@ return isVectorLayertype(layer.type);

super(options);
this.type = 'custom';
this.type = CustomLayertype;
this.custom_layer = {};

@@ -121,2 +135,10 @@ Object.assign(this, options);

}
class StackedLayer extends Layer {
constructor(options) {
super(options);
this.type = StackedLayertype;
this.layers = [];
Object.assign(this, options);
}
}

@@ -902,3 +924,3 @@ /**

export { CustomLayer, CustomLayertype, Filtertypes, GeojsonLayertype, KmlLayertype, Layer, LayerGroup, LayersModule, LayersService, RasterLayer, TmsLayertype, VectorLayer, WfsLayertype, WmsLayer, WmsLayertype, WmtsLayer, WmtsLayertype, XyzLayertype, isLayertype, isRasterLayer, isRasterLayertype, isVectorLayer, isVectorLayertype, isWmsLayer, isWmtsLayer };
export { CustomLayer, CustomLayertype, Filtertypes, GeojsonLayertype, KmlLayertype, Layer, LayerGroup, LayersModule, LayersService, RasterLayer, StackedLayer, StackedLayertype, TmsLayertype, VectorLayer, WfsLayertype, WmsLayer, WmsLayertype, WmtsLayer, WmtsLayertype, XyzLayertype, isLayertype, isRasterLayer, isRasterLayertype, isVectorLayer, isVectorLayertype, isWmsLayer, isWmtsLayer };
//# sourceMappingURL=dlr-eoc-services-layers.js.map
export declare class LayersModule {
}

@@ -0,0 +0,0 @@ import { Observable } from 'rxjs';

@@ -0,0 +0,0 @@ import { Layer, TGeoExtent, TFiltertypes } from './Layers';

@@ -36,5 +36,5 @@ import { Type } from '@angular/core';

/** function to create html string - popupobj: nativeLayer */
pupupFunktion?: (popupobj: IAnyObject) => string;
popupFunction?: (popupobj: IAnyObject) => string;
/** async function where you can paste a html string to the callback - popupobj: nativeLayer */
asyncPupup?: (popupobj: any, cb: (html: any) => void) => void;
asyncPopup?: (popupobj: any, cb: (html: any) => void) => void;
/** create popup using angular component */

@@ -61,2 +61,3 @@ dynamicPopup?: {

}
/** can be raster and vector */
export declare const TmsLayertype = "tms";

@@ -69,3 +70,6 @@ export declare const WmsLayertype = "wms";

export declare const WfsLayertype = "wfs";
/** can be raster and vector */
export declare const CustomLayertype = "custom";
/** can have multiple layers raster, vector... */
export declare const StackedLayertype = "stacked";
export declare type TVectorLayertype = typeof GeojsonLayertype | typeof WfsLayertype | typeof TmsLayertype | typeof KmlLayertype | typeof CustomLayertype;

@@ -81,2 +85,4 @@ export declare type TRasterLayertype = typeof WmsLayertype | typeof WmtsLayertype | typeof XyzLayertype | typeof TmsLayertype | typeof CustomLayertype;

/**
* @deprecated The method should not be used because it can be false positive
*
* CustomLayertype and TmsLayertype can be raster and vector.

@@ -87,2 +93,4 @@ * You have to double check by yourself later!

/**
* @deprecated The method should not be used because it can be false positive
*
* CustomLayertype and TmsLayertype can be raster and vector.

@@ -92,3 +100,3 @@ * You have to double check by yourself later!

export declare function isRasterLayertype(inpt: string): inpt is TRasterLayertype;
export declare function isLayertype(inpt: string): inpt is TLayertype;
export declare function isLayertype(type: string): type is TLayertype;
/**

@@ -151,10 +159,2 @@ * geographic coordinates

cssClass?: string;
/**
* If the Layer consists of multiple layers but only one should be shown in the LayerControl
*
* If you use this then Layer.type must be 'custom' on this Layer. The merged Layers are overwritten for some attributes.
*
* Higher indexes get drawn above lower indexes
*/
mergedLayers?: Layer[];
}

@@ -187,3 +187,3 @@ export interface ILayerDimensions extends IAnyObject {

units: string;
value: string;
values: string;
display?: {

@@ -230,2 +230,9 @@ format?: string;

/**
* Layers is an array of layers which get stacked together and shown as one layer
*/
export interface IStackedLayerOptions extends Omit<ILayerOptions, 'type'> {
type?: TLayertype;
layers: Layer[];
}
/**
* Classes for layer construction

@@ -265,3 +272,2 @@ */

cssClass?: string;
mergedLayers?: Layer[];
constructor(options: ILayerOptions);

@@ -280,2 +286,6 @@ get time(): string;

STYLES?: string;
/** https://docs.geoserver.org/latest/en/user/tutorials/cql/cql_tutorial.html#cql-tutorial */
CQL_FILTER?: string;
/** https://docs.geoserver.org/latest/en/user/styling/sld/reference/filters.html */
FILTER?: string;
}

@@ -293,2 +303,5 @@ export declare class RasterLayer extends Layer implements IRasterLayerOptions {

}
/**
* @deprecated The method should not be used because it can be false positive
*/
export declare const isRasterLayer: (layer: Layer) => layer is RasterLayer;

@@ -309,2 +322,5 @@ export declare class VectorLayer extends Layer implements IVectorLayerOptions {

}
/**
* @deprecated The method should not be used because it can be false positive
*/
export declare const isVectorLayer: (layer: Layer) => layer is VectorLayer;

@@ -316,2 +332,7 @@ export declare class CustomLayer extends Layer implements ICustomLayerOptions {

}
export declare class StackedLayer extends Layer implements IStackedLayerOptions {
type: string;
layers: Layer[];
constructor(options: IStackedLayerOptions);
}
export {};

@@ -0,0 +0,0 @@ import { Layer, RasterLayer, IRasterLayerOptions, IRasterLayerParams } from './Layers';

@@ -1,1 +0,1 @@

{"name":"@dlr-eoc/services-layers","version":"8.0.0-next.4","main":"bundles/dlr-eoc-services-layers.umd.js","license":"Apache-2.0","peerDependencies":{"@angular/common":"^12.2.5","@angular/core":"~12.2.5","rxjs":"~6.6.7"},"dependencies":{"tslib":"^2.2.0"},"module":"fesm2015/dlr-eoc-services-layers.js","es2015":"fesm2015/dlr-eoc-services-layers.js","esm2015":"esm2015/dlr-eoc-services-layers.js","fesm2015":"fesm2015/dlr-eoc-services-layers.js","typings":"dlr-eoc-services-layers.d.ts","metadata":"dlr-eoc-services-layers.metadata.json","sideEffects":false,"repository":{"url":"git+https://github.com/dlr-eoc/ukis-frontend-libraries.git","type":"git"}}
{"name":"@dlr-eoc/services-layers","version":"8.0.0","main":"bundles/dlr-eoc-services-layers.umd.js","license":"Apache-2.0","peerDependencies":{"@angular/common":"^12.2.5","@angular/core":"~12.2.5","rxjs":"~6.6.7"},"dependencies":{"tslib":"^2.2.0"},"module":"fesm2015/dlr-eoc-services-layers.js","es2015":"fesm2015/dlr-eoc-services-layers.js","esm2015":"esm2015/dlr-eoc-services-layers.js","fesm2015":"fesm2015/dlr-eoc-services-layers.js","typings":"dlr-eoc-services-layers.d.ts","metadata":"dlr-eoc-services-layers.metadata.json","sideEffects":false,"repository":{"url":"git+https://github.com/ukis-frontend-libraries.git","type":"git"}}

@@ -0,0 +0,0 @@ export * from './lib/types/Layers';

@@ -0,0 +0,0 @@ # @dlr-eoc/services-layers

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

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