@antv/l7-core
Advanced tools
Comparing version 2.11.0 to 2.11.1
@@ -88,16 +88,16 @@ import _asyncToGenerator from "@babel/runtime/helpers/esm/asyncToGenerator"; | ||
console.warn('Image Id already exists'); | ||
} else { | ||
this.iconData.push({ | ||
id: id, | ||
size: imageSize | ||
}); | ||
} | ||
this.iconData.push({ | ||
id: id, | ||
size: imageSize | ||
}); | ||
this.updateIconMap(); | ||
_context.next = 7; | ||
this.updateIconMap(); // 先存储 ID, | ||
_context.next = 6; | ||
return this.loadImage(image); | ||
case 7: | ||
case 6: | ||
imagedata = _context.sent; | ||
// imagedata = this.loadImage(image) | ||
// imagedata = img as HTMLImageElement; | ||
iconImage = this.iconData.find(function (icon) { | ||
@@ -115,3 +115,3 @@ return icon.id === id; | ||
case 11: | ||
case 10: | ||
case "end": | ||
@@ -118,0 +118,0 @@ return _context.stop(); |
@@ -101,16 +101,16 @@ "use strict"; | ||
console.warn('Image Id already exists'); | ||
} else { | ||
this.iconData.push({ | ||
id: id, | ||
size: imageSize | ||
}); | ||
} | ||
this.iconData.push({ | ||
id: id, | ||
size: imageSize | ||
}); | ||
this.updateIconMap(); | ||
_context.next = 7; | ||
this.updateIconMap(); // 先存储 ID, | ||
_context.next = 6; | ||
return this.loadImage(image); | ||
case 7: | ||
case 6: | ||
imagedata = _context.sent; | ||
// imagedata = this.loadImage(image) | ||
// imagedata = img as HTMLImageElement; | ||
iconImage = this.iconData.find(function (icon) { | ||
@@ -128,3 +128,3 @@ return icon.id === id; | ||
case 11: | ||
case 10: | ||
case "end": | ||
@@ -131,0 +131,0 @@ return _context.stop(); |
{ | ||
"name": "@antv/l7-core", | ||
"version": "2.11.0", | ||
"version": "2.11.1", | ||
"description": "", | ||
@@ -28,3 +28,3 @@ "main": "lib/index.js", | ||
"@antv/async-hook": "^2.2.9", | ||
"@antv/l7-utils": "2.11.0", | ||
"@antv/l7-utils": "2.11.1", | ||
"@babel/runtime": "^7.7.7", | ||
@@ -52,3 +52,3 @@ "@turf/helpers": "^6.1.4", | ||
}, | ||
"gitHead": "ef67b8e74cb940ab6e150782d70b81678de4609d", | ||
"gitHead": "e86da32e1999fdc36668de531d16ab14bce56279", | ||
"publishConfig": { | ||
@@ -55,0 +55,0 @@ "access": "public" |
966889
19464
+ Added@antv/l7-utils@2.11.1(transitive)
- Removed@antv/l7-utils@2.11.0(transitive)
Updated@antv/l7-utils@2.11.1