@antv/l7-component 2.15.3 → 2.15.4

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
@@ -9,7 +9,7 @@ import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
9
9
  function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
10
10
  function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
11
11
  import { TYPES } from '@antv/l7-core';
12
- import { anchorTranslate, anchorType, applyAnchorClass, bindAll, DOM, isiOS, isPC } from '@antv/l7-utils';
12
+ import { anchorTranslate, anchorType, applyAnchorClass, bindAll, DOM, isPC } from '@antv/l7-utils';
13
13
  import { EventEmitter } from 'eventemitter3';
14
14
  // marker 支持 dragger 未完成
15
15
  var Marker = /*#__PURE__*/function (_EventEmitter) {
@@ -371,7 +371,7 @@ var Marker = /*#__PURE__*/function (_EventEmitter) {
371
371
  if (!this.mapsService || this.mapsService.version !== 'GAODE2.x') {
372
372
  return;
373
373
  }
374
- if (!isPC() && isiOS) {
374
+ if (!isPC()) {
375
375
  if (e.type === 'touchstart') {
376
376
  this.touchStartTime = Date.now();
377
377
  }
package/lib/marker.js CHANGED
@@ -378,7 +378,7 @@ var Marker = /*#__PURE__*/function (_EventEmitter) {
378
378
  if (!this.mapsService || this.mapsService.version !== 'GAODE2.x') {
379
379
  return;
380
380
  }
381
- if (!(0, _l7Utils.isPC)() && _l7Utils.isiOS) {
381
+ if (!(0, _l7Utils.isPC)()) {
382
382
  if (e.type === 'touchstart') {
383
383
  this.touchStartTime = Date.now();
384
384
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@antv/l7-component",
3
- "version": "2.15.3",
3
+ "version": "2.15.4",
4
4
  "description": "",
5
5
  "main": "lib/index.js",
6
6
  "module": "es/index.js",
@@ -26,8 +26,8 @@
26
26
  "author": "lzxue",
27
27
  "license": "ISC",
28
28
  "dependencies": {
29
- "@antv/l7-core": "2.15.3",
30
- "@antv/l7-utils": "2.15.3",
29
+ "@antv/l7-core": "2.15.4",
30
+ "@antv/l7-utils": "2.15.4",
31
31
  "@babel/runtime": "^7.7.7",
32
32
  "eventemitter3": "^4.0.0",
33
33
  "inversify": "^5.0.1",
@@ -36,12 +36,12 @@
36
36
  "supercluster": "^7.0.0"
37
37
  },
38
38
  "devDependencies": {
39
- "@antv/l7-layers": "2.15.3",
40
- "@antv/l7-test-utils": "2.15.3",
39
+ "@antv/l7-layers": "2.15.4",
40
+ "@antv/l7-test-utils": "2.15.4",
41
41
  "gcoord": "^0.3.2",
42
42
  "less": "^4.1.3"
43
43
  },
44
- "gitHead": "615a788e45363d5f811d318e02e5959a1583a4cf",
44
+ "gitHead": "ab8429be57c8950a65493e33eb2fa9b38b2a125f",
45
45
  "publishConfig": {
46
46
  "access": "public"
47
47
  }