@antv/l7-map 2.7.12 → 2.7.18
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/earthmap.js +1 -1
- package/es/map.js +1 -1
- package/lib/earthmap.js +1 -1
- package/lib/map.js +1 -1
- package/package.json +3 -3
package/es/earthmap.js
CHANGED
|
@@ -15,7 +15,7 @@ import { DOM } from '@antv/l7-utils';
|
|
|
15
15
|
import Camera from './camera';
|
|
16
16
|
|
|
17
17
|
function loadStyles(css, doc) {
|
|
18
|
-
var isMiniAli = typeof my !== 'undefined' && !!my && typeof my.showToast === 'function';
|
|
18
|
+
var isMiniAli = typeof my !== 'undefined' && !!my && typeof my.showToast === 'function' && my.isFRM !== true;
|
|
19
19
|
var isWeChatMiniProgram = typeof wx !== 'undefined' && wx !== null && (typeof wx.request !== 'undefined' || typeof wx.miniProgram !== 'undefined');
|
|
20
20
|
|
|
21
21
|
if (isMiniAli || isWeChatMiniProgram) {
|
package/es/map.js
CHANGED
|
@@ -15,7 +15,7 @@ import { $window, DOM, isMini } from '@antv/l7-utils';
|
|
|
15
15
|
import Camera from './camera';
|
|
16
16
|
|
|
17
17
|
function loadStyles(css, doc) {
|
|
18
|
-
var isMiniAli = typeof my !== 'undefined' && !!my && typeof my.showToast === 'function';
|
|
18
|
+
var isMiniAli = typeof my !== 'undefined' && !!my && typeof my.showToast === 'function' && my.isFRM !== true;
|
|
19
19
|
var isWeChatMiniProgram = typeof wx !== 'undefined' && wx !== null && (typeof wx.request !== 'undefined' || typeof wx.miniProgram !== 'undefined');
|
|
20
20
|
|
|
21
21
|
if (isMiniAli || isWeChatMiniProgram) {
|
package/lib/earthmap.js
CHANGED
|
@@ -46,7 +46,7 @@ function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflec
|
|
|
46
46
|
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; } }
|
|
47
47
|
|
|
48
48
|
function loadStyles(css, doc) {
|
|
49
|
-
var isMiniAli = typeof my !== 'undefined' && !!my && typeof my.showToast === 'function';
|
|
49
|
+
var isMiniAli = typeof my !== 'undefined' && !!my && typeof my.showToast === 'function' && my.isFRM !== true;
|
|
50
50
|
var isWeChatMiniProgram = typeof wx !== 'undefined' && wx !== null && (typeof wx.request !== 'undefined' || typeof wx.miniProgram !== 'undefined');
|
|
51
51
|
|
|
52
52
|
if (isMiniAli || isWeChatMiniProgram) {
|
package/lib/map.js
CHANGED
|
@@ -48,7 +48,7 @@ function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflec
|
|
|
48
48
|
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; } }
|
|
49
49
|
|
|
50
50
|
function loadStyles(css, doc) {
|
|
51
|
-
var isMiniAli = typeof my !== 'undefined' && !!my && typeof my.showToast === 'function';
|
|
51
|
+
var isMiniAli = typeof my !== 'undefined' && !!my && typeof my.showToast === 'function' && my.isFRM !== true;
|
|
52
52
|
var isWeChatMiniProgram = typeof wx !== 'undefined' && wx !== null && (typeof wx.request !== 'undefined' || typeof wx.miniProgram !== 'undefined');
|
|
53
53
|
|
|
54
54
|
if (isMiniAli || isWeChatMiniProgram) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@antv/l7-map",
|
|
3
|
-
"version": "2.7.
|
|
3
|
+
"version": "2.7.18",
|
|
4
4
|
"description": "l7 map",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"author": "thinkinggis <lzx199065@gmail.com>",
|
|
@@ -37,12 +37,12 @@
|
|
|
37
37
|
},
|
|
38
38
|
"homepage": "https://github.com/antvis/L7#readme",
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@antv/l7-utils": "^2.7.
|
|
40
|
+
"@antv/l7-utils": "^2.7.18",
|
|
41
41
|
"@babel/runtime": "^7.7.7",
|
|
42
42
|
"@mapbox/point-geometry": "^0.1.0",
|
|
43
43
|
"@mapbox/unitbezier": "^0.0.0",
|
|
44
44
|
"eventemitter3": "^4.0.4",
|
|
45
45
|
"lodash": "^4.17.15"
|
|
46
46
|
},
|
|
47
|
-
"gitHead": "
|
|
47
|
+
"gitHead": "143516dafcdc346004695916b7dac675b03ff507"
|
|
48
48
|
}
|