jmapcloud-ng-core-types 1.0.47 → 1.0.49

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 (2) hide show
  1. package/package.json +1 -1
  2. package/public/core.d.ts +32 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jmapcloud-ng-core-types",
3
- "version": "1.0.47",
3
+ "version": "1.0.49",
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
@@ -466,7 +466,7 @@ declare namespace JMap {
466
466
  * @example
467
467
  * ```ts
468
468
  * // returns the feature of layer id="36885146-7eed-4071-9f86-8e29c505af91" and bbox
469
- * JMap.Feature.getByLayer("36885146-7eed-4071-9f86-8e29c505af91", {
469
+ * JMap.Feature.getByLayerId("36885146-7eed-4071-9f86-8e29c505af91", {
470
470
  * ne: {
471
471
  * x: -73.69935286533261,
472
472
  * y: 45.51487645603402
@@ -3253,6 +3253,24 @@ declare namespace JMap {
3253
3253
  */
3254
3254
  function setMapInfoControlVisibility(isVisible: boolean): void
3255
3255
 
3256
+ /**
3257
+ * ***JMap.Map.setTerrainControlVisibility***
3258
+ *
3259
+ * Changes the Terrain control visibility on the map.
3260
+ *
3261
+ * @param isVisible true to display the Terrain control, false to hide
3262
+ *
3263
+ * @example
3264
+ * ```ts
3265
+ * // displays the Terrain control on the map
3266
+ * JMap.Map.setTerrainControlVisibility(true)
3267
+ *
3268
+ * // hides the Terrain control on the map
3269
+ * JMap.Map.setTerrainControlVisibility(false)
3270
+ * ```
3271
+ */
3272
+ function setTerrainControlVisibility(isVisible: boolean): void
3273
+
3256
3274
  /**
3257
3275
  * ***JMap.Map.isMapInfoControlExpanded***
3258
3276
  *
@@ -3323,6 +3341,19 @@ declare namespace JMap {
3323
3341
  */
3324
3342
  function isTerrainActive(): boolean
3325
3343
 
3344
+ /**
3345
+ * ***JMap.Map.isTerrainControlVisible***
3346
+ *
3347
+ * Returns true if the terrain control is visible, false otherwise.
3348
+ *
3349
+ * @example
3350
+ * ```ts
3351
+ * // returns true if the terrain control is visible, false otherwise
3352
+ * JMap.Map.isTerrainControlVisible()
3353
+ * ```
3354
+ */
3355
+ function isTerrainControlVisible(): boolean
3356
+
3326
3357
  /**
3327
3358
  * ***JMap.Map.setTerrainActive***
3328
3359
  *