jmapcloud-ng-types 0.3.0 → 0.3.2
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 +2 -3
- package/public/app.d.ts +15 -15
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "jmapcloud-ng-types",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.2",
|
|
4
4
|
"description": "JMap Cloud specific version of JMap Cloud NG types and interfaces",
|
|
5
5
|
"main": "src/app.ts",
|
|
6
6
|
"scripts": {
|
|
@@ -22,8 +22,7 @@
|
|
|
22
22
|
"homepage": "https://github.com/k2geospatial/jmapcloud-ng-types#readme",
|
|
23
23
|
"devDependencies": {
|
|
24
24
|
"gulp": "^4.0.2",
|
|
25
|
-
"
|
|
26
|
-
"jmapcloud-ng-core-types": "0.3.0",
|
|
25
|
+
"jmapcloud-ng-core-types": "0.3.2",
|
|
27
26
|
"@types/react": "^16.8.3",
|
|
28
27
|
"maplibre-gl": "^3.2.1",
|
|
29
28
|
"typedoc": "^0.24.8"
|
package/public/app.d.ts
CHANGED
|
@@ -4,11 +4,11 @@ declare namespace JMap {
|
|
|
4
4
|
*
|
|
5
5
|
* This is the JMap Cloud NG API documentation.
|
|
6
6
|
*
|
|
7
|
-
* JMap Cloud NG depends on the JMap Cloud NG Core library (
|
|
7
|
+
* JMap Cloud NG depends on the JMap Cloud NG Core library ({@link JMap}).
|
|
8
8
|
*
|
|
9
9
|
* Examples are available <a href="https://doc.k2geospatial.com/jmap/doc/ng_dev/examples.html" target="_blank">here</a>.
|
|
10
10
|
*
|
|
11
|
-
* You can customize JMap Cloud NG by providing startup options (
|
|
11
|
+
* You can customize JMap Cloud NG by providing startup options ({@link JApplicationOptions}).
|
|
12
12
|
*/
|
|
13
13
|
namespace Application {
|
|
14
14
|
/**
|
|
@@ -954,7 +954,7 @@ declare namespace JMap {
|
|
|
954
954
|
/**
|
|
955
955
|
* **JMap.Application.Measure.setMeasurementSystem**
|
|
956
956
|
*
|
|
957
|
-
* Sets the measurement system used by the Measurements Panel. **This setting is only taken into account when you draw measurements using the Measurements Panel. It does not affect jmapcloud-ng-core methods like
|
|
957
|
+
* Sets the measurement system used by the Measurements Panel. **This setting is only taken into account when you draw measurements using the Measurements Panel. It does not affect jmapcloud-ng-core methods like {@link JMap.Geometry.getDistance}, which always return geodetic values.**
|
|
958
958
|
*
|
|
959
959
|
* **This method should not be called in regular situations.**
|
|
960
960
|
*
|
|
@@ -1259,7 +1259,7 @@ declare namespace JMap {
|
|
|
1259
1259
|
*
|
|
1260
1260
|
* Tests if the layer tree filters are applied.
|
|
1261
1261
|
*
|
|
1262
|
-
* Layer tree filters are applied (in action) only if the filtering is active (
|
|
1262
|
+
* Layer tree filters are applied (in action) only if the filtering is active ({@link JMap.Application.Layer.Tree.Filter.isActive} returns true)
|
|
1263
1263
|
* and either one of those two conditions are met:
|
|
1264
1264
|
*
|
|
1265
1265
|
* a) the name filter contains at least 2 characters
|
|
@@ -1288,7 +1288,7 @@ declare namespace JMap {
|
|
|
1288
1288
|
*
|
|
1289
1289
|
* Layer tree filters are active, but initially not applied, when the user activates the Filter user interface either by clicking on a button
|
|
1290
1290
|
* or by calling a JMap Cloud NG API method to activate it.
|
|
1291
|
-
* See
|
|
1291
|
+
* See {@link JMap.Application.Layer.Tree.Filter.isApplied} for more details.
|
|
1292
1292
|
*
|
|
1293
1293
|
* @example ```ts
|
|
1294
1294
|
*
|
|
@@ -1308,7 +1308,7 @@ declare namespace JMap {
|
|
|
1308
1308
|
*
|
|
1309
1309
|
* Layer tree filters are active, but initially not applied, when the user activates the Filter user interface either by clicking on a button
|
|
1310
1310
|
* or by calling a JMap Cloud NG API method to activate it.
|
|
1311
|
-
* See
|
|
1311
|
+
* See {@link JMap.Application.Layer.Tree.Filter.isApplied} for more details
|
|
1312
1312
|
*
|
|
1313
1313
|
* @param active a boolean
|
|
1314
1314
|
* @example ```ts
|
|
@@ -1437,7 +1437,7 @@ declare namespace JMap {
|
|
|
1437
1437
|
/**
|
|
1438
1438
|
* **JMap.Application.Layer.Tree.Filter.add**
|
|
1439
1439
|
*
|
|
1440
|
-
* Adds a filter. The list of available metadata schema items can be retieved by calling
|
|
1440
|
+
* Adds a filter. The list of available metadata schema items can be retieved by calling {@link JMap.Layer.getMetadataSchema}.
|
|
1441
1441
|
*
|
|
1442
1442
|
* @param filter a JAppAnyLayerFilter object
|
|
1443
1443
|
* @example ```ts
|
|
@@ -2199,7 +2199,7 @@ declare namespace JMap {
|
|
|
2199
2199
|
*
|
|
2200
2200
|
* @deprecated will be removed in the futur
|
|
2201
2201
|
* @throws if format is incorrect
|
|
2202
|
-
* @param the paper format object or a
|
|
2202
|
+
* @param the paper format object or a {@link JAPP_PRINT_PAPER_SIZES}
|
|
2203
2203
|
* @example ```ts
|
|
2204
2204
|
*
|
|
2205
2205
|
* // set the letter paper format
|
|
@@ -2493,7 +2493,7 @@ declare namespace JMap {
|
|
|
2493
2493
|
*
|
|
2494
2494
|
* Here you can manage all JMap Cloud NG high level event listeners.
|
|
2495
2495
|
*
|
|
2496
|
-
* Click to see all events available: ***
|
|
2496
|
+
* Click to see all events available: ***{@link JMap.Application.Event.Main.on}***.
|
|
2497
2497
|
*/
|
|
2498
2498
|
namespace Main {
|
|
2499
2499
|
/**
|
|
@@ -2590,7 +2590,7 @@ declare namespace JMap {
|
|
|
2590
2590
|
*
|
|
2591
2591
|
* Here you can manage all JMap Cloud NG layer event listeners.
|
|
2592
2592
|
*
|
|
2593
|
-
* Click to see all events available: ***
|
|
2593
|
+
* Click to see all events available: ***{@link JMap.Application.Event.Layer.on}***.
|
|
2594
2594
|
*/
|
|
2595
2595
|
namespace Layer {
|
|
2596
2596
|
/**
|
|
@@ -2685,7 +2685,7 @@ declare namespace JMap {
|
|
|
2685
2685
|
*
|
|
2686
2686
|
* Here you can manage all JMap Cloud NG extension event listeners.
|
|
2687
2687
|
*
|
|
2688
|
-
* Click to see all events available: ***
|
|
2688
|
+
* Click to see all events available: ***{@link JMap.Application.Event.Extension.on}***.
|
|
2689
2689
|
*/
|
|
2690
2690
|
namespace Extension {
|
|
2691
2691
|
/**
|
|
@@ -2774,7 +2774,7 @@ declare namespace JMap {
|
|
|
2774
2774
|
*
|
|
2775
2775
|
* Here you can manage all JMap Cloud NG high level event listeners.
|
|
2776
2776
|
*
|
|
2777
|
-
* Click to see all events available: ***
|
|
2777
|
+
* Click to see all events available: ***{@link JMap.Application.Event.Main.on}***.
|
|
2778
2778
|
*/
|
|
2779
2779
|
namespace UI {
|
|
2780
2780
|
/**
|
|
@@ -2886,7 +2886,7 @@ declare namespace JMap {
|
|
|
2886
2886
|
*
|
|
2887
2887
|
* Here you can manage all JMap Cloud NG map context event listeners.
|
|
2888
2888
|
*
|
|
2889
|
-
* Click to see all events available: ***
|
|
2889
|
+
* Click to see all events available: ***{@link JMap.Application.Event.MapContext.on}***.
|
|
2890
2890
|
*/
|
|
2891
2891
|
namespace MapContext {
|
|
2892
2892
|
/**
|
|
@@ -2995,7 +2995,7 @@ declare namespace JMap {
|
|
|
2995
2995
|
* **Displaying the action's label in the UI**
|
|
2996
2996
|
* The action's label will be translated by JMap Cloud NG translation engine if a JTranslationItem is passed,
|
|
2997
2997
|
* otherwise the simple string will be used.
|
|
2998
|
-
* (see See
|
|
2998
|
+
* (see See {@link JMap.Language.translate} and {@link JMap.Language.addBundle} for more details on translations)
|
|
2999
2999
|
*
|
|
3000
3000
|
* @param action : the action to add
|
|
3001
3001
|
* @param index : will insert at a specific index in the menu. Start at 0. If index is not correct insert at the end
|
|
@@ -3233,7 +3233,7 @@ declare namespace JMap {
|
|
|
3233
3233
|
*
|
|
3234
3234
|
* If overlay is already displaying a previous message, it will display only the new message and hide the previous message (until you close the new message).
|
|
3235
3235
|
*
|
|
3236
|
-
* Overlay is displayed all the time until you call the method
|
|
3236
|
+
* Overlay is displayed all the time until you call the method {@link JMap.Application.Message.closeWaitingOverlay}.
|
|
3237
3237
|
*
|
|
3238
3238
|
* This method is used to close one or more messages:
|
|
3239
3239
|
* - Called without params, it will close all messages
|