@antv/l7-component 2.21.9 → 2.21.11-beta.0

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/es/marker.js CHANGED
@@ -433,7 +433,7 @@ export default class Marker extends EventEmitter {
433
433
  element.removeEventListener('touchend', this.eventHandle);
434
434
  }
435
435
  polyfillEvent(e) {
436
- if (!this.mapsService || this.mapsService.version !== 'GAODE2.x') {
436
+ if (!this.mapsService || this.mapsService.getType() !== 'amap') {
437
437
  return;
438
438
  }
439
439
  if (!isPC()) {
package/lib/marker.js CHANGED
@@ -439,7 +439,7 @@ class Marker extends _eventemitter.EventEmitter {
439
439
  element.removeEventListener('touchend', this.eventHandle);
440
440
  }
441
441
  polyfillEvent(e) {
442
- if (!this.mapsService || this.mapsService.version !== 'GAODE2.x') {
442
+ if (!this.mapsService || this.mapsService.getType() !== 'amap') {
443
443
  return;
444
444
  }
445
445
  if (!(0, _l7Utils.isPC)()) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@antv/l7-component",
3
- "version": "2.21.9",
3
+ "version": "2.21.11-beta.0",
4
4
  "description": "Component for L7",
5
5
  "license": "MIT",
6
6
  "author": "https://github.com/orgs/antvis/people",
@@ -16,13 +16,13 @@
16
16
  "@babel/runtime": "^7.7.7",
17
17
  "eventemitter3": "^4.0.0",
18
18
  "supercluster": "^7.0.0",
19
- "@antv/l7-core": "2.21.9",
20
- "@antv/l7-layers": "2.21.9",
21
- "@antv/l7-utils": "2.21.9"
19
+ "@antv/l7-core": "2.21.11-beta.0",
20
+ "@antv/l7-layers": "2.21.11-beta.0",
21
+ "@antv/l7-utils": "2.21.11-beta.0"
22
22
  },
23
23
  "devDependencies": {
24
24
  "less": "^4.1.3",
25
- "@antv/l7-test-utils": "^2.21.9"
25
+ "@antv/l7-test-utils": "^2.21.11-beta.0"
26
26
  },
27
27
  "publishConfig": {
28
28
  "access": "public",