@vcmap/core 5.0.0-rc.14 → 5.0.0-rc.15
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,7 +1,7 @@
|
|
|
1
1
|
import { Cartographic, Cartesian3, Math as CesiumMath } from '@vcmap/cesium';
|
|
2
2
|
import AbstractInteraction from './abstractInteraction.js';
|
|
3
3
|
import Projection, { mercatorProjection } from '../util/projection.js';
|
|
4
|
-
import { EventType, ModificationKeyType } from './interactionType.js';
|
|
4
|
+
import { EventType, ModificationKeyType, PointerKeyType } from './interactionType.js';
|
|
5
5
|
import { transformFromImage } from '../oblique/helpers.js';
|
|
6
6
|
|
|
7
7
|
/**
|
|
@@ -10,7 +10,7 @@ import { transformFromImage } from '../oblique/helpers.js';
|
|
|
10
10
|
*/
|
|
11
11
|
class CoordinateAtPixel extends AbstractInteraction {
|
|
12
12
|
constructor() {
|
|
13
|
-
super(EventType.ALL, ModificationKeyType.ALL);
|
|
13
|
+
super(EventType.ALL, ModificationKeyType.ALL, PointerKeyType.ALL);
|
|
14
14
|
/**
|
|
15
15
|
* @type {import("@vcmap/cesium").Cartographic}
|
|
16
16
|
* @private
|
|
@@ -2,7 +2,7 @@ import { Cartographic, Cartesian3, Math as CesiumMath, Cesium3DTileFeature, Cesi
|
|
|
2
2
|
|
|
3
3
|
import AbstractInteraction from './abstractInteraction.js';
|
|
4
4
|
import Projection from '../util/projection.js';
|
|
5
|
-
import { EventType, ModificationKeyType } from './interactionType.js';
|
|
5
|
+
import { EventType, ModificationKeyType, PointerKeyType } from './interactionType.js';
|
|
6
6
|
import { vcsLayerName } from '../layer/layerSymbols.js';
|
|
7
7
|
import { originalFeatureSymbol } from '../layer/vectorSymbols.js';
|
|
8
8
|
|
|
@@ -12,7 +12,7 @@ import { originalFeatureSymbol } from '../layer/vectorSymbols.js';
|
|
|
12
12
|
*/
|
|
13
13
|
class FeatureAtPixelInteraction extends AbstractInteraction {
|
|
14
14
|
constructor() {
|
|
15
|
-
super(EventType.ALL ^ EventType.MOVE, ModificationKeyType.ALL);
|
|
15
|
+
super(EventType.ALL ^ EventType.MOVE, ModificationKeyType.ALL, PointerKeyType.ALL);
|
|
16
16
|
/**
|
|
17
17
|
* @type {EventType|number}
|
|
18
18
|
* @private
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import AbstractInteraction from './abstractInteraction.js';
|
|
2
|
-
import { EventType, ModificationKeyType } from './interactionType.js';
|
|
2
|
+
import { EventType, ModificationKeyType, PointerKeyType } from './interactionType.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* @class
|
|
@@ -7,7 +7,7 @@ import { EventType, ModificationKeyType } from './interactionType.js';
|
|
|
7
7
|
*/
|
|
8
8
|
class FeatureProviderInteraction extends AbstractInteraction {
|
|
9
9
|
constructor() {
|
|
10
|
-
super(EventType.CLICK, ModificationKeyType.ALL);
|
|
10
|
+
super(EventType.CLICK, ModificationKeyType.ALL, PointerKeyType.ALL);
|
|
11
11
|
|
|
12
12
|
this.setActive();
|
|
13
13
|
}
|