@vcmap/core 5.0.0-rc.10 → 5.0.0-rc.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (124) hide show
  1. package/index.d.ts +19 -12
  2. package/package.json +6 -2
  3. package/src/classRegistry.js +0 -6
  4. package/src/context.js +0 -1
  5. package/src/featureProvider/abstractFeatureProvider.js +0 -1
  6. package/src/featureProvider/wmsFeatureProvider.js +0 -1
  7. package/src/interaction/abstractInteraction.js +0 -1
  8. package/src/interaction/interactionChain.js +0 -1
  9. package/src/interaction/interactionType.js +1 -5
  10. package/src/layer/cesium/cesiumTilesetCesiumImpl.js +0 -1
  11. package/src/layer/cesium/dataSourceCesiumImpl.js +0 -1
  12. package/src/layer/cesium/openStreetMapCesiumImpl.js +0 -1
  13. package/src/layer/cesium/rasterLayerCesiumImpl.js +0 -1
  14. package/src/layer/cesium/singleImageCesiumImpl.js +0 -1
  15. package/src/layer/cesium/terrainCesiumImpl.js +0 -1
  16. package/src/layer/cesium/tmsCesiumImpl.js +0 -1
  17. package/src/layer/cesium/vectorCesiumImpl.js +0 -1
  18. package/src/layer/cesium/vectorRasterTileCesiumImpl.js +0 -1
  19. package/src/layer/cesium/vectorTileImageryProvider.js +0 -1
  20. package/src/layer/cesium/wmsCesiumImpl.js +0 -1
  21. package/src/layer/cesium/wmtsCesiumImpl.js +0 -1
  22. package/src/layer/cesiumTilesetLayer.js +0 -1
  23. package/src/layer/czmlLayer.js +0 -1
  24. package/src/layer/dataSourceLayer.js +0 -1
  25. package/src/layer/featureLayer.js +0 -1
  26. package/src/layer/featureStoreLayer.js +0 -1
  27. package/src/layer/featureStoreLayerState.js +0 -1
  28. package/src/layer/featureVisibility.js +0 -1
  29. package/src/layer/geojsonHelpers.js +0 -4
  30. package/src/layer/geojsonLayer.js +0 -1
  31. package/src/layer/globalHider.js +0 -1
  32. package/src/layer/layer.js +0 -1
  33. package/src/layer/layerImplementation.js +0 -1
  34. package/src/layer/layerState.js +0 -1
  35. package/src/layer/oblique/vectorObliqueImpl.js +0 -1
  36. package/src/layer/openStreetMapLayer.js +0 -1
  37. package/src/layer/openlayers/layerOpenlayersImpl.js +0 -1
  38. package/src/layer/openlayers/openStreetMapOpenlayersImpl.js +0 -1
  39. package/src/layer/openlayers/singleImageOpenlayersImpl.js +0 -1
  40. package/src/layer/openlayers/tileDebugOpenlayersImpl.js +0 -1
  41. package/src/layer/openlayers/tmsOpenlayersImpl.js +0 -1
  42. package/src/layer/openlayers/vectorOpenlayersImpl.js +0 -1
  43. package/src/layer/openlayers/vectorTileOpenlayersImpl.js +0 -1
  44. package/src/layer/openlayers/wmsOpenlayersImpl.js +0 -1
  45. package/src/layer/openlayers/wmtsOpenlayersImpl.js +0 -1
  46. package/src/layer/pointCloudLayer.js +0 -1
  47. package/src/layer/rasterLayer.js +0 -2
  48. package/src/layer/singleImageLayer.js +0 -1
  49. package/src/layer/terrainLayer.js +0 -1
  50. package/src/layer/tileProvider/mvtTileProvider.js +0 -1
  51. package/src/layer/tileProvider/staticGeojsonTileProvider.js +0 -1
  52. package/src/layer/tileProvider/tileProvider.js +0 -1
  53. package/src/layer/tileProvider/urlTemplateTileProvider.js +0 -1
  54. package/src/layer/tmsLayer.js +0 -1
  55. package/src/layer/vectorLayer.js +0 -1
  56. package/src/layer/vectorProperties.js +0 -1
  57. package/src/layer/vectorTileLayer.js +0 -1
  58. package/src/layer/wfsLayer.js +0 -1
  59. package/src/layer/wmsLayer.js +0 -1
  60. package/src/layer/wmtsLayer.js +0 -1
  61. package/src/map/baseOLMap.js +0 -1
  62. package/src/map/cameraLimiter.js +0 -1
  63. package/src/map/cesiumMap.js +0 -1
  64. package/src/map/mapState.js +0 -1
  65. package/src/map/obliqueMap.js +0 -1
  66. package/src/map/openlayersMap.js +0 -1
  67. package/src/map/vcsMap.js +6 -2
  68. package/src/oblique/helpers.js +0 -3
  69. package/src/oblique/obliqueCollection.js +0 -1
  70. package/src/oblique/obliqueDataSet.js +0 -2
  71. package/src/oblique/obliqueImage.js +0 -1
  72. package/src/oblique/obliqueImageMeta.js +0 -1
  73. package/src/oblique/obliqueProvider.js +0 -1
  74. package/src/oblique/obliqueView.js +0 -1
  75. package/src/oblique/obliqueViewDirection.js +0 -3
  76. package/src/ol/render/canvas/canvasTileRenderer.js +0 -1
  77. package/src/style/declarativeStyleItem.js +0 -1
  78. package/src/style/shapesCategory.js +0 -2
  79. package/src/style/styleHelpers.js +0 -11
  80. package/src/style/styleItem.js +0 -1
  81. package/src/style/vectorStyleItem.js +0 -4
  82. package/src/util/clipping/clippingObject.js +0 -2
  83. package/src/util/clipping/clippingObjectManager.js +0 -1
  84. package/src/util/clipping/clippingPlaneHelper.js +0 -4
  85. package/src/util/collection.js +15 -3
  86. package/src/util/extent.js +0 -1
  87. package/src/util/indexedCollection.js +0 -1
  88. package/src/util/layerCollection.js +5 -6
  89. package/src/util/mapCollection.js +29 -14
  90. package/src/util/overrideCollection.js +8 -9
  91. package/src/util/projection.js +0 -5
  92. package/src/util/viewpoint.js +0 -4
  93. package/src/vcsEvent.js +0 -1
  94. package/tests/data/buildings/tileset.json +428 -0
  95. package/tests/data/dynamicPointCzml.json +64 -0
  96. package/tests/data/oblique/imageData/imagev34.json +352 -0
  97. package/tests/data/oblique/imageData/imagev35.json +54 -0
  98. package/tests/data/oblique/imageData/imagev35PerImageSize.json +53 -0
  99. package/tests/data/oblique/tiledImageData/12/2199/1342.json +1 -0
  100. package/tests/data/oblique/tiledImageData/12/2199/1343.json +1 -0
  101. package/tests/data/oblique/tiledImageData/12/2199/1344.json +1 -0
  102. package/tests/data/oblique/tiledImageData/12/2200/1342.json +1 -0
  103. package/tests/data/oblique/tiledImageData/12/2200/1343.json +1 -0
  104. package/tests/data/oblique/tiledImageData/12/2200/1344.json +1 -0
  105. package/tests/data/oblique/tiledImageData/12/2201/1342.json +1 -0
  106. package/tests/data/oblique/tiledImageData/12/2201/1343.json +1 -0
  107. package/tests/data/oblique/tiledImageData/12/2201/1344.json +1 -0
  108. package/tests/data/oblique/tiledImageData/image.json +1 -0
  109. package/tests/data/terrain/13/8800/6485.terrain +0 -0
  110. package/tests/data/terrain/13/8800/6486.terrain +0 -0
  111. package/tests/data/terrain/13/8801/6485.terrain +0 -0
  112. package/tests/data/terrain/13/8801/6486.terrain +0 -0
  113. package/tests/data/terrain/layer.json +136 -0
  114. package/tests/data/testGeoJSON.json +161 -0
  115. package/tests/data/tile.pbf +0 -0
  116. package/tests/unit/helpers/cesiumHelpers.js +272 -0
  117. package/tests/unit/helpers/getFileNameFromUrl.js +12 -0
  118. package/tests/unit/helpers/helpers.js +11 -0
  119. package/tests/unit/helpers/imageHelpers.js +20 -0
  120. package/tests/unit/helpers/importJSON.js +15 -0
  121. package/tests/unit/helpers/obliqueData.js +76 -0
  122. package/tests/unit/helpers/obliqueHelpers.js +112 -0
  123. package/tests/unit/helpers/openlayersHelpers.js +22 -0
  124. package/tests/unit/helpers/terrain/terrainData.js +46 -0
package/index.d.ts CHANGED
@@ -677,7 +677,7 @@ export class InteractionChain extends AbstractInteraction {
677
677
  }
678
678
 
679
679
  /**
680
- * Provides inforamtion to other interaction plugins for creating bitmasks
680
+ * Provides information to other interaction plugins for creating bitmasks
681
681
  */
682
682
  export class BitCounter {
683
683
  static interactionTypeCounter: any;
@@ -6242,6 +6242,9 @@ export const defaultDeclarativeStyle: DeclarativeStyleItem;
6242
6242
 
6243
6243
  export function getShapeFromOptions(options: VectorStyleItemImage): import("ol/style/RegularShape").default | import("ol/style/Circle").default;
6244
6244
 
6245
+ /**
6246
+ * TODO refactor to getdefaultShapeCategory...
6247
+ */
6245
6248
  export const shapeCategory: any;
6246
6249
 
6247
6250
  export function getStyleOrDefaultStyle(styleOptions?: DeclarativeStyleItemOptions | VectorStyleItemOptions | StyleItem, defaultStyle?: StyleItem): StyleItem;
@@ -6751,6 +6754,11 @@ export class Collection<T extends any> {
6751
6754
  * @returns the index at which the item was inserted
6752
6755
  */
6753
6756
  add(item: T): number | null;
6757
+ /**
6758
+ * internal remove function, to remove an item from the collection, does not raise an event.
6759
+ * @returns returns the index of the removed item or -1 if the item has not been found.
6760
+ */
6761
+ protected _remove(item: T): number;
6754
6762
  /**
6755
6763
  * Removes an item from the collection
6756
6764
  */
@@ -7031,10 +7039,7 @@ export class LayerCollection extends IndexedCollection<Layer> {
7031
7039
  * @returns returns the layer index or null, if the layers name is not unique
7032
7040
  */
7033
7041
  add(layer: Layer, index?: number): number | null;
7034
- /**
7035
- * Removes a layer from the collection.
7036
- */
7037
- remove(layer: Layer): void;
7042
+ protected _remove(layer: Layer): number;
7038
7043
  }
7039
7044
 
7040
7045
  export function getLocaleChangedEvent(): VcsEvent<string>;
@@ -7102,11 +7107,7 @@ export class MapCollection extends Collection<VcsMap> {
7102
7107
  * It will add map event listeners and pass them to the event handler of this collection.
7103
7108
  */
7104
7109
  add(map: VcsMap): number | null;
7105
- /**
7106
- * Removes the map from the collection. Will also set _splitScreen & target to null and an empty _layerCollection on the map,
7107
- * if the map is currently part of the collection.
7108
- */
7109
- remove(map: VcsMap): void;
7110
+ protected _remove(map: VcsMap): number;
7110
7111
  /**
7111
7112
  * Set the target for these maps.
7112
7113
  */
@@ -7157,7 +7158,7 @@ export const isOverrideCollection: symbol;
7157
7158
  /**
7158
7159
  * @param getDynamicContextId - function to get the current dynamic context id
7159
7160
  * @param [serializeItem] - optional function to serialize an item, defaults to returning item.toJSON or item: i => (i.toJSON || i)
7160
- * @param [deserializeItem] - optional desirialization function. defaults to returning the passed object: i => i
7161
+ * @param [deserializeItem] - optional deserialization function. defaults to returning the passed object: i => i
7161
7162
  * @param [ctor] - optional constructor to validate deserialized items against. if passed, deserializeItem must be an instance of ctor.
7162
7163
  * @param [determineShadowIndex] - return the index where a shadow should be inserted. only has relevance, if the collection is indexed. previous and current index may be null.
7163
7164
  */
@@ -7194,7 +7195,13 @@ export interface ProjectionOptions {
7194
7195
  export function setDefaultProjectionOptions(options: ProjectionOptions): void;
7195
7196
 
7196
7197
  /**
7197
- * Projection Class, if no valid options are given, the Projection will initialize with the Framework default Projection
7198
+ * For example:
7199
+ * <pre><code>
7200
+ * {
7201
+ * "epsg" : "EPSG:25833"
7202
+ * "proj4" : "+proj=utm +zone=33 +ellps=GRS80 +units=m +no_defs"
7203
+ * }
7204
+ * </code></pre>
7198
7205
  */
7199
7206
  export class Projection {
7200
7207
  constructor(options: ProjectionOptions);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vcmap/core",
3
- "version": "5.0.0-rc.10",
3
+ "version": "5.0.0-rc.11",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -13,6 +13,7 @@
13
13
  "postinstall": "node build/postinstall.js",
14
14
  "coverage": "c8 --reporter text-summary npm run test",
15
15
  "coverage:gitlab": "c8 --reporter text-summary npm run test -- --reporter mocha-junit-reporter",
16
+ "build-docs": "jsdoc -c build/docs/conf.json",
16
17
  "build-index": "jsdoc -c build/index/conf.json",
17
18
  "build-typedefs": "jsdoc -c build/info/conf.json",
18
19
  "build-tsd": "node build/buildDTs.js",
@@ -25,6 +26,8 @@
25
26
  "files": [
26
27
  "build/postinstall.js",
27
28
  "src/",
29
+ "tests/data/",
30
+ "tests/unit/helpers/",
28
31
  "LICENSE.md",
29
32
  "README.md",
30
33
  "index.js",
@@ -49,10 +52,11 @@
49
52
  "node-fetch": "^3.2.0",
50
53
  "sinon": "^9.2.4",
51
54
  "sinon-chai": "^3.6.0",
55
+ "tui-jsdoc-template": "^1.2.2",
52
56
  "typescript": "^4.6.2"
53
57
  },
54
58
  "peerDependencies": {
55
- "@vcmap/cesium": "^1.92.1",
59
+ "@vcmap/cesium": "~1.93.1",
56
60
  "ol": "~6.13.0"
57
61
  },
58
62
  "eslintConfig": {
@@ -104,32 +104,26 @@ class ClassRegistry {
104
104
  export default ClassRegistry;
105
105
 
106
106
  /**
107
- * @export
108
107
  * @type {ClassRegistry<import("@vcmap/core").Layer>}
109
108
  */
110
109
  export const layerClassRegistry = new ClassRegistry();
111
110
  /**
112
- * @export
113
111
  * @type {ClassRegistry<import("@vcmap/core").TileProvider>}
114
112
  */
115
113
  export const tileProviderClassRegistry = new ClassRegistry();
116
114
  /**
117
- * @export
118
115
  * @type {ClassRegistry<import("@vcmap/core").AbstractFeatureProvider>}
119
116
  */
120
117
  export const featureProviderClassRegistry = new ClassRegistry();
121
118
  /**
122
- * @export
123
119
  * @type {ClassRegistry<import("@vcmap/core").VcsMap>}
124
120
  */
125
121
  export const mapClassRegistry = new ClassRegistry();
126
122
  /**
127
- * @export
128
123
  * @type {ClassRegistry<import("@vcmap/core").StyleItem>}
129
124
  */
130
125
  export const styleClassRegistry = new ClassRegistry();
131
126
  /**
132
- * @export
133
127
  * @type {ClassRegistry<import("@vcmap/core").Category<*>>}
134
128
  */
135
129
  export const categoryClassRegistry = new ClassRegistry();
package/src/context.js CHANGED
@@ -21,7 +21,6 @@ const uuidNamespace = uuidv4();
21
21
 
22
22
  /**
23
23
  * @class
24
- * @export
25
24
  */
26
25
  class Context {
27
26
  /**
@@ -24,7 +24,6 @@ import { isProvidedFeature, showProvidedFeature } from './featureProviderSymbols
24
24
  * An abstract class providing features for {@link Layer}s which cannot provide features directly, but can provide features for
25
25
  * a given location, e.g. WmsLayer with a getFeatureInfo configuration. In this case, a feature provider can be created for this layer.
26
26
  * @class
27
- * @export
28
27
  * @abstract
29
28
  * @api
30
29
  */
@@ -68,7 +68,6 @@ export function getFormat(responseType, options = {}) {
68
68
 
69
69
  /**
70
70
  * @class
71
- * @export
72
71
  * @extends {AbstractFeatureProvider}
73
72
  */
74
73
  class WMSFeatureProvider extends AbstractFeatureProvider {
@@ -22,7 +22,6 @@ import { EventType, ModificationKeyType, PointerKeyType } from './interactionTyp
22
22
  /**
23
23
  * An abstract interface for all interactions
24
24
  * @class
25
- * @export
26
25
  * @abstract
27
26
  * @api
28
27
  */
@@ -4,7 +4,6 @@ import { EventType, ModificationKeyType, PointerKeyType } from './interactionTyp
4
4
  /**
5
5
  * @class
6
6
  * @extends {AbstractInteraction}
7
- * @export
8
7
  */
9
8
  class InteractionChain extends AbstractInteraction {
10
9
  /**
@@ -1,9 +1,8 @@
1
1
  let nextBit = 1;
2
2
 
3
3
  /**
4
- * Provides inforamtion to other interaction plugins for creating bitmasks
4
+ * Provides information to other interaction plugins for creating bitmasks
5
5
  * @class
6
- * @export
7
6
  */
8
7
  export class BitCounter {
9
8
  /**
@@ -19,7 +18,6 @@ export class BitCounter {
19
18
  /**
20
19
  * Enumeration of modification key types
21
20
  * @enum {number}
22
- * @export
23
21
  * @property {number} NONE
24
22
  * @property {number} ALT
25
23
  * @property {number} CTRL
@@ -53,7 +51,6 @@ ModificationKeyType.ALL = ModificationKeyType.NONE |
53
51
  * @property {number} DRAGEVENTS
54
52
  * @property {number} CLICKMOVE
55
53
  * @property {number} ALL
56
- * @export
57
54
  * @api
58
55
  */
59
56
  export const EventType = {
@@ -85,7 +82,6 @@ EventType.ALL = Object.values(EventType)
85
82
  * @property {number} RIGHT
86
83
  * @property {number} MIDDLE
87
84
  * @property {number} ALL
88
- * @export
89
85
  * @api
90
86
  */
91
87
  export const PointerKeyType = {
@@ -59,7 +59,6 @@ export function getExtentFromTileset(cesium3DTileset) {
59
59
  /**
60
60
  * represents the cesium implementation for a {@link CesiumTileset} layer.
61
61
  * @class
62
- * @export
63
62
  * @extends {LayerImplementation<import("@vcmap/core").CesiumMap>}}
64
63
  * @implements {FeatureLayerImplementation}
65
64
  * @api stable
@@ -25,7 +25,6 @@ function synchronizeEntityCollections(source, destination) {
25
25
 
26
26
  /**
27
27
  * @class
28
- * @export
29
28
  * @extends {LayerImplementation<import("@vcmap/core").CesiumMap>}}
30
29
  */
31
30
  class DataSourceCesiumImpl extends LayerImplementation {
@@ -4,7 +4,6 @@ import RasterLayerCesiumImpl from './rasterLayerCesiumImpl.js';
4
4
  /**
5
5
  * represents a specific OpenStreetMapLayer layer for cesium.
6
6
  * @class
7
- * @export
8
7
  * @extends {RasterLayerCesiumImpl}
9
8
  */
10
9
  class OpenStreetMapCesiumImpl extends RasterLayerCesiumImpl {
@@ -4,7 +4,6 @@ import LayerImplementation from '../layerImplementation.js';
4
4
  /**
5
5
  * RasterLayer implementation for {@link Openlayers}
6
6
  * @class
7
- * @export
8
7
  * @extends {LayerImplementation<import("@vcmap/core").CesiumMap>}}
9
8
  * @implements {RasterLayerImplementation}
10
9
  */
@@ -5,7 +5,6 @@ import { wgs84Projection } from '../../util/projection.js';
5
5
  /**
6
6
  * represents a specific Cesium SingleTileImagery Layer class.
7
7
  * @class
8
- * @export
9
8
  * @extends {RasterLayerCesiumImpl}
10
9
  */
11
10
  class SingleImageCesiumImpl extends RasterLayerCesiumImpl {
@@ -6,7 +6,6 @@ import { getTerrainProviderForUrl } from '../terrainHelpers.js';
6
6
  /**
7
7
  * TerrainLayer implementation for {@link CesiumMap}
8
8
  * @class
9
- * @export
10
9
  * @extends {LayerImplementation<import("@vcmap/core").CesiumMap>}}
11
10
  */
12
11
  class TerrainCesiumImpl extends LayerImplementation {
@@ -6,7 +6,6 @@ import { TilingScheme } from '../rasterLayer.js';
6
6
  /**
7
7
  * TmsLayer implementation for {@link CesiumMap}.
8
8
  * @class
9
- * @export
10
9
  * @extends {RasterLayerCesiumImpl}
11
10
  */
12
11
  class TmsCesiumImpl extends RasterLayerCesiumImpl {
@@ -11,7 +11,6 @@ import { synchronizeFeatureVisibilityWithSource } from '../vectorHelpers.js';
11
11
  /**
12
12
  * represents a specific vector layer for cesium.
13
13
  * @class
14
- * @export
15
14
  * @extends {LayerImplementation<import("@vcmap/core").CesiumMap>}}
16
15
  * @implements {FeatureLayerImplementation}
17
16
  */
@@ -6,7 +6,6 @@ import { wgs84Projection } from '../../util/projection.js';
6
6
  /**
7
7
  * represents a rasterized tiled vector layer implementation for cesium.
8
8
  * @class
9
- * @export
10
9
  * @extends {RasterLayerCesiumImpl}
11
10
  * @implements {VectorTileImplementation}
12
11
  */
@@ -64,7 +64,6 @@ export function getCanvasFromFeatures(features, extent, center, tileSize) {
64
64
  /**
65
65
  * implementation of Cesium ImageryProvider Interface
66
66
  * @class
67
- * @export
68
67
  */
69
68
  class VectorTileImageryProvider {
70
69
  /**
@@ -6,7 +6,6 @@ import { wgs84Projection } from '../../util/projection.js';
6
6
  /**
7
7
  * represents a specific Cesium WmsCesiumImpl Layer class.
8
8
  * @class
9
- * @export
10
9
  * @extends {RasterLayerCesiumImpl}
11
10
  */
12
11
  class WmsCesiumImpl extends RasterLayerCesiumImpl {
@@ -6,7 +6,6 @@ import { getTilingScheme } from '../rasterLayer.js';
6
6
  /**
7
7
  * represents a specific WmtsLayer Implementation for {@link CesiumMap}.
8
8
  * @class
9
- * @export
10
9
  * @extends {RasterLayerCesiumImpl}
11
10
  */
12
11
  class WmtsCesiumImpl extends RasterLayerCesiumImpl {
@@ -49,7 +49,6 @@ import { layerClassRegistry } from '../classRegistry.js';
49
49
  * @extends {FeatureLayer}
50
50
  * @implements {SplitLayer}
51
51
  * @api stable
52
- * @export
53
52
  */
54
53
  class CesiumTilesetLayer extends FeatureLayer {
55
54
  /** @type {string} */
@@ -12,7 +12,6 @@ import { layerClassRegistry } from '../classRegistry.js';
12
12
 
13
13
  /**
14
14
  * @class
15
- * @export
16
15
  * @extends {DataSourceLayer}
17
16
  */
18
17
  class CzmlLayer extends DataSourceLayer {
@@ -30,7 +30,6 @@ import { layerClassRegistry } from '../classRegistry.js';
30
30
  /**
31
31
  * Represents a layer of Cesium.Entity
32
32
  * @class
33
- * @export
34
33
  * @extends {Layer}
35
34
  * @api stable
36
35
  */
@@ -44,7 +44,6 @@ import { layerClassRegistry } from '../classRegistry.js';
44
44
  * @class
45
45
  * @abstract
46
46
  * @extends {Layer}
47
- * @export
48
47
  * @api
49
48
  */
50
49
  class FeatureLayer extends Layer {
@@ -76,7 +76,6 @@ export const isTiledFeature = Symbol('isTiledFeature');
76
76
  /**
77
77
  * FeatureStoreLayer Layer
78
78
  * @class
79
- * @export
80
79
  * @extends {VectorLayer}
81
80
  * @api
82
81
  */
@@ -10,7 +10,6 @@ export const featureStoreStateSymbol = Symbol('vcsFeatureType');
10
10
  * @property {string} STATIC
11
11
  * @property {string} EDITED
12
12
  * @api
13
- * @export
14
13
  */
15
14
  export const FeatureStoreLayerState = {
16
15
  DYNAMIC: 'dynamic',
@@ -181,7 +181,6 @@ export function showFeature(feature, symbol) {
181
181
  /**
182
182
  * Enumeration of feature visibility actions.
183
183
  * @enum {number}
184
- * @export
185
184
  * @api
186
185
  * @property {number} HIGHLIGHT
187
186
  * @property {number} UNHIGHLIGHT
@@ -74,7 +74,6 @@ function getFormat() {
74
74
  /**
75
75
  * @param {Object} geojson
76
76
  * @returns {string|null}
77
- * @export
78
77
  */
79
78
  export function getEPSGCodeFromGeojson(geojson) {
80
79
  const { crs } = geojson;
@@ -95,7 +94,6 @@ export function getEPSGCodeFromGeojson(geojson) {
95
94
  /**
96
95
  * updates legacy features to the new olcesium namespaceing olcs_
97
96
  * @param {import("ol").Feature<import("ol/geom/Geometry").default>} feature
98
- * @export
99
97
  */
100
98
  export function updateLegacyFeature(feature) {
101
99
  // these changes can be done silently, because the features haven't been added to any layer
@@ -283,7 +281,6 @@ function readFeature(featureObj, options) {
283
281
  * @param {GeoJSONreadOptions=} readOptions
284
282
  * @returns {GeoJSONData}
285
283
  * @throws SyntaxError
286
- * @export
287
284
  * @api
288
285
  */
289
286
  export function parseGeoJSON(input, readOptions = {}) {
@@ -412,7 +409,6 @@ export function writeGeoJSONFeature(feature, options = {}, embeddedIcons) {
412
409
  * @param {GeoJSONData} data
413
410
  * @param {GeoJSONwriteOptions=} options
414
411
  * @returns {string|Object}
415
- * @export
416
412
  */
417
413
  export function writeGeoJSON(data, options = {}) { // how to handel embedded icons when they are not set on the vcsMeta but options is true?
418
414
  const vcsMeta = data.vcsMeta || {};
@@ -20,7 +20,6 @@ export const featureFromOptions = Symbol('featureFromOptions');
20
20
  /**
21
21
  * GeojsonLayer layer for Cesium, OpenlayersMap and ObliqueMap
22
22
  * @class
23
- * @export
24
23
  * @extends {VectorLayer}
25
24
  * @api stable
26
25
  */
@@ -134,7 +134,6 @@ class GlobalHider {
134
134
 
135
135
  /**
136
136
  * @returns {GlobalHider}
137
- * @export
138
137
  * @api
139
138
  */
140
139
  export function getGlobalHider() {
@@ -100,7 +100,6 @@ export const vcsMetaVersion = '2.0';
100
100
  * To receive implementation options, implement `geImplementationOptions`
101
101
  * @abstract
102
102
  * @class
103
- * @export
104
103
  * @extends {VcsObject}
105
104
  * @api stable
106
105
  */
@@ -4,7 +4,6 @@ import LayerState from './layerState.js';
4
4
  /**
5
5
  * represents an implementation for a Layer for a specific Map
6
6
  * @class
7
- * @export
8
7
  * @extends {VcsObject}
9
8
  * @abstract
10
9
  * @api
@@ -2,7 +2,6 @@
2
2
  * Enumeration of possible layer states.
3
3
  * State machine: inactive <-> loading -> active -> inactive
4
4
  * @enum {number}
5
- * @export
6
5
  * @api
7
6
  * @property {number} INACTIVE
8
7
  * @property {number} ACTIVE
@@ -19,7 +19,6 @@ import { synchronizeFeatureVisibilityWithSource } from '../vectorHelpers.js';
19
19
  /**
20
20
  * represents a specific vector layer for oblique.
21
21
  * @class
22
- * @export
23
22
  * @extends {LayerObliqueImpl}
24
23
  * @implements {FeatureLayerImplementation}
25
24
  */
@@ -20,7 +20,6 @@ import { layerClassRegistry } from '../classRegistry.js';
20
20
  /**
21
21
  * OpenStreetMapLayer Layer
22
22
  * @class
23
- * @export
24
23
  * @extends {Layer}
25
24
  * @api stable
26
25
  * @implements {SplitLayer}
@@ -4,7 +4,6 @@ import LayerImplementation from '../layerImplementation.js';
4
4
  /**
5
5
  * Layer implementation for {@link CesiumMap}.
6
6
  * @class
7
- * @export
8
7
  * @extends {LayerImplementation<import("@vcmap/core").OpenlayersMap>}}
9
8
  */
10
9
  class LayerOpenlayersImpl extends LayerImplementation {
@@ -5,7 +5,6 @@ import RasterLayerOpenlayersImpl from './rasterLayerOpenlayersImpl.js';
5
5
  /**
6
6
  * represents a specific OpenStreetMapLayer layer for openlayers.
7
7
  * @class
8
- * @export
9
8
  * @extends {RasterLayerOpenlayersImpl}
10
9
  */
11
10
  class OpenStreetMapOpenlayersImpl extends RasterLayerOpenlayersImpl {
@@ -7,7 +7,6 @@ import { isSameOrigin } from '../../util/urlHelpers.js';
7
7
  /**
8
8
  * represents a specific OpenLayers SingleImageLayer Layer class.
9
9
  * @class
10
- * @export
11
10
  * @extends {RasterLayerOpenlayersImpl}
12
11
  */
13
12
  class SingleImageOpenlayersImpl extends RasterLayerOpenlayersImpl {
@@ -5,7 +5,6 @@ import LayerOpenlayersImpl from './layerOpenlayersImpl.js';
5
5
  /**
6
6
  * layer Implementation to render tile boundaries.
7
7
  * @class
8
- * @export
9
8
  * @extends {LayerOpenlayersImpl}
10
9
  * @implements {VectorTileImplementation}
11
10
  */
@@ -8,7 +8,6 @@ import { isSameOrigin } from '../../util/urlHelpers.js';
8
8
  /**
9
9
  * TmsLayer implementation for {@link Openlayers}.
10
10
  * @class
11
- * @export
12
11
  * @extends {RasterLayerOpenlayersImpl}
13
12
  */
14
13
  class TmsOpenlayersImpl extends RasterLayerOpenlayersImpl {
@@ -6,7 +6,6 @@ import { getGlobalHider } from '../globalHider.js';
6
6
  /**
7
7
  * represents a specific vectorlayer for openlayers.
8
8
  * @class
9
- * @export
10
9
  * @implements {FeatureLayerImplementation}
11
10
  * @extends {LayerOpenlayersImpl}
12
11
  */
@@ -7,7 +7,6 @@ import { mercatorProjection } from '../../util/projection.js';
7
7
  /**
8
8
  * represents a specific vectorTileLayer for openlayers.
9
9
  * @class
10
- * @export
11
10
  * @implements {VectorTileImplementation}
12
11
  * @extends {LayerOpenlayersImpl}
13
12
  */
@@ -5,7 +5,6 @@ import { getWMSSource } from '../wmsHelpers.js';
5
5
  /**
6
6
  * represents a specific Cesium WmsOpenlayersImpl Layer class.
7
7
  * @class
8
- * @export
9
8
  * @extends {RasterLayerOpenlayersImpl}
10
9
  */
11
10
  class WmsOpenlayersImpl extends RasterLayerOpenlayersImpl {
@@ -10,7 +10,6 @@ import { isSameOrigin } from '../../util/urlHelpers.js';
10
10
  /**
11
11
  * WmtsLayer implementation for {@link Openlayers}.
12
12
  * @class
13
- * @export
14
13
  * @extends {RasterLayerOpenlayersImpl}
15
14
  */
16
15
  class WmtsOpenlayersImpl extends RasterLayerOpenlayersImpl {
@@ -32,7 +32,6 @@ export const defaultPointCloudStyle = new DeclarativeStyleItem({});
32
32
  * </ul>
33
33
  *
34
34
  * @class
35
- * @export
36
35
  * @extends {CesiumTilesetLayer}
37
36
  * @api stable
38
37
  */
@@ -41,7 +41,6 @@ import { layerClassRegistry } from '../classRegistry.js';
41
41
  * @api
42
42
  * @property {string} GEOGRAPHIC
43
43
  * @property {string} MERCATOR
44
- * @export
45
44
  */
46
45
  export const TilingScheme = {
47
46
  GEOGRAPHIC: 'geographic',
@@ -112,7 +111,6 @@ export function calculateMinLevel(extent, tilingScheme, maxLevel, minLevel = 0)
112
111
  * This abstract class allows for automatic loading scheme determination
113
112
  * for raster layers
114
113
  * @class
115
- * @export
116
114
  * @extends {Layer}
117
115
  * @implements {SplitLayer}
118
116
  * @abstract
@@ -22,7 +22,6 @@ import { wgs84Projection } from '../util/projection.js';
22
22
  /**
23
23
  * Image layer for Cesium and OpenlayersMap
24
24
  * @class
25
- * @export
26
25
  * @extends {RasterLayer}
27
26
  * @api stable
28
27
  */
@@ -21,7 +21,6 @@ import { layerClassRegistry } from '../classRegistry.js';
21
21
  /**
22
22
  * represents a terrain layer.
23
23
  * @class
24
- * @export
25
24
  * @extends {Layer}
26
25
  * @api stable
27
26
  */
@@ -18,7 +18,6 @@ import { tileProviderClassRegistry } from '../../classRegistry.js';
18
18
  *
19
19
  * @class
20
20
  * @extends {TileProvider}
21
- * @export
22
21
  * @api
23
22
  */
24
23
  class MVTTileProvider extends TileProvider {
@@ -14,7 +14,6 @@ import { tileProviderClassRegistry } from '../../classRegistry.js';
14
14
  *
15
15
  * @class
16
16
  * @extends {TileProvider}
17
- * @export
18
17
  * @api
19
18
  */
20
19
  class StaticGeoJSONTileProvider extends TileProvider {
@@ -75,7 +75,6 @@ export function rectangleToExtent(rectangle) {
75
75
  *
76
76
  * @class
77
77
  * @extends {VcsObject}
78
- * @export
79
78
  * @api
80
79
  */
81
80
  class TileProvider extends VcsObject {