jmapcloud-ng-core-types 1.0.19 → 1.0.21

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jmapcloud-ng-core-types",
3
- "version": "1.0.19",
3
+ "version": "1.0.21",
4
4
  "description": "JMap Cloud specific version of JMap Cloud NG Core types and interfaces",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/public/core.d.ts CHANGED
@@ -929,8 +929,8 @@ declare namespace JMap {
929
929
  * styleMapScales: [
930
930
  * {
931
931
  * id: "a9ba5215-0511-4aa3-a724-6f14f10ab315",
932
- * maximumVisibleZoom: 23,
933
- * minimumVisibleZoom: 0,
932
+ * maximumZoom: 23,
933
+ * minimumZoom: 0,
934
934
  * styleId: condition1StyleId
935
935
  * }
936
936
  * ]
@@ -949,8 +949,8 @@ declare namespace JMap {
949
949
  * styleMapScales: [
950
950
  * {
951
951
  * id: "8fb646bb-afee-4a3c-9545-e9716049d307",
952
- * maximumVisibleZoom: 23,
953
- * minimumVisibleZoom: 0,
952
+ * maximumZoom: 23,
953
+ * minimumZoom: 0,
954
954
  * styleId: condition2StyleId
955
955
  * }
956
956
  * ]
@@ -969,8 +969,8 @@ declare namespace JMap {
969
969
  * styleMapScales: [
970
970
  * {
971
971
  * id: "d0ad4bf4-f6a7-46f1-866b-74f97a5e7775",
972
- * maximumVisibleZoom: 23,
973
- * minimumVisibleZoom: 0,
972
+ * maximumZoom: 23,
973
+ * minimumZoom: 0,
974
974
  * styleId: condition3StyleId
975
975
  * }
976
976
  * ]
@@ -989,8 +989,8 @@ declare namespace JMap {
989
989
  * styleMapScales: [
990
990
  * {
991
991
  * id: "94331295-86b3-455c-8946-d45f79b8bd21",
992
- * maximumVisibleZoom: 23,
993
- * minimumVisibleZoom: 0,
992
+ * maximumZoom: 23,
993
+ * minimumZoom: 0,
994
994
  * styleId: condition4StyleId
995
995
  * }
996
996
  * ]
@@ -294,8 +294,8 @@ declare interface JLayer extends JLayerTreeElement {
294
294
  metadataSections: JLayerMetadataSection[]
295
295
  attributes: JLayerAttribute[]
296
296
  mouseOver: JMapMouseOver
297
- minimumVisibleZoom: number | undefined
298
- maximumVisibleZoom: number | undefined
297
+ minimumZoom: number | undefined
298
+ maximumZoom: number | undefined
299
299
  styleRules: JLayerStyleRule[]
300
300
  defaultStyleRule: JLayerStyleRule | undefined
301
301
  thematics: JLayerThematic[]
@@ -458,8 +458,8 @@ declare interface JLayerStyleRuleCondition {
458
458
  declare interface JLayerStyleScaled {
459
459
  id: string
460
460
  styleId: string
461
- minimumVisibleZoom: number
462
- maximumVisibleZoom: number
461
+ minimumZoom: number
462
+ maximumZoom: number
463
463
  }
464
464
 
465
465
  declare interface JLayerStyleSample {
@@ -519,7 +519,7 @@ declare interface JCoreMapOptions {
519
519
  zoom?: number
520
520
 
521
521
  /**
522
- * The map will zoom and pan to fit exactly the extent :
522
+ * This option has precedence over ***{@link JCoreMapOptions.bearing}***, ***{@link JCoreMapOptions.zoom}***, and ***{@link JCoreMapOptions.center}*** startup options. The map will zoom and pan to fit exactly the extent:
523
523
  *
524
524
  * ```html
525
525
  * <html>
@@ -2,8 +2,8 @@ declare interface JMapMouseOver {
2
2
  text: string
3
3
  preventTextDuplication: boolean
4
4
  backgroundColor: string
5
- maximumVisibleZoom: number
6
- minimumVisibleZoom: number
5
+ maximumZoom: number
6
+ minimumZoom: number
7
7
  }
8
8
 
9
9
  declare interface JMouseOverContent {
@@ -36,8 +36,6 @@ declare interface JProject {
36
36
  colorBackground: string
37
37
  terrain?: JTerrainSpecification
38
38
  initialExtent: JBounds | null
39
- minimumVisibleZoom: number
40
- maximumVisibleZoom: number
41
39
  mapUnit: JMAP_DISTANCE_UNITS
42
40
  apiKey: {
43
41
  google: string | null
@@ -1,9 +1,15 @@
1
+ /**
2
+ * @deprecated
3
+ */
1
4
  declare interface JQueryGroup {
2
5
  id: JId
3
6
  name: string
4
7
  queries: JQuery[]
5
8
  }
6
9
 
10
+ /**
11
+ * @deprecated
12
+ */
7
13
  declare interface JQuery {
8
14
  id: string // unique id, set by NG
9
15
  jmapId: JId // non unique id, set by server, used to fetch query form (associate to layer id)
@@ -11,7 +17,7 @@ declare interface JQuery {
11
17
  name: string
12
18
  layerId: JId
13
19
  maxScale: number
14
- maxResults: number,
20
+ maxResults: number
15
21
  isInitialized: boolean
16
22
  isLoading: boolean
17
23
  hasLoadingError: boolean