@antv/l7-maps
Advanced tools
Comparing version 2.0.1 to 2.0.2
@@ -28,3 +28,3 @@ import _regeneratorRuntime from "@babel/runtime/regenerator"; | ||
var pendingResolveQueue = []; | ||
var LNGLAT_OFFSET_ZOOM_THRESHOLD = 20; | ||
var LNGLAT_OFFSET_ZOOM_THRESHOLD = 12; | ||
var AMapService = (_dec = injectable(), _dec2 = inject(TYPES.IGlobalConfigService), _dec3 = inject(TYPES.ILogService), _dec4 = inject(TYPES.MapConfig), _dec5 = inject(TYPES.ICoordinateSystemService), _dec6 = inject(TYPES.IEventEmitter), _dec(_class = (_class2 = (_temp = function () { | ||
@@ -31,0 +31,0 @@ function AMapService() { |
@@ -358,2 +358,6 @@ import _regeneratorRuntime from "@babel/runtime/regenerator"; | ||
value: function getMapStyle(name) { | ||
if (typeof name !== 'string') { | ||
return name; | ||
} | ||
return MapTheme[name] ? MapTheme[name] : name; | ||
@@ -360,0 +364,0 @@ } |
@@ -50,3 +50,3 @@ "use strict"; | ||
var pendingResolveQueue = []; | ||
var LNGLAT_OFFSET_ZOOM_THRESHOLD = 20; | ||
var LNGLAT_OFFSET_ZOOM_THRESHOLD = 12; | ||
var AMapService = (_dec = (0, _inversify.injectable)(), _dec2 = (0, _inversify.inject)(_l7Core.TYPES.IGlobalConfigService), _dec3 = (0, _inversify.inject)(_l7Core.TYPES.ILogService), _dec4 = (0, _inversify.inject)(_l7Core.TYPES.MapConfig), _dec5 = (0, _inversify.inject)(_l7Core.TYPES.ICoordinateSystemService), _dec6 = (0, _inversify.inject)(_l7Core.TYPES.IEventEmitter), _dec(_class = (_class2 = (_temp = function () { | ||
@@ -53,0 +53,0 @@ function AMapService() { |
@@ -374,2 +374,6 @@ "use strict"; | ||
value: function getMapStyle(name) { | ||
if (typeof name !== 'string') { | ||
return name; | ||
} | ||
return _theme.MapTheme[name] ? _theme.MapTheme[name] : name; | ||
@@ -376,0 +380,0 @@ } |
{ | ||
"name": "@antv/l7-maps", | ||
"version": "2.0.1", | ||
"version": "2.0.2", | ||
"description": "", | ||
@@ -26,3 +26,3 @@ "main": "lib/index.js", | ||
"dependencies": { | ||
"@antv/l7-core": "^2.0.1", | ||
"@antv/l7-core": "^2.0.2", | ||
"@antv/l7-utils": "^2.0.1", | ||
@@ -41,3 +41,3 @@ "@babel/runtime": "^7.7.7", | ||
}, | ||
"gitHead": "5a24eff0bcd2ae3983dac09331689fc712d73abc", | ||
"gitHead": "55dd52059e36d858cd94e64ecdf3fc9eaed95750", | ||
"publishConfig": { | ||
@@ -44,0 +44,0 @@ "access": "public" |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
219062
2489
Updated@antv/l7-core@^2.0.2