New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@antv/l7-layers

Package Overview
Dependencies
Maintainers
40
Versions
540
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@antv/l7-layers - npm Package Compare versions

Comparing version 2.5.1 to 2.5.2

6

es/citybuliding/building.js
import _classCallCheck from "@babel/runtime/helpers/classCallCheck";
import _createClass from "@babel/runtime/helpers/createClass";
import _assertThisInitialized from "@babel/runtime/helpers/assertThisInitialized";
import _inherits from "@babel/runtime/helpers/inherits";
import _possibleConstructorReturn from "@babel/runtime/helpers/possibleConstructorReturn";
import _getPrototypeOf from "@babel/runtime/helpers/getPrototypeOf";
import _defineProperty from "@babel/runtime/helpers/defineProperty";

@@ -29,3 +31,5 @@ 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); }; }

_this = _super.call.apply(_super, [this].concat(args));
_this.type = 'PolygonLayer';
_defineProperty(_assertThisInitialized(_this), "type", 'PolygonLayer');
return _this;

@@ -32,0 +36,0 @@ }

162

es/core/BaseLayer.js
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
import _defineProperty from "@babel/runtime/helpers/defineProperty";
import _initializerDefineProperty from "@babel/runtime/helpers/initializerDefineProperty";

@@ -10,2 +9,3 @@ import _classCallCheck from "@babel/runtime/helpers/classCallCheck";

import _getPrototypeOf from "@babel/runtime/helpers/getPrototypeOf";
import _defineProperty from "@babel/runtime/helpers/defineProperty";
import _applyDecoratedDescriptor from "@babel/runtime/helpers/applyDecoratedDescriptor";

@@ -15,6 +15,8 @@ import _initializerWarningHelper from "@babel/runtime/helpers/initializerWarningHelper";

import _isFunction from "lodash/isFunction";
var _excluded = ["passes"],
_excluded2 = ["moduleName", "vertexShader", "fragmentShader", "triangulation"];
var _dec, _dec2, _dec3, _class, _descriptor, _descriptor2, _descriptor3, _temp;
var _dec, _dec2, _dec3, _class, _descriptor, _descriptor2, _descriptor3;
function _createForOfIteratorHelper(o, allowArrayLike) { var it; if (typeof Symbol === "undefined" || o[Symbol.iterator] == null) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = o[Symbol.iterator](); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it.return != null) it.return(); } finally { if (didErr) throw err; } } }; }
function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it.return != null) it.return(); } finally { if (didErr) throw err; } } }; }

@@ -25,3 +27,3 @@ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }

function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }

@@ -44,3 +46,3 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }

var layerIdCounter = 0;
var BaseLayer = (_dec = lazyInject(TYPES.ILogService), _dec2 = lazyInject(TYPES.IGlobalConfigService), _dec3 = lazyInject(TYPES.IShaderModuleService), (_class = (_temp = function (_EventEmitter) {
var BaseLayer = (_dec = lazyInject(TYPES.ILogService), _dec2 = lazyInject(TYPES.IGlobalConfigService), _dec3 = lazyInject(TYPES.IShaderModuleService), (_class = function (_EventEmitter) {
_inherits(BaseLayer, _EventEmitter);

@@ -58,15 +60,28 @@

_this = _super.call(this);
_this.id = "".concat(layerIdCounter++);
_this.name = "".concat(layerIdCounter);
_this.type = void 0;
_this.visible = true;
_this.zIndex = 0;
_this.minZoom = void 0;
_this.maxZoom = void 0;
_this.inited = false;
_this.layerModelNeedUpdate = false;
_this.pickedFeatureID = null;
_this.selectedFeatureID = null;
_this.styleNeedUpdate = false;
_this.dataState = {
_defineProperty(_assertThisInitialized(_this), "id", "".concat(layerIdCounter++));
_defineProperty(_assertThisInitialized(_this), "name", "".concat(layerIdCounter));
_defineProperty(_assertThisInitialized(_this), "type", void 0);
_defineProperty(_assertThisInitialized(_this), "visible", true);
_defineProperty(_assertThisInitialized(_this), "zIndex", 0);
_defineProperty(_assertThisInitialized(_this), "minZoom", void 0);
_defineProperty(_assertThisInitialized(_this), "maxZoom", void 0);
_defineProperty(_assertThisInitialized(_this), "inited", false);
_defineProperty(_assertThisInitialized(_this), "layerModelNeedUpdate", false);
_defineProperty(_assertThisInitialized(_this), "pickedFeatureID", null);
_defineProperty(_assertThisInitialized(_this), "selectedFeatureID", null);
_defineProperty(_assertThisInitialized(_this), "styleNeedUpdate", false);
_defineProperty(_assertThisInitialized(_this), "dataState", {
dataSourceNeedUpdate: false,

@@ -77,4 +92,5 @@ dataMappingNeedUpdate: false,

StyleAttrNeedUpdate: false
};
_this.hooks = {
});
_defineProperty(_assertThisInitialized(_this), "hooks", {
init: new SyncBailHook(),

@@ -93,43 +109,71 @@ afterInit: new SyncBailHook(),

afterDestroy: new SyncHook()
};
_this.models = [];
_this.multiPassRenderer = void 0;
_this.plugins = void 0;
_this.sourceOption = void 0;
_this.layerModel = void 0;
});
_initializerDefineProperty(_this, "logger", _descriptor, _assertThisInitialized(_this));
_defineProperty(_assertThisInitialized(_this), "models", []);
_initializerDefineProperty(_this, "configService", _descriptor2, _assertThisInitialized(_this));
_defineProperty(_assertThisInitialized(_this), "multiPassRenderer", void 0);
_initializerDefineProperty(_this, "shaderModuleService", _descriptor3, _assertThisInitialized(_this));
_defineProperty(_assertThisInitialized(_this), "plugins", void 0);
_this.cameraService = void 0;
_this.coordinateService = void 0;
_this.iconService = void 0;
_this.fontService = void 0;
_this.pickingService = void 0;
_this.rendererService = void 0;
_this.layerService = void 0;
_this.interactionService = void 0;
_this.mapService = void 0;
_this.styleAttributeService = void 0;
_this.layerSource = void 0;
_this.postProcessingPassFactory = void 0;
_this.normalPassFactory = void 0;
_this.animateOptions = {
_defineProperty(_assertThisInitialized(_this), "sourceOption", void 0);
_defineProperty(_assertThisInitialized(_this), "layerModel", void 0);
_initializerDefineProperty(_assertThisInitialized(_this), "logger", _descriptor, _assertThisInitialized(_this));
_initializerDefineProperty(_assertThisInitialized(_this), "configService", _descriptor2, _assertThisInitialized(_this));
_initializerDefineProperty(_assertThisInitialized(_this), "shaderModuleService", _descriptor3, _assertThisInitialized(_this));
_defineProperty(_assertThisInitialized(_this), "cameraService", void 0);
_defineProperty(_assertThisInitialized(_this), "coordinateService", void 0);
_defineProperty(_assertThisInitialized(_this), "iconService", void 0);
_defineProperty(_assertThisInitialized(_this), "fontService", void 0);
_defineProperty(_assertThisInitialized(_this), "pickingService", void 0);
_defineProperty(_assertThisInitialized(_this), "rendererService", void 0);
_defineProperty(_assertThisInitialized(_this), "layerService", void 0);
_defineProperty(_assertThisInitialized(_this), "interactionService", void 0);
_defineProperty(_assertThisInitialized(_this), "mapService", void 0);
_defineProperty(_assertThisInitialized(_this), "styleAttributeService", void 0);
_defineProperty(_assertThisInitialized(_this), "layerSource", void 0);
_defineProperty(_assertThisInitialized(_this), "postProcessingPassFactory", void 0);
_defineProperty(_assertThisInitialized(_this), "normalPassFactory", void 0);
_defineProperty(_assertThisInitialized(_this), "animateOptions", {
enable: false
};
_this.container = void 0;
_this.encodedData = void 0;
_this.configSchema = void 0;
_this.currentPickId = null;
_this.rawConfig = void 0;
_this.needUpdateConfig = void 0;
_this.pendingStyleAttributes = [];
_this.scaleOptions = {};
_this.animateStartTime = void 0;
_this.aniamateStatus = false;
});
_this.sourceEvent = function () {
_defineProperty(_assertThisInitialized(_this), "container", void 0);
_defineProperty(_assertThisInitialized(_this), "encodedData", void 0);
_defineProperty(_assertThisInitialized(_this), "configSchema", void 0);
_defineProperty(_assertThisInitialized(_this), "currentPickId", null);
_defineProperty(_assertThisInitialized(_this), "rawConfig", void 0);
_defineProperty(_assertThisInitialized(_this), "needUpdateConfig", void 0);
_defineProperty(_assertThisInitialized(_this), "pendingStyleAttributes", []);
_defineProperty(_assertThisInitialized(_this), "scaleOptions", {});
_defineProperty(_assertThisInitialized(_this), "animateStartTime", void 0);
_defineProperty(_assertThisInitialized(_this), "aniamateStatus", false);
_defineProperty(_assertThisInitialized(_this), "sourceEvent", function () {
_this.dataState.dataSourceNeedUpdate = true;

@@ -148,3 +192,3 @@

_this.reRender();
};
});

@@ -370,3 +414,3 @@ _this.name = config.name || _this.id;

var passes = options.passes,
rest = _objectWithoutProperties(options, ["passes"]);
rest = _objectWithoutProperties(options, _excluded);

@@ -761,3 +805,3 @@ if (passes) {

triangulation = options.triangulation,
rest = _objectWithoutProperties(options, ["moduleName", "vertexShader", "fragmentShader", "triangulation"]);
rest = _objectWithoutProperties(options, _excluded2);

@@ -917,3 +961,3 @@ this.shaderModuleService.registerModule(moduleName, {

return BaseLayer;
}(EventEmitter), _temp), (_descriptor = _applyDecoratedDescriptor(_class.prototype, "logger", [_dec], {
}(EventEmitter), (_descriptor = _applyDecoratedDescriptor(_class.prototype, "logger", [_dec], {
configurable: true,

@@ -920,0 +964,0 @@ enumerable: true,

@@ -5,2 +5,3 @@ import _toConsumableArray from "@babel/runtime/helpers/toConsumableArray";

import _createClass from "@babel/runtime/helpers/createClass";
import _defineProperty from "@babel/runtime/helpers/defineProperty";
import _applyDecoratedDescriptor from "@babel/runtime/helpers/applyDecoratedDescriptor";

@@ -13,5 +14,5 @@ import _initializerWarningHelper from "@babel/runtime/helpers/initializerWarningHelper";

var _dec, _dec2, _class, _descriptor, _descriptor2, _temp;
var _dec, _dec2, _class, _descriptor, _descriptor2;
function _createForOfIteratorHelper(o, allowArrayLike) { var it; if (typeof Symbol === "undefined" || o[Symbol.iterator] == null) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = o[Symbol.iterator](); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it.return != null) it.return(); } finally { if (didErr) throw err; } } }; }
function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it.return != null) it.return(); } finally { if (didErr) throw err; } } }; }

@@ -22,23 +23,34 @@ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }

import { BlendType, lazyInject, TYPES } from '@antv/l7-core';
import { BlendType, gl, lazyInject, TYPES } from '@antv/l7-core';
import { rgb2arr } from '@antv/l7-utils';
import { color } from 'd3-color';
import { BlendTypes } from '../utils/blend';
var BaseModel = (_dec = lazyInject(TYPES.IGlobalConfigService), _dec2 = lazyInject(TYPES.IShaderModuleService), (_class = (_temp = function () {
var BaseModel = (_dec = lazyInject(TYPES.IGlobalConfigService), _dec2 = lazyInject(TYPES.IShaderModuleService), (_class = function () {
function BaseModel(layer) {
_classCallCheck(this, BaseModel);
this.triangulation = void 0;
this.createTexture2D = void 0;
this.layer = void 0;
this.dataTexture = void 0;
this.DATA_TEXTURE_WIDTH = void 0;
this.rowCount = void 0;
this.cacheStyleProperties = void 0;
this.cellLength = void 0;
this.cellProperties = void 0;
this.cellTypeLayout = void 0;
this.stylePropertyesExist = void 0;
this.dataTextureTest = void 0;
_defineProperty(this, "triangulation", void 0);
_defineProperty(this, "createTexture2D", void 0);
_defineProperty(this, "layer", void 0);
_defineProperty(this, "dataTexture", void 0);
_defineProperty(this, "DATA_TEXTURE_WIDTH", void 0);
_defineProperty(this, "rowCount", void 0);
_defineProperty(this, "cacheStyleProperties", void 0);
_defineProperty(this, "cellLength", void 0);
_defineProperty(this, "cellProperties", void 0);
_defineProperty(this, "cellTypeLayout", void 0);
_defineProperty(this, "stylePropertyesExist", void 0);
_defineProperty(this, "dataTextureTest", void 0);
_initializerDefineProperty(this, "configService", _descriptor, this);

@@ -48,9 +60,16 @@

this.rendererService = void 0;
this.iconService = void 0;
this.fontService = void 0;
this.styleAttributeService = void 0;
this.mapService = void 0;
this.cameraService = void 0;
this.layerService = void 0;
_defineProperty(this, "rendererService", void 0);
_defineProperty(this, "iconService", void 0);
_defineProperty(this, "fontService", void 0);
_defineProperty(this, "styleAttributeService", void 0);
_defineProperty(this, "mapService", void 0);
_defineProperty(this, "cameraService", void 0);
_defineProperty(this, "layerService", void 0);
this.layer = layer;

@@ -87,2 +106,9 @@ this.rendererService = layer.getContainer().get(TYPES.IRendererService);

this.dataTextureTest = this.layerService.getOESTextureFloat();
this.dataTexture = this.createTexture2D({
data: new ImageData(1, 1).data,
mag: gl.NEAREST,
min: gl.NEAREST,
width: 1,
height: 1
});
}

@@ -107,5 +133,5 @@

if (this.dataTextureTest) {
return [this.rowCount, this.DATA_TEXTURE_WIDTH, 0.0, 0.0, this.stylePropertyesExist.hasOpacity, this.stylePropertyesExist.hasStrokeOpacity, this.stylePropertyesExist.hasStrokeWidth, this.stylePropertyesExist.hasStroke, this.stylePropertyesExist.hasOffsets, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0];
return [this.rowCount, this.DATA_TEXTURE_WIDTH, 0.0, 0.0, this.stylePropertyesExist.hasOpacity, this.stylePropertyesExist.hasStrokeOpacity, this.stylePropertyesExist.hasStrokeWidth, this.stylePropertyesExist.hasStroke, this.stylePropertyesExist.hasOffsets, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1.0];
} else {
return [1.0, 1.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0];
return [1.0, 1.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -1.0];
}

@@ -377,3 +403,3 @@ }

return BaseModel;
}(), _temp), (_descriptor = _applyDecoratedDescriptor(_class.prototype, "configService", [_dec], {
}(), (_descriptor = _applyDecoratedDescriptor(_class.prototype, "configService", [_dec], {
configurable: true,

@@ -380,0 +406,0 @@ enumerable: true,

import _classCallCheck from "@babel/runtime/helpers/classCallCheck";
import _createClass from "@babel/runtime/helpers/createClass";
import _assertThisInitialized from "@babel/runtime/helpers/assertThisInitialized";
import _inherits from "@babel/runtime/helpers/inherits";
import _possibleConstructorReturn from "@babel/runtime/helpers/possibleConstructorReturn";
import _getPrototypeOf from "@babel/runtime/helpers/getPrototypeOf";
import _defineProperty from "@babel/runtime/helpers/defineProperty";

@@ -29,3 +31,5 @@ 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); }; }

_this = _super.call.apply(_super, [this].concat(args));
_this.type = 'HeatMapLayer';
_defineProperty(_assertThisInitialized(_this), "type", 'HeatMapLayer');
return _this;

@@ -32,0 +36,0 @@ }

import _toConsumableArray from "@babel/runtime/helpers/toConsumableArray";
import _defineProperty from "@babel/runtime/helpers/defineProperty";
import _classCallCheck from "@babel/runtime/helpers/classCallCheck";
import _createClass from "@babel/runtime/helpers/createClass";
import _assertThisInitialized from "@babel/runtime/helpers/assertThisInitialized";
import _inherits from "@babel/runtime/helpers/inherits";
import _possibleConstructorReturn from "@babel/runtime/helpers/possibleConstructorReturn";
import _getPrototypeOf from "@babel/runtime/helpers/getPrototypeOf";
import _defineProperty from "@babel/runtime/helpers/defineProperty";
var _dec, _class, _temp;
var _dec, _class;
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }

@@ -32,3 +33,3 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }

import { heatMap3DTriangulation } from '../triangulation';
var HeatMapModel = (_dec = injectable(), _dec(_class = (_temp = function (_BaseModel) {
var HeatMapModel = (_dec = injectable(), _dec(_class = function (_BaseModel) {
_inherits(HeatMapModel, _BaseModel);

@@ -48,8 +49,15 @@

_this = _super.call.apply(_super, [this].concat(args));
_this.texture = void 0;
_this.colorTexture = void 0;
_this.heatmapFramerBuffer = void 0;
_this.intensityModel = void 0;
_this.colorModel = void 0;
_this.shapeType = void 0;
_defineProperty(_assertThisInitialized(_this), "texture", void 0);
_defineProperty(_assertThisInitialized(_this), "colorTexture", void 0);
_defineProperty(_assertThisInitialized(_this), "heatmapFramerBuffer", void 0);
_defineProperty(_assertThisInitialized(_this), "intensityModel", void 0);
_defineProperty(_assertThisInitialized(_this), "colorModel", void 0);
_defineProperty(_assertThisInitialized(_this), "shapeType", void 0);
return _this;

@@ -390,4 +398,4 @@ }

return HeatMapModel;
}(BaseModel), _temp)) || _class);
}(BaseModel)) || _class);
export { HeatMapModel as default };
//# sourceMappingURL=heatmap.js.map
import _classCallCheck from "@babel/runtime/helpers/classCallCheck";
import _createClass from "@babel/runtime/helpers/createClass";
import _assertThisInitialized from "@babel/runtime/helpers/assertThisInitialized";
import _inherits from "@babel/runtime/helpers/inherits";
import _possibleConstructorReturn from "@babel/runtime/helpers/possibleConstructorReturn";
import _getPrototypeOf from "@babel/runtime/helpers/getPrototypeOf";
import _defineProperty from "@babel/runtime/helpers/defineProperty";

@@ -29,3 +31,5 @@ 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); }; }

_this = _super.call.apply(_super, [this].concat(args));
_this.type = 'ImageLayer';
_defineProperty(_assertThisInitialized(_this), "type", 'ImageLayer');
return _this;

@@ -32,0 +36,0 @@ }

import _classCallCheck from "@babel/runtime/helpers/classCallCheck";
import _createClass from "@babel/runtime/helpers/createClass";
import _assertThisInitialized from "@babel/runtime/helpers/assertThisInitialized";
import _inherits from "@babel/runtime/helpers/inherits";
import _possibleConstructorReturn from "@babel/runtime/helpers/possibleConstructorReturn";
import _getPrototypeOf from "@babel/runtime/helpers/getPrototypeOf";
import _defineProperty from "@babel/runtime/helpers/defineProperty";

@@ -32,3 +34,5 @@ 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); }; }

_this = _super.call.apply(_super, [this].concat(args));
_this.texture = void 0;
_defineProperty(_assertThisInitialized(_this), "texture", void 0);
return _this;

@@ -35,0 +39,0 @@ }

import _classCallCheck from "@babel/runtime/helpers/classCallCheck";
import _createClass from "@babel/runtime/helpers/createClass";
import _assertThisInitialized from "@babel/runtime/helpers/assertThisInitialized";
import _inherits from "@babel/runtime/helpers/inherits";
import _possibleConstructorReturn from "@babel/runtime/helpers/possibleConstructorReturn";
import _getPrototypeOf from "@babel/runtime/helpers/getPrototypeOf";
import _defineProperty from "@babel/runtime/helpers/defineProperty";

@@ -29,3 +31,5 @@ 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); }; }

_this = _super.call.apply(_super, [this].concat(args));
_this.type = 'LineLayer';
_defineProperty(_assertThisInitialized(_this), "type", 'LineLayer');
return _this;

@@ -32,0 +36,0 @@ }

import _classCallCheck from "@babel/runtime/helpers/classCallCheck";
import _createClass from "@babel/runtime/helpers/createClass";
import _assertThisInitialized from "@babel/runtime/helpers/assertThisInitialized";
import _inherits from "@babel/runtime/helpers/inherits";
import _possibleConstructorReturn from "@babel/runtime/helpers/possibleConstructorReturn";
import _getPrototypeOf from "@babel/runtime/helpers/getPrototypeOf";
import _defineProperty from "@babel/runtime/helpers/defineProperty";
import _isNumber from "lodash/isNumber";

@@ -38,5 +40,6 @@

_this = _super.call.apply(_super, [this].concat(args));
_this.texture = void 0;
_this.updateTexture = function () {
_defineProperty(_assertThisInitialized(_this), "texture", void 0);
_defineProperty(_assertThisInitialized(_this), "updateTexture", function () {
var createTexture2D = _this.rendererService.createTexture2D;

@@ -62,3 +65,3 @@

});
};
});

@@ -65,0 +68,0 @@ return _this;

import _classCallCheck from "@babel/runtime/helpers/classCallCheck";
import _createClass from "@babel/runtime/helpers/createClass";
import _assertThisInitialized from "@babel/runtime/helpers/assertThisInitialized";
import _inherits from "@babel/runtime/helpers/inherits";
import _possibleConstructorReturn from "@babel/runtime/helpers/possibleConstructorReturn";
import _getPrototypeOf from "@babel/runtime/helpers/getPrototypeOf";
import _defineProperty from "@babel/runtime/helpers/defineProperty";
import _isNumber from "lodash/isNumber";

@@ -38,5 +40,6 @@

_this = _super.call.apply(_super, [this].concat(args));
_this.texture = void 0;
_this.updateTexture = function () {
_defineProperty(_assertThisInitialized(_this), "texture", void 0);
_defineProperty(_assertThisInitialized(_this), "updateTexture", function () {
var createTexture2D = _this.rendererService.createTexture2D;

@@ -62,3 +65,3 @@

});
};
});

@@ -65,0 +68,0 @@ return _this;

import _classCallCheck from "@babel/runtime/helpers/classCallCheck";
import _createClass from "@babel/runtime/helpers/createClass";
import _assertThisInitialized from "@babel/runtime/helpers/assertThisInitialized";
import _inherits from "@babel/runtime/helpers/inherits";
import _possibleConstructorReturn from "@babel/runtime/helpers/possibleConstructorReturn";
import _getPrototypeOf from "@babel/runtime/helpers/getPrototypeOf";
import _defineProperty from "@babel/runtime/helpers/defineProperty";
import _isNumber from "lodash/isNumber";

@@ -38,5 +40,6 @@

_this = _super.call.apply(_super, [this].concat(args));
_this.texture = void 0;
_this.updateTexture = function () {
_defineProperty(_assertThisInitialized(_this), "texture", void 0);
_defineProperty(_assertThisInitialized(_this), "updateTexture", function () {
var createTexture2D = _this.rendererService.createTexture2D;

@@ -62,3 +65,3 @@

});
};
});

@@ -65,0 +68,0 @@ return _this;

import _classCallCheck from "@babel/runtime/helpers/classCallCheck";
import _createClass from "@babel/runtime/helpers/createClass";
import _assertThisInitialized from "@babel/runtime/helpers/assertThisInitialized";
import _inherits from "@babel/runtime/helpers/inherits";
import _possibleConstructorReturn from "@babel/runtime/helpers/possibleConstructorReturn";
import _getPrototypeOf from "@babel/runtime/helpers/getPrototypeOf";
import _defineProperty from "@babel/runtime/helpers/defineProperty";
import _isNumber from "lodash/isNumber";

@@ -38,5 +40,6 @@

_this = _super.call.apply(_super, [this].concat(args));
_this.texture = void 0;
_this.updateTexture = function () {
_defineProperty(_assertThisInitialized(_this), "texture", void 0);
_defineProperty(_assertThisInitialized(_this), "updateTexture", function () {
var createTexture2D = _this.rendererService.createTexture2D;

@@ -62,3 +65,3 @@

});
};
});

@@ -65,0 +68,0 @@ return _this;

@@ -1,5 +0,5 @@

import _defineProperty from "@babel/runtime/helpers/defineProperty";
import _initializerDefineProperty from "@babel/runtime/helpers/initializerDefineProperty";
import _classCallCheck from "@babel/runtime/helpers/classCallCheck";
import _createClass from "@babel/runtime/helpers/createClass";
import _defineProperty from "@babel/runtime/helpers/defineProperty";
import _applyDecoratedDescriptor from "@babel/runtime/helpers/applyDecoratedDescriptor";

@@ -9,5 +9,5 @@ import _initializerWarningHelper from "@babel/runtime/helpers/initializerWarningHelper";

var _dec, _dec2, _dec3, _dec4, _dec5, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4, _temp;
var _dec, _dec2, _dec3, _dec4, _dec5, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4;
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }

@@ -19,3 +19,3 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }

import { inject, injectable } from 'inversify';
var DataMappingPlugin = (_dec = injectable(), _dec2 = inject(TYPES.IGlobalConfigService), _dec3 = inject(TYPES.ILogService), _dec4 = inject(TYPES.IMapService), _dec5 = inject(TYPES.IFontService), _dec(_class = (_class2 = (_temp = function () {
var DataMappingPlugin = (_dec = injectable(), _dec2 = inject(TYPES.IGlobalConfigService), _dec3 = inject(TYPES.ILogService), _dec4 = inject(TYPES.IMapService), _dec5 = inject(TYPES.IFontService), _dec(_class = (_class2 = function () {
function DataMappingPlugin() {

@@ -183,3 +183,3 @@ _classCallCheck(this, DataMappingPlugin);

return DataMappingPlugin;
}(), _temp), (_descriptor = _applyDecoratedDescriptor(_class2.prototype, "configService", [_dec2], {
}(), (_descriptor = _applyDecoratedDescriptor(_class2.prototype, "configService", [_dec2], {
configurable: true,

@@ -186,0 +186,0 @@ enumerable: true,

import _classCallCheck from "@babel/runtime/helpers/classCallCheck";
import _createClass from "@babel/runtime/helpers/createClass";
import _defineProperty from "@babel/runtime/helpers/defineProperty";
var _dec, _class, _temp;
var _dec, _class;

@@ -9,7 +10,7 @@ import { TYPES } from '@antv/l7-core';

import { injectable } from 'inversify';
var DataSourcePlugin = (_dec = injectable(), _dec(_class = (_temp = function () {
var DataSourcePlugin = (_dec = injectable(), _dec(_class = function () {
function DataSourcePlugin() {
_classCallCheck(this, DataSourcePlugin);
this.mapService = void 0;
_defineProperty(this, "mapService", void 0);
}

@@ -66,4 +67,4 @@

return DataSourcePlugin;
}(), _temp)) || _class);
}()) || _class);
export { DataSourcePlugin as default };
//# sourceMappingURL=DataSourcePlugin.js.map

@@ -11,3 +11,3 @@ import _initializerDefineProperty from "@babel/runtime/helpers/initializerDefineProperty";

var _scaleMap, _dec, _dec2, _dec3, _class, _class2, _descriptor, _descriptor2, _temp;
var _scaleMap, _dec, _dec2, _dec3, _class, _class2, _descriptor, _descriptor2;

@@ -20,3 +20,3 @@ import { ScaleTypes, StyleScaleType, TYPES } from '@antv/l7-core';

var scaleMap = (_scaleMap = {}, _defineProperty(_scaleMap, ScaleTypes.LINEAR, d3.scaleLinear), _defineProperty(_scaleMap, ScaleTypes.POWER, d3.scalePow), _defineProperty(_scaleMap, ScaleTypes.LOG, d3.scaleLog), _defineProperty(_scaleMap, ScaleTypes.IDENTITY, d3.scaleIdentity), _defineProperty(_scaleMap, ScaleTypes.TIME, d3.scaleTime), _defineProperty(_scaleMap, ScaleTypes.QUANTILE, d3.scaleQuantile), _defineProperty(_scaleMap, ScaleTypes.QUANTIZE, d3.scaleQuantize), _defineProperty(_scaleMap, ScaleTypes.THRESHOLD, d3.scaleThreshold), _defineProperty(_scaleMap, ScaleTypes.CAT, d3.scaleOrdinal), _scaleMap);
var FeatureScalePlugin = (_dec = injectable(), _dec2 = inject(TYPES.IGlobalConfigService), _dec3 = inject(TYPES.ILogService), _dec(_class = (_class2 = (_temp = function () {
var FeatureScalePlugin = (_dec = injectable(), _dec2 = inject(TYPES.IGlobalConfigService), _dec3 = inject(TYPES.ILogService), _dec(_class = (_class2 = function () {
function FeatureScalePlugin() {

@@ -29,4 +29,5 @@ _classCallCheck(this, FeatureScalePlugin);

this.scaleCache = {};
this.scaleOptions = {};
_defineProperty(this, "scaleCache", {});
_defineProperty(this, "scaleOptions", {});
}

@@ -268,3 +269,3 @@

return FeatureScalePlugin;
}(), _temp), (_descriptor = _applyDecoratedDescriptor(_class2.prototype, "configService", [_dec2], {
}(), (_descriptor = _applyDecoratedDescriptor(_class2.prototype, "configService", [_dec2], {
configurable: true,

@@ -271,0 +272,0 @@ enumerable: true,

@@ -1,11 +0,11 @@

import _defineProperty from "@babel/runtime/helpers/defineProperty";
import _initializerDefineProperty from "@babel/runtime/helpers/initializerDefineProperty";
import _classCallCheck from "@babel/runtime/helpers/classCallCheck";
import _createClass from "@babel/runtime/helpers/createClass";
import _defineProperty from "@babel/runtime/helpers/defineProperty";
import _applyDecoratedDescriptor from "@babel/runtime/helpers/applyDecoratedDescriptor";
import _initializerWarningHelper from "@babel/runtime/helpers/initializerWarningHelper";
var _dec, _dec2, _dec3, _class, _class2, _descriptor, _descriptor2, _temp;
var _dec, _dec2, _dec3, _class, _class2, _descriptor, _descriptor2;
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }

@@ -16,3 +16,3 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }

import { inject, injectable } from 'inversify';
var LayerAnimateStylePlugin = (_dec = injectable(), _dec2 = inject(TYPES.ICameraService), _dec3 = inject(TYPES.IRendererService), _dec(_class = (_class2 = (_temp = function () {
var LayerAnimateStylePlugin = (_dec = injectable(), _dec2 = inject(TYPES.ICameraService), _dec3 = inject(TYPES.IRendererService), _dec(_class = (_class2 = function () {
function LayerAnimateStylePlugin() {

@@ -38,3 +38,3 @@ _classCallCheck(this, LayerAnimateStylePlugin);

return LayerAnimateStylePlugin;
}(), _temp), (_descriptor = _applyDecoratedDescriptor(_class2.prototype, "cameraService", [_dec2], {
}(), (_descriptor = _applyDecoratedDescriptor(_class2.prototype, "cameraService", [_dec2], {
configurable: true,

@@ -41,0 +41,0 @@ enumerable: true,

@@ -8,4 +8,6 @@ import _classCallCheck from "@babel/runtime/helpers/classCallCheck";

function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
var _excluded = ["type"];
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }

@@ -66,3 +68,3 @@

type = _ref$type === void 0 ? 'directional' : _ref$type,
rest = _objectWithoutProperties(_ref, ["type"]);
rest = _objectWithoutProperties(_ref, _excluded);

@@ -69,0 +71,0 @@ var lightsUniformName = lightTypeUniformMap[type].lights;

import _initializerDefineProperty from "@babel/runtime/helpers/initializerDefineProperty";
import _classCallCheck from "@babel/runtime/helpers/classCallCheck";
import _createClass from "@babel/runtime/helpers/createClass";
import _defineProperty from "@babel/runtime/helpers/defineProperty";
import _applyDecoratedDescriptor from "@babel/runtime/helpers/applyDecoratedDescriptor";
import _initializerWarningHelper from "@babel/runtime/helpers/initializerWarningHelper";
var _dec, _dec2, _class, _class2, _descriptor, _temp;
var _dec, _dec2, _class, _class2, _descriptor;

@@ -20,3 +21,3 @@ import { TYPES } from '@antv/l7-core';

}
var MultiPassRendererPlugin = (_dec = injectable(), _dec2 = inject(TYPES.IGlobalConfigService), _dec(_class = (_class2 = (_temp = function () {
var MultiPassRendererPlugin = (_dec = injectable(), _dec2 = inject(TYPES.IGlobalConfigService), _dec(_class = (_class2 = function () {
function MultiPassRendererPlugin() {

@@ -27,3 +28,3 @@ _classCallCheck(this, MultiPassRendererPlugin);

this.enabled = void 0;
_defineProperty(this, "enabled", void 0);
}

@@ -72,3 +73,3 @@

return MultiPassRendererPlugin;
}(), _temp), (_descriptor = _applyDecoratedDescriptor(_class2.prototype, "configService", [_dec2], {
}(), (_descriptor = _applyDecoratedDescriptor(_class2.prototype, "configService", [_dec2], {
configurable: true,

@@ -75,0 +76,0 @@ enumerable: true,

import _initializerDefineProperty from "@babel/runtime/helpers/initializerDefineProperty";
import _classCallCheck from "@babel/runtime/helpers/classCallCheck";
import _createClass from "@babel/runtime/helpers/createClass";
import _defineProperty from "@babel/runtime/helpers/defineProperty";
import _applyDecoratedDescriptor from "@babel/runtime/helpers/applyDecoratedDescriptor";
import _initializerWarningHelper from "@babel/runtime/helpers/initializerWarningHelper";
var _dec, _dec2, _class, _class2, _descriptor, _temp;
var _dec, _dec2, _class, _class2, _descriptor;
import { AttributeType, gl, TYPES } from '@antv/l7-core';
import { inject, injectable } from 'inversify';
var RegisterStyleAttributePlugin = (_dec = injectable(), _dec2 = inject(TYPES.ILogService), _dec(_class = (_class2 = (_temp = function () {
var RegisterStyleAttributePlugin = (_dec = injectable(), _dec2 = inject(TYPES.ILogService), _dec(_class = (_class2 = function () {
function RegisterStyleAttributePlugin() {

@@ -100,3 +101,3 @@ _classCallCheck(this, RegisterStyleAttributePlugin);

return RegisterStyleAttributePlugin;
}(), _temp), (_descriptor = _applyDecoratedDescriptor(_class2.prototype, "logger", [_dec2], {
}(), (_descriptor = _applyDecoratedDescriptor(_class2.prototype, "logger", [_dec2], {
configurable: true,

@@ -103,0 +104,0 @@ enumerable: true,

@@ -1,13 +0,13 @@

import _defineProperty from "@babel/runtime/helpers/defineProperty";
import _initializerDefineProperty from "@babel/runtime/helpers/initializerDefineProperty";
import _classCallCheck from "@babel/runtime/helpers/classCallCheck";
import _createClass from "@babel/runtime/helpers/createClass";
import _defineProperty from "@babel/runtime/helpers/defineProperty";
import _applyDecoratedDescriptor from "@babel/runtime/helpers/applyDecoratedDescriptor";
import _initializerWarningHelper from "@babel/runtime/helpers/initializerWarningHelper";
var _dec, _dec2, _dec3, _dec4, _dec5, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4, _temp;
var _dec, _dec2, _dec3, _dec4, _dec5, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4;
import { CameraUniform, CoordinateUniform, TYPES } from '@antv/l7-core';
import { inject, injectable } from 'inversify';
var ShaderUniformPlugin = (_dec = injectable(), _dec2 = inject(TYPES.ICameraService), _dec3 = inject(TYPES.ICoordinateSystemService), _dec4 = inject(TYPES.IRendererService), _dec5 = inject(TYPES.IMapService), _dec(_class = (_class2 = (_temp = function () {
var ShaderUniformPlugin = (_dec = injectable(), _dec2 = inject(TYPES.ICameraService), _dec3 = inject(TYPES.ICoordinateSystemService), _dec4 = inject(TYPES.IRendererService), _dec5 = inject(TYPES.IMapService), _dec(_class = (_class2 = function () {
function ShaderUniformPlugin() {

@@ -55,3 +55,3 @@ _classCallCheck(this, ShaderUniformPlugin);

return ShaderUniformPlugin;
}(), _temp), (_descriptor = _applyDecoratedDescriptor(_class2.prototype, "cameraService", [_dec2], {
}(), (_descriptor = _applyDecoratedDescriptor(_class2.prototype, "cameraService", [_dec2], {
configurable: true,

@@ -58,0 +58,0 @@ enumerable: true,

import _initializerDefineProperty from "@babel/runtime/helpers/initializerDefineProperty";
import _classCallCheck from "@babel/runtime/helpers/classCallCheck";
import _createClass from "@babel/runtime/helpers/createClass";
import _defineProperty from "@babel/runtime/helpers/defineProperty";
import _applyDecoratedDescriptor from "@babel/runtime/helpers/applyDecoratedDescriptor";
import _initializerWarningHelper from "@babel/runtime/helpers/initializerWarningHelper";
var _dec, _dec2, _class, _class2, _descriptor, _temp;
var _dec, _dec2, _class, _class2, _descriptor;
import { TYPES } from '@antv/l7-core';
import { inject, injectable } from 'inversify';
var UpdateStyleAttributePlugin = (_dec = injectable(), _dec2 = inject(TYPES.ILogService), _dec(_class = (_class2 = (_temp = function () {
var UpdateStyleAttributePlugin = (_dec = injectable(), _dec2 = inject(TYPES.ILogService), _dec(_class = (_class2 = function () {
function UpdateStyleAttributePlugin() {

@@ -50,8 +51,8 @@ _classCallCheck(this, UpdateStyleAttributePlugin);

if (filter && filter.needRegenerateVertices || shape && shape.needRegenerateVertices) {
layer.layerModelNeedUpdate = true;
attributes.forEach(function (attr) {
return attr.needRegenerateVertices = false;
});
return;
}
layer.layerModelNeedUpdate = true;
attributes.forEach(function (attr) {
return attr.needRegenerateVertices = false;
});
return;
}

@@ -86,3 +87,3 @@ attributes.filter(function (attribute) {

return UpdateStyleAttributePlugin;
}(), _temp), (_descriptor = _applyDecoratedDescriptor(_class2.prototype, "logger", [_dec2], {
}(), (_descriptor = _applyDecoratedDescriptor(_class2.prototype, "logger", [_dec2], {
configurable: true,

@@ -89,0 +90,0 @@ enumerable: true,

import _classCallCheck from "@babel/runtime/helpers/classCallCheck";
import _createClass from "@babel/runtime/helpers/createClass";
import _assertThisInitialized from "@babel/runtime/helpers/assertThisInitialized";
import _inherits from "@babel/runtime/helpers/inherits";
import _possibleConstructorReturn from "@babel/runtime/helpers/possibleConstructorReturn";
import _getPrototypeOf from "@babel/runtime/helpers/getPrototypeOf";
import _defineProperty from "@babel/runtime/helpers/defineProperty";

@@ -29,3 +31,5 @@ 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); }; }

_this = _super.call.apply(_super, [this].concat(args));
_this.type = 'PointLayer';
_defineProperty(_assertThisInitialized(_this), "type", 'PointLayer');
return _this;

@@ -32,0 +36,0 @@ }

import _classCallCheck from "@babel/runtime/helpers/classCallCheck";
import _createClass from "@babel/runtime/helpers/createClass";
import _assertThisInitialized from "@babel/runtime/helpers/assertThisInitialized";
import _inherits from "@babel/runtime/helpers/inherits";
import _possibleConstructorReturn from "@babel/runtime/helpers/possibleConstructorReturn";
import _getPrototypeOf from "@babel/runtime/helpers/getPrototypeOf";
import _defineProperty from "@babel/runtime/helpers/defineProperty";

@@ -32,3 +34,5 @@ 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); }; }

_this = _super.call.apply(_super, [this].concat(args));
_this.texture = void 0;
_defineProperty(_assertThisInitialized(_this), "texture", void 0);
return _this;

@@ -35,0 +39,0 @@ }

import _classCallCheck from "@babel/runtime/helpers/classCallCheck";
import _createClass from "@babel/runtime/helpers/createClass";
import _assertThisInitialized from "@babel/runtime/helpers/assertThisInitialized";
import _inherits from "@babel/runtime/helpers/inherits";
import _possibleConstructorReturn from "@babel/runtime/helpers/possibleConstructorReturn";
import _getPrototypeOf from "@babel/runtime/helpers/getPrototypeOf";
import _defineProperty from "@babel/runtime/helpers/defineProperty";
import _isNumber from "lodash/isNumber";

@@ -33,5 +35,6 @@

_this = _super.call.apply(_super, [this].concat(args));
_this.texture = void 0;
_this.updateTexture = function () {
_defineProperty(_assertThisInitialized(_this), "texture", void 0);
_defineProperty(_assertThisInitialized(_this), "updateTexture", function () {
var createTexture2D = _this.rendererService.createTexture2D;

@@ -57,3 +60,3 @@

});
};
});

@@ -60,0 +63,0 @@ return _this;

@@ -7,6 +7,7 @@ import _classCallCheck from "@babel/runtime/helpers/classCallCheck";

import _getPrototypeOf from "@babel/runtime/helpers/getPrototypeOf";
import _defineProperty from "@babel/runtime/helpers/defineProperty";
import _toConsumableArray from "@babel/runtime/helpers/toConsumableArray";
import _isNumber from "lodash/isNumber";
function _createForOfIteratorHelper(o, allowArrayLike) { var it; if (typeof Symbol === "undefined" || o[Symbol.iterator] == null) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = o[Symbol.iterator](); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it.return != null) it.return(); } finally { if (didErr) throw err; } } }; }
function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it.return != null) it.return(); } finally { if (didErr) throw err; } } }; }

@@ -71,12 +72,20 @@ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }

_this = _super.call.apply(_super, [this].concat(args));
_this.glyphInfo = void 0;
_this.glyphInfoMap = {};
_this.texture = void 0;
_this.currentZoom = -1;
_this.extent = void 0;
_this.textureHeight = 0;
_this.textCount = 0;
_this.preTextStyle = {};
_this.buildModels = function () {
_defineProperty(_assertThisInitialized(_this), "glyphInfo", void 0);
_defineProperty(_assertThisInitialized(_this), "glyphInfoMap", {});
_defineProperty(_assertThisInitialized(_this), "texture", void 0);
_defineProperty(_assertThisInitialized(_this), "currentZoom", -1);
_defineProperty(_assertThisInitialized(_this), "extent", void 0);
_defineProperty(_assertThisInitialized(_this), "textureHeight", 0);
_defineProperty(_assertThisInitialized(_this), "textCount", 0);
_defineProperty(_assertThisInitialized(_this), "preTextStyle", {});
_defineProperty(_assertThisInitialized(_this), "buildModels", function () {
_this.initGlyph();

@@ -100,3 +109,3 @@

})];
};
});

@@ -103,0 +112,0 @@ return _this;

import _classCallCheck from "@babel/runtime/helpers/classCallCheck";
import _createClass from "@babel/runtime/helpers/createClass";
import _assertThisInitialized from "@babel/runtime/helpers/assertThisInitialized";
import _inherits from "@babel/runtime/helpers/inherits";
import _possibleConstructorReturn from "@babel/runtime/helpers/possibleConstructorReturn";
import _getPrototypeOf from "@babel/runtime/helpers/getPrototypeOf";
import _defineProperty from "@babel/runtime/helpers/defineProperty";

@@ -29,3 +31,5 @@ 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); }; }

_this = _super.call.apply(_super, [this].concat(args));
_this.type = 'PolygonLayer';
_defineProperty(_assertThisInitialized(_this), "type", 'PolygonLayer');
return _this;

@@ -32,0 +36,0 @@ }

import _classCallCheck from "@babel/runtime/helpers/classCallCheck";
import _createClass from "@babel/runtime/helpers/createClass";
import _assertThisInitialized from "@babel/runtime/helpers/assertThisInitialized";
import _inherits from "@babel/runtime/helpers/inherits";
import _possibleConstructorReturn from "@babel/runtime/helpers/possibleConstructorReturn";
import _getPrototypeOf from "@babel/runtime/helpers/getPrototypeOf";
import _defineProperty from "@babel/runtime/helpers/defineProperty";

@@ -29,3 +31,5 @@ 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); }; }

_this = _super.call.apply(_super, [this].concat(args));
_this.type = 'RasterLayer';
_defineProperty(_assertThisInitialized(_this), "type", 'RasterLayer');
return _this;

@@ -32,0 +36,0 @@ }

import _classCallCheck from "@babel/runtime/helpers/classCallCheck";
import _createClass from "@babel/runtime/helpers/createClass";
import _assertThisInitialized from "@babel/runtime/helpers/assertThisInitialized";
import _inherits from "@babel/runtime/helpers/inherits";
import _possibleConstructorReturn from "@babel/runtime/helpers/possibleConstructorReturn";
import _getPrototypeOf from "@babel/runtime/helpers/getPrototypeOf";
import _defineProperty from "@babel/runtime/helpers/defineProperty";

@@ -33,4 +35,7 @@ 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); }; }

_this = _super.call.apply(_super, [this].concat(args));
_this.texture = void 0;
_this.colorTexture = void 0;
_defineProperty(_assertThisInitialized(_this), "texture", void 0);
_defineProperty(_assertThisInitialized(_this), "colorTexture", void 0);
return _this;

@@ -37,0 +42,0 @@ }

@@ -1,10 +0,11 @@

import _defineProperty from "@babel/runtime/helpers/defineProperty";
import _toConsumableArray from "@babel/runtime/helpers/toConsumableArray";
import _classCallCheck from "@babel/runtime/helpers/classCallCheck";
import _createClass from "@babel/runtime/helpers/createClass";
import _assertThisInitialized from "@babel/runtime/helpers/assertThisInitialized";
import _inherits from "@babel/runtime/helpers/inherits";
import _possibleConstructorReturn from "@babel/runtime/helpers/possibleConstructorReturn";
import _getPrototypeOf from "@babel/runtime/helpers/getPrototypeOf";
import _defineProperty from "@babel/runtime/helpers/defineProperty";
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }

@@ -39,5 +40,9 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }

_this = _super.call.apply(_super, [this].concat(args));
_this.type = 'RasterLayer';
_this.rasterTexture = void 0;
_this.colorTexture = void 0;
_defineProperty(_assertThisInitialized(_this), "type", 'RasterLayer');
_defineProperty(_assertThisInitialized(_this), "rasterTexture", void 0);
_defineProperty(_assertThisInitialized(_this), "colorTexture", void 0);
return _this;

@@ -44,0 +49,0 @@ }

import _classCallCheck from "@babel/runtime/helpers/classCallCheck";
import _createClass from "@babel/runtime/helpers/createClass";
import _assertThisInitialized from "@babel/runtime/helpers/assertThisInitialized";
import _inherits from "@babel/runtime/helpers/inherits";
import _possibleConstructorReturn from "@babel/runtime/helpers/possibleConstructorReturn";
import _getPrototypeOf from "@babel/runtime/helpers/getPrototypeOf";
import _defineProperty from "@babel/runtime/helpers/defineProperty";

@@ -33,5 +35,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); }; }

_this = _super.call.apply(_super, [this].concat(args));
_this.type = 'RasterLayer';
_this.rasterTexture = void 0;
_this.colorTexture = void 0;
_defineProperty(_assertThisInitialized(_this), "type", 'RasterLayer');
_defineProperty(_assertThisInitialized(_this), "rasterTexture", void 0);
_defineProperty(_assertThisInitialized(_this), "colorTexture", void 0);
return _this;

@@ -38,0 +44,0 @@ }

import _toConsumableArray from "@babel/runtime/helpers/toConsumableArray";
import _classCallCheck from "@babel/runtime/helpers/classCallCheck";
import _createClass from "@babel/runtime/helpers/createClass";
import _defineProperty from "@babel/runtime/helpers/defineProperty";
import { mat4, vec4 } from 'gl-matrix';

@@ -11,10 +12,18 @@ import GridIndex from './grid-index';

this.width = void 0;
this.height = void 0;
this.grid = void 0;
this.viewportPadding = 100;
this.screenRightBoundary = void 0;
this.screenBottomBoundary = void 0;
this.gridRightBoundary = void 0;
this.gridBottomBoundary = void 0;
_defineProperty(this, "width", void 0);
_defineProperty(this, "height", void 0);
_defineProperty(this, "grid", void 0);
_defineProperty(this, "viewportPadding", 100);
_defineProperty(this, "screenRightBoundary", void 0);
_defineProperty(this, "screenBottomBoundary", void 0);
_defineProperty(this, "gridRightBoundary", void 0);
_defineProperty(this, "gridBottomBoundary", void 0);
this.width = width;

@@ -21,0 +30,0 @@ this.height = height;

@@ -5,2 +5,3 @@ import _slicedToArray from "@babel/runtime/helpers/slicedToArray";

import _createClass from "@babel/runtime/helpers/createClass";
import _defineProperty from "@babel/runtime/helpers/defineProperty";
import { aProjectFlat } from '@antv/l7-utils';

@@ -56,13 +57,24 @@ import { vec2 } from 'gl-matrix';

this.complex = void 0;
this.join = void 0;
this.cap = void 0;
this.miterLimit = void 0;
this.thickness = void 0;
this.normal = void 0;
this.lastFlip = -1;
this.miter = vec2.fromValues(0, 0);
this.started = false;
this.dash = false;
this.totalDistance = 0;
_defineProperty(this, "complex", void 0);
_defineProperty(this, "join", void 0);
_defineProperty(this, "cap", void 0);
_defineProperty(this, "miterLimit", void 0);
_defineProperty(this, "thickness", void 0);
_defineProperty(this, "normal", void 0);
_defineProperty(this, "lastFlip", -1);
_defineProperty(this, "miter", vec2.fromValues(0, 0));
_defineProperty(this, "started", false);
_defineProperty(this, "dash", false);
_defineProperty(this, "totalDistance", 0);
this.join = opts.join || 'miter';

@@ -69,0 +81,0 @@ this.cap = opts.cap || 'butt';

import _classCallCheck from "@babel/runtime/helpers/classCallCheck";
import _createClass from "@babel/runtime/helpers/createClass";
import _defineProperty from "@babel/runtime/helpers/defineProperty";
function _createForOfIteratorHelper(o, allowArrayLike) { var it; if (typeof Symbol === "undefined" || o[Symbol.iterator] == null) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = o[Symbol.iterator](); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it.return != null) it.return(); } finally { if (didErr) throw err; } } }; }
function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it.return != null) it.return(); } finally { if (didErr) throw err; } } }; }

@@ -14,12 +15,22 @@ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }

this.boxCells = [];
this.xCellCount = void 0;
this.yCellCount = void 0;
this.boxKeys = void 0;
this.bboxes = void 0;
this.width = void 0;
this.height = void 0;
this.xScale = void 0;
this.yScale = void 0;
this.boxUid = void 0;
_defineProperty(this, "boxCells", []);
_defineProperty(this, "xCellCount", void 0);
_defineProperty(this, "yCellCount", void 0);
_defineProperty(this, "boxKeys", void 0);
_defineProperty(this, "bboxes", void 0);
_defineProperty(this, "width", void 0);
_defineProperty(this, "height", void 0);
_defineProperty(this, "xScale", void 0);
_defineProperty(this, "yScale", void 0);
_defineProperty(this, "boxUid", void 0);
var boxCells = this.boxCells;

@@ -26,0 +37,0 @@ this.xCellCount = Math.ceil(width / cellSize);

@@ -1,2 +0,2 @@

function _createForOfIteratorHelper(o, allowArrayLike) { var it; if (typeof Symbol === "undefined" || o[Symbol.iterator] == null) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = o[Symbol.iterator](); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it.return != null) it.return(); } finally { if (didErr) throw err; } } }; }
function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it.return != null) it.return(); } finally { if (didErr) throw err; } } }; }

@@ -3,0 +3,0 @@ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }

@@ -14,2 +14,4 @@ "use strict";

var _assertThisInitialized2 = _interopRequireDefault(require("@babel/runtime/helpers/assertThisInitialized"));
var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits"));

@@ -21,2 +23,4 @@

var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
var _BaseLayer2 = _interopRequireDefault(require("../core/BaseLayer"));

@@ -45,3 +49,3 @@

_this = _super.call.apply(_super, [this].concat(args));
_this.type = 'PolygonLayer';
(0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "type", 'PolygonLayer');
return _this;

@@ -48,0 +52,0 @@ }

@@ -12,4 +12,2 @@ "use strict";

var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
var _initializerDefineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/initializerDefineProperty"));

@@ -29,2 +27,4 @@

var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
var _applyDecoratedDescriptor2 = _interopRequireDefault(require("@babel/runtime/helpers/applyDecoratedDescriptor"));

@@ -56,6 +56,9 @@

var _dec, _dec2, _dec3, _class, _descriptor, _descriptor2, _descriptor3, _temp;
var _excluded = ["passes"],
_excluded2 = ["moduleName", "vertexShader", "fragmentShader", "triangulation"];
function _createForOfIteratorHelper(o, allowArrayLike) { var it; if (typeof Symbol === "undefined" || o[Symbol.iterator] == null) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = o[Symbol.iterator](); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it.return != null) it.return(); } finally { if (didErr) throw err; } } }; }
var _dec, _dec2, _dec3, _class, _descriptor, _descriptor2, _descriptor3;
function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it.return != null) it.return(); } finally { if (didErr) throw err; } } }; }
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }

@@ -65,3 +68,3 @@

function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }

@@ -75,3 +78,3 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { (0, _defineProperty2.default)(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }

var layerIdCounter = 0;
var BaseLayer = (_dec = (0, _l7Core.lazyInject)(_l7Core.TYPES.ILogService), _dec2 = (0, _l7Core.lazyInject)(_l7Core.TYPES.IGlobalConfigService), _dec3 = (0, _l7Core.lazyInject)(_l7Core.TYPES.IShaderModuleService), (_class = (_temp = function (_EventEmitter) {
var BaseLayer = (_dec = (0, _l7Core.lazyInject)(_l7Core.TYPES.ILogService), _dec2 = (0, _l7Core.lazyInject)(_l7Core.TYPES.IGlobalConfigService), _dec3 = (0, _l7Core.lazyInject)(_l7Core.TYPES.IShaderModuleService), (_class = function (_EventEmitter) {
(0, _inherits2.default)(BaseLayer, _EventEmitter);

@@ -87,15 +90,15 @@

_this = _super.call(this);
_this.id = "".concat(layerIdCounter++);
_this.name = "".concat(layerIdCounter);
_this.type = void 0;
_this.visible = true;
_this.zIndex = 0;
_this.minZoom = void 0;
_this.maxZoom = void 0;
_this.inited = false;
_this.layerModelNeedUpdate = false;
_this.pickedFeatureID = null;
_this.selectedFeatureID = null;
_this.styleNeedUpdate = false;
_this.dataState = {
(0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "id", "".concat(layerIdCounter++));
(0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "name", "".concat(layerIdCounter));
(0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "type", void 0);
(0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "visible", true);
(0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "zIndex", 0);
(0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "minZoom", void 0);
(0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "maxZoom", void 0);
(0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "inited", false);
(0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "layerModelNeedUpdate", false);
(0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "pickedFeatureID", null);
(0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "selectedFeatureID", null);
(0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "styleNeedUpdate", false);
(0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "dataState", {
dataSourceNeedUpdate: false,

@@ -106,4 +109,4 @@ dataMappingNeedUpdate: false,

StyleAttrNeedUpdate: false
};
_this.hooks = {
});
(0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "hooks", {
init: new _asyncHook.SyncBailHook(),

@@ -122,39 +125,38 @@ afterInit: new _asyncHook.SyncBailHook(),

afterDestroy: new _asyncHook.SyncHook()
};
_this.models = [];
_this.multiPassRenderer = void 0;
_this.plugins = void 0;
_this.sourceOption = void 0;
_this.layerModel = void 0;
(0, _initializerDefineProperty2.default)(_this, "logger", _descriptor, (0, _assertThisInitialized2.default)(_this));
(0, _initializerDefineProperty2.default)(_this, "configService", _descriptor2, (0, _assertThisInitialized2.default)(_this));
(0, _initializerDefineProperty2.default)(_this, "shaderModuleService", _descriptor3, (0, _assertThisInitialized2.default)(_this));
_this.cameraService = void 0;
_this.coordinateService = void 0;
_this.iconService = void 0;
_this.fontService = void 0;
_this.pickingService = void 0;
_this.rendererService = void 0;
_this.layerService = void 0;
_this.interactionService = void 0;
_this.mapService = void 0;
_this.styleAttributeService = void 0;
_this.layerSource = void 0;
_this.postProcessingPassFactory = void 0;
_this.normalPassFactory = void 0;
_this.animateOptions = {
});
(0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "models", []);
(0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "multiPassRenderer", void 0);
(0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "plugins", void 0);
(0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "sourceOption", void 0);
(0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "layerModel", void 0);
(0, _initializerDefineProperty2.default)((0, _assertThisInitialized2.default)(_this), "logger", _descriptor, (0, _assertThisInitialized2.default)(_this));
(0, _initializerDefineProperty2.default)((0, _assertThisInitialized2.default)(_this), "configService", _descriptor2, (0, _assertThisInitialized2.default)(_this));
(0, _initializerDefineProperty2.default)((0, _assertThisInitialized2.default)(_this), "shaderModuleService", _descriptor3, (0, _assertThisInitialized2.default)(_this));
(0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "cameraService", void 0);
(0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "coordinateService", void 0);
(0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "iconService", void 0);
(0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "fontService", void 0);
(0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "pickingService", void 0);
(0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "rendererService", void 0);
(0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "layerService", void 0);
(0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "interactionService", void 0);
(0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "mapService", void 0);
(0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "styleAttributeService", void 0);
(0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "layerSource", void 0);
(0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "postProcessingPassFactory", void 0);
(0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "normalPassFactory", void 0);
(0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "animateOptions", {
enable: false
};
_this.container = void 0;
_this.encodedData = void 0;
_this.configSchema = void 0;
_this.currentPickId = null;
_this.rawConfig = void 0;
_this.needUpdateConfig = void 0;
_this.pendingStyleAttributes = [];
_this.scaleOptions = {};
_this.animateStartTime = void 0;
_this.aniamateStatus = false;
_this.sourceEvent = function () {
});
(0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "container", void 0);
(0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "encodedData", void 0);
(0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "configSchema", void 0);
(0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "currentPickId", null);
(0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "rawConfig", void 0);
(0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "needUpdateConfig", void 0);
(0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "pendingStyleAttributes", []);
(0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "scaleOptions", {});
(0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "animateStartTime", void 0);
(0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "aniamateStatus", false);
(0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "sourceEvent", function () {
_this.dataState.dataSourceNeedUpdate = true;

@@ -173,4 +175,3 @@

_this.reRender();
};
});
_this.name = config.name || _this.id;

@@ -395,3 +396,3 @@ _this.zIndex = config.zIndex || 0;

var passes = options.passes,
rest = (0, _objectWithoutProperties2.default)(options, ["passes"]);
rest = (0, _objectWithoutProperties2.default)(options, _excluded);

@@ -786,3 +787,3 @@ if (passes) {

triangulation = options.triangulation,
rest = (0, _objectWithoutProperties2.default)(options, ["moduleName", "vertexShader", "fragmentShader", "triangulation"]);
rest = (0, _objectWithoutProperties2.default)(options, _excluded2);
this.shaderModuleService.registerModule(moduleName, {

@@ -940,3 +941,3 @@ vs: vertexShader,

return BaseLayer;
}(_eventemitter.EventEmitter), _temp), (_descriptor = (0, _applyDecoratedDescriptor2.default)(_class.prototype, "logger", [_dec], {
}(_eventemitter.EventEmitter), (_descriptor = (0, _applyDecoratedDescriptor2.default)(_class.prototype, "logger", [_dec], {
configurable: true,

@@ -943,0 +944,0 @@ enumerable: true,

@@ -18,2 +18,4 @@ "use strict";

var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
var _applyDecoratedDescriptor2 = _interopRequireDefault(require("@babel/runtime/helpers/applyDecoratedDescriptor"));

@@ -39,5 +41,5 @@

var _dec, _dec2, _class, _descriptor, _descriptor2, _temp;
var _dec, _dec2, _class, _descriptor, _descriptor2;
function _createForOfIteratorHelper(o, allowArrayLike) { var it; if (typeof Symbol === "undefined" || o[Symbol.iterator] == null) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = o[Symbol.iterator](); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it.return != null) it.return(); } finally { if (didErr) throw err; } } }; }
function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it.return != null) it.return(); } finally { if (didErr) throw err; } } }; }

@@ -48,26 +50,26 @@ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }

var BaseModel = (_dec = (0, _l7Core.lazyInject)(_l7Core.TYPES.IGlobalConfigService), _dec2 = (0, _l7Core.lazyInject)(_l7Core.TYPES.IShaderModuleService), (_class = (_temp = function () {
var BaseModel = (_dec = (0, _l7Core.lazyInject)(_l7Core.TYPES.IGlobalConfigService), _dec2 = (0, _l7Core.lazyInject)(_l7Core.TYPES.IShaderModuleService), (_class = function () {
function BaseModel(layer) {
(0, _classCallCheck2.default)(this, BaseModel);
this.triangulation = void 0;
this.createTexture2D = void 0;
this.layer = void 0;
this.dataTexture = void 0;
this.DATA_TEXTURE_WIDTH = void 0;
this.rowCount = void 0;
this.cacheStyleProperties = void 0;
this.cellLength = void 0;
this.cellProperties = void 0;
this.cellTypeLayout = void 0;
this.stylePropertyesExist = void 0;
this.dataTextureTest = void 0;
(0, _defineProperty2.default)(this, "triangulation", void 0);
(0, _defineProperty2.default)(this, "createTexture2D", void 0);
(0, _defineProperty2.default)(this, "layer", void 0);
(0, _defineProperty2.default)(this, "dataTexture", void 0);
(0, _defineProperty2.default)(this, "DATA_TEXTURE_WIDTH", void 0);
(0, _defineProperty2.default)(this, "rowCount", void 0);
(0, _defineProperty2.default)(this, "cacheStyleProperties", void 0);
(0, _defineProperty2.default)(this, "cellLength", void 0);
(0, _defineProperty2.default)(this, "cellProperties", void 0);
(0, _defineProperty2.default)(this, "cellTypeLayout", void 0);
(0, _defineProperty2.default)(this, "stylePropertyesExist", void 0);
(0, _defineProperty2.default)(this, "dataTextureTest", void 0);
(0, _initializerDefineProperty2.default)(this, "configService", _descriptor, this);
(0, _initializerDefineProperty2.default)(this, "shaderModuleService", _descriptor2, this);
this.rendererService = void 0;
this.iconService = void 0;
this.fontService = void 0;
this.styleAttributeService = void 0;
this.mapService = void 0;
this.cameraService = void 0;
this.layerService = void 0;
(0, _defineProperty2.default)(this, "rendererService", void 0);
(0, _defineProperty2.default)(this, "iconService", void 0);
(0, _defineProperty2.default)(this, "fontService", void 0);
(0, _defineProperty2.default)(this, "styleAttributeService", void 0);
(0, _defineProperty2.default)(this, "mapService", void 0);
(0, _defineProperty2.default)(this, "cameraService", void 0);
(0, _defineProperty2.default)(this, "layerService", void 0);
this.layer = layer;

@@ -104,2 +106,9 @@ this.rendererService = layer.getContainer().get(_l7Core.TYPES.IRendererService);

this.dataTextureTest = this.layerService.getOESTextureFloat();
this.dataTexture = this.createTexture2D({
data: new ImageData(1, 1).data,
mag: _l7Core.gl.NEAREST,
min: _l7Core.gl.NEAREST,
width: 1,
height: 1
});
}

@@ -124,5 +133,5 @@

if (this.dataTextureTest) {
return [this.rowCount, this.DATA_TEXTURE_WIDTH, 0.0, 0.0, this.stylePropertyesExist.hasOpacity, this.stylePropertyesExist.hasStrokeOpacity, this.stylePropertyesExist.hasStrokeWidth, this.stylePropertyesExist.hasStroke, this.stylePropertyesExist.hasOffsets, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0];
return [this.rowCount, this.DATA_TEXTURE_WIDTH, 0.0, 0.0, this.stylePropertyesExist.hasOpacity, this.stylePropertyesExist.hasStrokeOpacity, this.stylePropertyesExist.hasStrokeWidth, this.stylePropertyesExist.hasStroke, this.stylePropertyesExist.hasOffsets, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1.0];
} else {
return [1.0, 1.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0];
return [1.0, 1.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -1.0];
}

@@ -393,3 +402,3 @@ }

return BaseModel;
}(), _temp), (_descriptor = (0, _applyDecoratedDescriptor2.default)(_class.prototype, "configService", [_dec], {
}(), (_descriptor = (0, _applyDecoratedDescriptor2.default)(_class.prototype, "configService", [_dec], {
configurable: true,

@@ -396,0 +405,0 @@ enumerable: true,

"use strict";
var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard");
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
var _typeof = require("@babel/runtime/helpers/typeof");
Object.defineProperty(exports, "__esModule", {

@@ -39,2 +39,6 @@ value: true

function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
var GeometryCache = {};

@@ -41,0 +45,0 @@

@@ -14,2 +14,4 @@ "use strict";

var _assertThisInitialized2 = _interopRequireDefault(require("@babel/runtime/helpers/assertThisInitialized"));
var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits"));

@@ -21,2 +23,4 @@

var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
var _BaseLayer2 = _interopRequireDefault(require("../core/BaseLayer"));

@@ -45,3 +49,3 @@

_this = _super.call.apply(_super, [this].concat(args));
_this.type = 'HeatMapLayer';
(0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "type", 'HeatMapLayer');
return _this;

@@ -48,0 +52,0 @@ }

@@ -12,4 +12,2 @@ "use strict";

var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck"));

@@ -19,2 +17,4 @@

var _assertThisInitialized2 = _interopRequireDefault(require("@babel/runtime/helpers/assertThisInitialized"));
var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits"));

@@ -26,2 +26,4 @@

var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
var _l7Core = require("@antv/l7-core");

@@ -41,5 +43,5 @@

var _dec, _class, _temp;
var _dec, _class;
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }

@@ -58,3 +60,3 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { (0, _defineProperty2.default)(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }

var heatmapColorVert = "precision highp float;\nattribute vec3 a_Position;\nattribute vec2 a_Uv;\nuniform sampler2D u_texture;\nvarying vec2 v_texCoord;\nvarying float v_intensity;\nvoid main() {\n v_texCoord = a_Uv;\n v_intensity = texture2D(u_texture, v_texCoord).r;\n gl_Position = vec4(a_Position.xy, 0, 1.);\n}\n";
var HeatMapModel = (_dec = (0, _inversify.injectable)(), _dec(_class = (_temp = function (_BaseModel) {
var HeatMapModel = (_dec = (0, _inversify.injectable)(), _dec(_class = function (_BaseModel) {
(0, _inherits2.default)(HeatMapModel, _BaseModel);

@@ -74,8 +76,8 @@

_this = _super.call.apply(_super, [this].concat(args));
_this.texture = void 0;
_this.colorTexture = void 0;
_this.heatmapFramerBuffer = void 0;
_this.intensityModel = void 0;
_this.colorModel = void 0;
_this.shapeType = void 0;
(0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "texture", void 0);
(0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "colorTexture", void 0);
(0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "heatmapFramerBuffer", void 0);
(0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "intensityModel", void 0);
(0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "colorModel", void 0);
(0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "shapeType", void 0);
return _this;

@@ -417,4 +419,4 @@ }

return HeatMapModel;
}(_BaseModel2.default), _temp)) || _class);
}(_BaseModel2.default)) || _class);
exports.default = HeatMapModel;
//# sourceMappingURL=heatmap.js.map

@@ -14,2 +14,4 @@ "use strict";

var _assertThisInitialized2 = _interopRequireDefault(require("@babel/runtime/helpers/assertThisInitialized"));
var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits"));

@@ -21,2 +23,4 @@

var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
var _BaseLayer2 = _interopRequireDefault(require("../core/BaseLayer"));

@@ -45,3 +49,3 @@

_this = _super.call.apply(_super, [this].concat(args));
_this.type = 'ImageLayer';
(0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "type", 'ImageLayer');
return _this;

@@ -48,0 +52,0 @@ }

@@ -14,2 +14,4 @@ "use strict";

var _assertThisInitialized2 = _interopRequireDefault(require("@babel/runtime/helpers/assertThisInitialized"));
var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits"));

@@ -21,2 +23,4 @@

var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
var _l7Core = require("@antv/l7-core");

@@ -50,3 +54,3 @@

_this = _super.call.apply(_super, [this].concat(args));
_this.texture = void 0;
(0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "texture", void 0);
return _this;

@@ -53,0 +57,0 @@ }

@@ -14,2 +14,4 @@ "use strict";

var _assertThisInitialized2 = _interopRequireDefault(require("@babel/runtime/helpers/assertThisInitialized"));
var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits"));

@@ -21,2 +23,4 @@

var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
var _BaseLayer2 = _interopRequireDefault(require("../core/BaseLayer"));

@@ -45,3 +49,3 @@

_this = _super.call.apply(_super, [this].concat(args));
_this.type = 'LineLayer';
(0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "type", 'LineLayer');
return _this;

@@ -48,0 +52,0 @@ }

@@ -14,2 +14,4 @@ "use strict";

var _assertThisInitialized2 = _interopRequireDefault(require("@babel/runtime/helpers/assertThisInitialized"));
var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits"));

@@ -21,2 +23,4 @@

var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
var _isNumber2 = _interopRequireDefault(require("lodash/isNumber"));

@@ -58,5 +62,4 @@

_this = _super.call.apply(_super, [this].concat(args));
_this.texture = void 0;
_this.updateTexture = function () {
(0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "texture", void 0);
(0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "updateTexture", function () {
var createTexture2D = _this.rendererService.createTexture2D;

@@ -82,4 +85,3 @@

});
};
});
return _this;

@@ -86,0 +88,0 @@ }

@@ -14,2 +14,4 @@ "use strict";

var _assertThisInitialized2 = _interopRequireDefault(require("@babel/runtime/helpers/assertThisInitialized"));
var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits"));

@@ -21,2 +23,4 @@

var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
var _isNumber2 = _interopRequireDefault(require("lodash/isNumber"));

@@ -58,5 +62,4 @@

_this = _super.call.apply(_super, [this].concat(args));
_this.texture = void 0;
_this.updateTexture = function () {
(0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "texture", void 0);
(0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "updateTexture", function () {
var createTexture2D = _this.rendererService.createTexture2D;

@@ -82,4 +85,3 @@

});
};
});
return _this;

@@ -86,0 +88,0 @@ }

@@ -14,2 +14,4 @@ "use strict";

var _assertThisInitialized2 = _interopRequireDefault(require("@babel/runtime/helpers/assertThisInitialized"));
var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits"));

@@ -21,2 +23,4 @@

var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
var _isNumber2 = _interopRequireDefault(require("lodash/isNumber"));

@@ -58,5 +62,4 @@

_this = _super.call.apply(_super, [this].concat(args));
_this.texture = void 0;
_this.updateTexture = function () {
(0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "texture", void 0);
(0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "updateTexture", function () {
var createTexture2D = _this.rendererService.createTexture2D;

@@ -82,4 +85,3 @@

});
};
});
return _this;

@@ -86,0 +88,0 @@ }

@@ -14,2 +14,4 @@ "use strict";

var _assertThisInitialized2 = _interopRequireDefault(require("@babel/runtime/helpers/assertThisInitialized"));
var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits"));

@@ -21,2 +23,4 @@

var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
var _isNumber2 = _interopRequireDefault(require("lodash/isNumber"));

@@ -58,5 +62,4 @@

_this = _super.call.apply(_super, [this].concat(args));
_this.texture = void 0;
_this.updateTexture = function () {
(0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "texture", void 0);
(0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "updateTexture", function () {
var createTexture2D = _this.rendererService.createTexture2D;

@@ -82,4 +85,3 @@

});
};
});
return _this;

@@ -86,0 +88,0 @@ }

@@ -10,4 +10,2 @@ "use strict";

var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
var _initializerDefineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/initializerDefineProperty"));

@@ -19,2 +17,4 @@

var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
var _applyDecoratedDescriptor2 = _interopRequireDefault(require("@babel/runtime/helpers/applyDecoratedDescriptor"));

@@ -32,9 +32,9 @@

var _dec, _dec2, _dec3, _dec4, _dec5, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4, _temp;
var _dec, _dec2, _dec3, _dec4, _dec5, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4;
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { (0, _defineProperty2.default)(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
var DataMappingPlugin = (_dec = (0, _inversify.injectable)(), _dec2 = (0, _inversify.inject)(_l7Core.TYPES.IGlobalConfigService), _dec3 = (0, _inversify.inject)(_l7Core.TYPES.ILogService), _dec4 = (0, _inversify.inject)(_l7Core.TYPES.IMapService), _dec5 = (0, _inversify.inject)(_l7Core.TYPES.IFontService), _dec(_class = (_class2 = (_temp = function () {
var DataMappingPlugin = (_dec = (0, _inversify.injectable)(), _dec2 = (0, _inversify.inject)(_l7Core.TYPES.IGlobalConfigService), _dec3 = (0, _inversify.inject)(_l7Core.TYPES.ILogService), _dec4 = (0, _inversify.inject)(_l7Core.TYPES.IMapService), _dec5 = (0, _inversify.inject)(_l7Core.TYPES.IFontService), _dec(_class = (_class2 = function () {
function DataMappingPlugin() {

@@ -197,3 +197,3 @@ (0, _classCallCheck2.default)(this, DataMappingPlugin);

return DataMappingPlugin;
}(), _temp), (_descriptor = (0, _applyDecoratedDescriptor2.default)(_class2.prototype, "configService", [_dec2], {
}(), (_descriptor = (0, _applyDecoratedDescriptor2.default)(_class2.prototype, "configService", [_dec2], {
configurable: true,

@@ -200,0 +200,0 @@ enumerable: true,

@@ -14,2 +14,4 @@ "use strict";

var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
var _l7Core = require("@antv/l7-core");

@@ -21,8 +23,8 @@

var _dec, _class, _temp;
var _dec, _class;
var DataSourcePlugin = (_dec = (0, _inversify.injectable)(), _dec(_class = (_temp = function () {
var DataSourcePlugin = (_dec = (0, _inversify.injectable)(), _dec(_class = function () {
function DataSourcePlugin() {
(0, _classCallCheck2.default)(this, DataSourcePlugin);
this.mapService = void 0;
(0, _defineProperty2.default)(this, "mapService", void 0);
}

@@ -78,4 +80,4 @@

return DataSourcePlugin;
}(), _temp)) || _class);
}()) || _class);
exports.default = DataSourcePlugin;
//# sourceMappingURL=DataSourcePlugin.js.map

@@ -5,3 +5,3 @@ "use strict";

var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard");
var _typeof = require("@babel/runtime/helpers/typeof");

@@ -39,7 +39,11 @@ Object.defineProperty(exports, "__esModule", {

var _scaleMap, _dec, _dec2, _dec3, _class, _class2, _descriptor, _descriptor2, _temp;
var _scaleMap, _dec, _dec2, _dec3, _class, _class2, _descriptor, _descriptor2;
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
var dateRegex = /^(?:(?!0000)[0-9]{4}([-/.]+)(?:(?:0?[1-9]|1[0-2])\1(?:0?[1-9]|1[0-9]|2[0-8])|(?:0?[13-9]|1[0-2])\1(?:29|30)|(?:0?[13578]|1[02])\1(?:31))|(?:[0-9]{2}(?:0[48]|[2468][048]|[13579][26])|(?:0[48]|[2468][048]|[13579][26])00)([-/.]?)0?2\2(?:29))(\s+([01]|([01][0-9]|2[0-3])):([0-9]|[0-5][0-9]):([0-9]|[0-5][0-9]))?$/;
var scaleMap = (_scaleMap = {}, (0, _defineProperty2.default)(_scaleMap, _l7Core.ScaleTypes.LINEAR, d3.scaleLinear), (0, _defineProperty2.default)(_scaleMap, _l7Core.ScaleTypes.POWER, d3.scalePow), (0, _defineProperty2.default)(_scaleMap, _l7Core.ScaleTypes.LOG, d3.scaleLog), (0, _defineProperty2.default)(_scaleMap, _l7Core.ScaleTypes.IDENTITY, d3.scaleIdentity), (0, _defineProperty2.default)(_scaleMap, _l7Core.ScaleTypes.TIME, d3.scaleTime), (0, _defineProperty2.default)(_scaleMap, _l7Core.ScaleTypes.QUANTILE, d3.scaleQuantile), (0, _defineProperty2.default)(_scaleMap, _l7Core.ScaleTypes.QUANTIZE, d3.scaleQuantize), (0, _defineProperty2.default)(_scaleMap, _l7Core.ScaleTypes.THRESHOLD, d3.scaleThreshold), (0, _defineProperty2.default)(_scaleMap, _l7Core.ScaleTypes.CAT, d3.scaleOrdinal), _scaleMap);
var FeatureScalePlugin = (_dec = (0, _inversify.injectable)(), _dec2 = (0, _inversify.inject)(_l7Core.TYPES.IGlobalConfigService), _dec3 = (0, _inversify.inject)(_l7Core.TYPES.ILogService), _dec(_class = (_class2 = (_temp = function () {
var FeatureScalePlugin = (_dec = (0, _inversify.injectable)(), _dec2 = (0, _inversify.inject)(_l7Core.TYPES.IGlobalConfigService), _dec3 = (0, _inversify.inject)(_l7Core.TYPES.ILogService), _dec(_class = (_class2 = function () {
function FeatureScalePlugin() {

@@ -49,4 +53,4 @@ (0, _classCallCheck2.default)(this, FeatureScalePlugin);

(0, _initializerDefineProperty2.default)(this, "logger", _descriptor2, this);
this.scaleCache = {};
this.scaleOptions = {};
(0, _defineProperty2.default)(this, "scaleCache", {});
(0, _defineProperty2.default)(this, "scaleOptions", {});
}

@@ -287,3 +291,3 @@

return FeatureScalePlugin;
}(), _temp), (_descriptor = (0, _applyDecoratedDescriptor2.default)(_class2.prototype, "configService", [_dec2], {
}(), (_descriptor = (0, _applyDecoratedDescriptor2.default)(_class2.prototype, "configService", [_dec2], {
configurable: true,

@@ -290,0 +294,0 @@ enumerable: true,

@@ -10,4 +10,2 @@ "use strict";

var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
var _initializerDefineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/initializerDefineProperty"));

@@ -19,2 +17,4 @@

var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
var _applyDecoratedDescriptor2 = _interopRequireDefault(require("@babel/runtime/helpers/applyDecoratedDescriptor"));

@@ -28,9 +28,9 @@

var _dec, _dec2, _dec3, _class, _class2, _descriptor, _descriptor2, _temp;
var _dec, _dec2, _dec3, _class, _class2, _descriptor, _descriptor2;
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { (0, _defineProperty2.default)(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
var LayerAnimateStylePlugin = (_dec = (0, _inversify.injectable)(), _dec2 = (0, _inversify.inject)(_l7Core.TYPES.ICameraService), _dec3 = (0, _inversify.inject)(_l7Core.TYPES.IRendererService), _dec(_class = (_class2 = (_temp = function () {
var LayerAnimateStylePlugin = (_dec = (0, _inversify.injectable)(), _dec2 = (0, _inversify.inject)(_l7Core.TYPES.ICameraService), _dec3 = (0, _inversify.inject)(_l7Core.TYPES.IRendererService), _dec(_class = (_class2 = function () {
function LayerAnimateStylePlugin() {

@@ -53,3 +53,3 @@ (0, _classCallCheck2.default)(this, LayerAnimateStylePlugin);

return LayerAnimateStylePlugin;
}(), _temp), (_descriptor = (0, _applyDecoratedDescriptor2.default)(_class2.prototype, "cameraService", [_dec2], {
}(), (_descriptor = (0, _applyDecoratedDescriptor2.default)(_class2.prototype, "cameraService", [_dec2], {
configurable: true,

@@ -56,0 +56,0 @@ enumerable: true,

@@ -23,4 +23,6 @@ "use strict";

function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
var _excluded = ["type"];
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { (0, _defineProperty2.default)(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }

@@ -81,3 +83,3 @@

type = _ref$type === void 0 ? 'directional' : _ref$type,
rest = (0, _objectWithoutProperties2.default)(_ref, ["type"]);
rest = (0, _objectWithoutProperties2.default)(_ref, _excluded);
var lightsUniformName = lightTypeUniformMap[type].lights;

@@ -84,0 +86,0 @@ var lightsNumUniformName = lightTypeUniformMap[type].num;

@@ -17,2 +17,4 @@ "use strict";

var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
var _applyDecoratedDescriptor2 = _interopRequireDefault(require("@babel/runtime/helpers/applyDecoratedDescriptor"));

@@ -26,3 +28,3 @@

var _dec, _dec2, _class, _class2, _descriptor, _temp;
var _dec, _dec2, _class, _class2, _descriptor;

@@ -39,7 +41,7 @@ function normalizePasses(passes) {

var MultiPassRendererPlugin = (_dec = (0, _inversify.injectable)(), _dec2 = (0, _inversify.inject)(_l7Core.TYPES.IGlobalConfigService), _dec(_class = (_class2 = (_temp = function () {
var MultiPassRendererPlugin = (_dec = (0, _inversify.injectable)(), _dec2 = (0, _inversify.inject)(_l7Core.TYPES.IGlobalConfigService), _dec(_class = (_class2 = function () {
function MultiPassRendererPlugin() {
(0, _classCallCheck2.default)(this, MultiPassRendererPlugin);
(0, _initializerDefineProperty2.default)(this, "configService", _descriptor, this);
this.enabled = void 0;
(0, _defineProperty2.default)(this, "enabled", void 0);
}

@@ -87,3 +89,3 @@

return MultiPassRendererPlugin;
}(), _temp), (_descriptor = (0, _applyDecoratedDescriptor2.default)(_class2.prototype, "configService", [_dec2], {
}(), (_descriptor = (0, _applyDecoratedDescriptor2.default)(_class2.prototype, "configService", [_dec2], {
configurable: true,

@@ -90,0 +92,0 @@ enumerable: true,

@@ -16,2 +16,4 @@ "use strict";

var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
var _applyDecoratedDescriptor2 = _interopRequireDefault(require("@babel/runtime/helpers/applyDecoratedDescriptor"));

@@ -25,5 +27,5 @@

var _dec, _dec2, _class, _class2, _descriptor, _temp;
var _dec, _dec2, _class, _class2, _descriptor;
var RegisterStyleAttributePlugin = (_dec = (0, _inversify.injectable)(), _dec2 = (0, _inversify.inject)(_l7Core.TYPES.ILogService), _dec(_class = (_class2 = (_temp = function () {
var RegisterStyleAttributePlugin = (_dec = (0, _inversify.injectable)(), _dec2 = (0, _inversify.inject)(_l7Core.TYPES.ILogService), _dec(_class = (_class2 = function () {
function RegisterStyleAttributePlugin() {

@@ -115,3 +117,3 @@ (0, _classCallCheck2.default)(this, RegisterStyleAttributePlugin);

return RegisterStyleAttributePlugin;
}(), _temp), (_descriptor = (0, _applyDecoratedDescriptor2.default)(_class2.prototype, "logger", [_dec2], {
}(), (_descriptor = (0, _applyDecoratedDescriptor2.default)(_class2.prototype, "logger", [_dec2], {
configurable: true,

@@ -118,0 +120,0 @@ enumerable: true,

@@ -10,4 +10,2 @@ "use strict";

var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
var _initializerDefineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/initializerDefineProperty"));

@@ -19,2 +17,4 @@

var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
var _applyDecoratedDescriptor2 = _interopRequireDefault(require("@babel/runtime/helpers/applyDecoratedDescriptor"));

@@ -28,5 +28,5 @@

var _dec, _dec2, _dec3, _dec4, _dec5, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4, _temp;
var _dec, _dec2, _dec3, _dec4, _dec5, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4;
var ShaderUniformPlugin = (_dec = (0, _inversify.injectable)(), _dec2 = (0, _inversify.inject)(_l7Core.TYPES.ICameraService), _dec3 = (0, _inversify.inject)(_l7Core.TYPES.ICoordinateSystemService), _dec4 = (0, _inversify.inject)(_l7Core.TYPES.IRendererService), _dec5 = (0, _inversify.inject)(_l7Core.TYPES.IMapService), _dec(_class = (_class2 = (_temp = function () {
var ShaderUniformPlugin = (_dec = (0, _inversify.injectable)(), _dec2 = (0, _inversify.inject)(_l7Core.TYPES.ICameraService), _dec3 = (0, _inversify.inject)(_l7Core.TYPES.ICoordinateSystemService), _dec4 = (0, _inversify.inject)(_l7Core.TYPES.IRendererService), _dec5 = (0, _inversify.inject)(_l7Core.TYPES.IMapService), _dec(_class = (_class2 = function () {
function ShaderUniformPlugin() {

@@ -69,3 +69,3 @@ (0, _classCallCheck2.default)(this, ShaderUniformPlugin);

return ShaderUniformPlugin;
}(), _temp), (_descriptor = (0, _applyDecoratedDescriptor2.default)(_class2.prototype, "cameraService", [_dec2], {
}(), (_descriptor = (0, _applyDecoratedDescriptor2.default)(_class2.prototype, "cameraService", [_dec2], {
configurable: true,

@@ -72,0 +72,0 @@ enumerable: true,

@@ -16,2 +16,4 @@ "use strict";

var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
var _applyDecoratedDescriptor2 = _interopRequireDefault(require("@babel/runtime/helpers/applyDecoratedDescriptor"));

@@ -25,5 +27,5 @@

var _dec, _dec2, _class, _class2, _descriptor, _temp;
var _dec, _dec2, _class, _class2, _descriptor;
var UpdateStyleAttributePlugin = (_dec = (0, _inversify.injectable)(), _dec2 = (0, _inversify.inject)(_l7Core.TYPES.ILogService), _dec(_class = (_class2 = (_temp = function () {
var UpdateStyleAttributePlugin = (_dec = (0, _inversify.injectable)(), _dec2 = (0, _inversify.inject)(_l7Core.TYPES.ILogService), _dec(_class = (_class2 = function () {
function UpdateStyleAttributePlugin() {

@@ -66,8 +68,8 @@ (0, _classCallCheck2.default)(this, UpdateStyleAttributePlugin);

if (filter && filter.needRegenerateVertices || shape && shape.needRegenerateVertices) {
layer.layerModelNeedUpdate = true;
attributes.forEach(function (attr) {
return attr.needRegenerateVertices = false;
});
return;
}
layer.layerModelNeedUpdate = true;
attributes.forEach(function (attr) {
return attr.needRegenerateVertices = false;
});
return;
}

@@ -101,3 +103,3 @@ attributes.filter(function (attribute) {

return UpdateStyleAttributePlugin;
}(), _temp), (_descriptor = (0, _applyDecoratedDescriptor2.default)(_class2.prototype, "logger", [_dec2], {
}(), (_descriptor = (0, _applyDecoratedDescriptor2.default)(_class2.prototype, "logger", [_dec2], {
configurable: true,

@@ -104,0 +106,0 @@ enumerable: true,

@@ -14,2 +14,4 @@ "use strict";

var _assertThisInitialized2 = _interopRequireDefault(require("@babel/runtime/helpers/assertThisInitialized"));
var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits"));

@@ -21,2 +23,4 @@

var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
var _BaseLayer2 = _interopRequireDefault(require("../core/BaseLayer"));

@@ -45,3 +49,3 @@

_this = _super.call.apply(_super, [this].concat(args));
_this.type = 'PointLayer';
(0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "type", 'PointLayer');
return _this;

@@ -48,0 +52,0 @@ }

@@ -14,2 +14,4 @@ "use strict";

var _assertThisInitialized2 = _interopRequireDefault(require("@babel/runtime/helpers/assertThisInitialized"));
var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits"));

@@ -21,2 +23,4 @@

var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
var _l7Core = require("@antv/l7-core");

@@ -50,3 +54,3 @@

_this = _super.call.apply(_super, [this].concat(args));
_this.texture = void 0;
(0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "texture", void 0);
return _this;

@@ -53,0 +57,0 @@ }

@@ -14,2 +14,4 @@ "use strict";

var _assertThisInitialized2 = _interopRequireDefault(require("@babel/runtime/helpers/assertThisInitialized"));
var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits"));

@@ -21,2 +23,4 @@

var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
var _isNumber2 = _interopRequireDefault(require("lodash/isNumber"));

@@ -52,5 +56,4 @@

_this = _super.call.apply(_super, [this].concat(args));
_this.texture = void 0;
_this.updateTexture = function () {
(0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "texture", void 0);
(0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "updateTexture", function () {
var createTexture2D = _this.rendererService.createTexture2D;

@@ -76,4 +79,3 @@

});
};
});
return _this;

@@ -80,0 +82,0 @@ }

@@ -23,2 +23,4 @@ "use strict";

var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
var _toConsumableArray2 = _interopRequireDefault(require("@babel/runtime/helpers/toConsumableArray"));

@@ -40,3 +42,3 @@

function _createForOfIteratorHelper(o, allowArrayLike) { var it; if (typeof Symbol === "undefined" || o[Symbol.iterator] == null) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = o[Symbol.iterator](); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it.return != null) it.return(); } finally { if (didErr) throw err; } } }; }
function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it.return != null) it.return(); } finally { if (didErr) throw err; } } }; }

@@ -96,12 +98,11 @@ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }

_this = _super.call.apply(_super, [this].concat(args));
_this.glyphInfo = void 0;
_this.glyphInfoMap = {};
_this.texture = void 0;
_this.currentZoom = -1;
_this.extent = void 0;
_this.textureHeight = 0;
_this.textCount = 0;
_this.preTextStyle = {};
_this.buildModels = function () {
(0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "glyphInfo", void 0);
(0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "glyphInfoMap", {});
(0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "texture", void 0);
(0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "currentZoom", -1);
(0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "extent", void 0);
(0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "textureHeight", 0);
(0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "textCount", 0);
(0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "preTextStyle", {});
(0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "buildModels", function () {
_this.initGlyph();

@@ -125,4 +126,3 @@

})];
};
});
return _this;

@@ -129,0 +129,0 @@ }

@@ -14,2 +14,4 @@ "use strict";

var _assertThisInitialized2 = _interopRequireDefault(require("@babel/runtime/helpers/assertThisInitialized"));
var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits"));

@@ -21,2 +23,4 @@

var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
var _BaseLayer2 = _interopRequireDefault(require("../core/BaseLayer"));

@@ -45,3 +49,3 @@

_this = _super.call.apply(_super, [this].concat(args));
_this.type = 'PolygonLayer';
(0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "type", 'PolygonLayer');
return _this;

@@ -48,0 +52,0 @@ }

@@ -14,2 +14,4 @@ "use strict";

var _assertThisInitialized2 = _interopRequireDefault(require("@babel/runtime/helpers/assertThisInitialized"));
var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits"));

@@ -21,2 +23,4 @@

var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
var _BaseLayer2 = _interopRequireDefault(require("../core/BaseLayer"));

@@ -45,3 +49,3 @@

_this = _super.call.apply(_super, [this].concat(args));
_this.type = 'RasterLayer';
(0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "type", 'RasterLayer');
return _this;

@@ -48,0 +52,0 @@ }

@@ -14,2 +14,4 @@ "use strict";

var _assertThisInitialized2 = _interopRequireDefault(require("@babel/runtime/helpers/assertThisInitialized"));
var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits"));

@@ -21,2 +23,4 @@

var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
var _l7Core = require("@antv/l7-core");

@@ -52,4 +56,4 @@

_this = _super.call.apply(_super, [this].concat(args));
_this.texture = void 0;
_this.colorTexture = void 0;
(0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "texture", void 0);
(0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "colorTexture", void 0);
return _this;

@@ -56,0 +60,0 @@ }

@@ -10,4 +10,2 @@ "use strict";

var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
var _toConsumableArray2 = _interopRequireDefault(require("@babel/runtime/helpers/toConsumableArray"));

@@ -19,2 +17,4 @@

var _assertThisInitialized2 = _interopRequireDefault(require("@babel/runtime/helpers/assertThisInitialized"));
var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits"));

@@ -26,2 +26,4 @@

var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
var _l7Core = require("@antv/l7-core");

@@ -35,3 +37,3 @@

function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }

@@ -62,5 +64,5 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { (0, _defineProperty2.default)(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }

_this = _super.call.apply(_super, [this].concat(args));
_this.type = 'RasterLayer';
_this.rasterTexture = void 0;
_this.colorTexture = void 0;
(0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "type", 'RasterLayer');
(0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "rasterTexture", void 0);
(0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "colorTexture", void 0);
return _this;

@@ -67,0 +69,0 @@ }

@@ -14,2 +14,4 @@ "use strict";

var _assertThisInitialized2 = _interopRequireDefault(require("@babel/runtime/helpers/assertThisInitialized"));
var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits"));

@@ -21,2 +23,4 @@

var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
var _l7Core = require("@antv/l7-core");

@@ -52,5 +56,5 @@

_this = _super.call.apply(_super, [this].concat(args));
_this.type = 'RasterLayer';
_this.rasterTexture = void 0;
_this.colorTexture = void 0;
(0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "type", 'RasterLayer');
(0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "rasterTexture", void 0);
(0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "colorTexture", void 0);
return _this;

@@ -57,0 +61,0 @@ }

@@ -16,2 +16,4 @@ "use strict";

var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
var _glMatrix = require("gl-matrix");

@@ -24,10 +26,10 @@

(0, _classCallCheck2.default)(this, CollisionIndex);
this.width = void 0;
this.height = void 0;
this.grid = void 0;
this.viewportPadding = 100;
this.screenRightBoundary = void 0;
this.screenBottomBoundary = void 0;
this.gridRightBoundary = void 0;
this.gridBottomBoundary = void 0;
(0, _defineProperty2.default)(this, "width", void 0);
(0, _defineProperty2.default)(this, "height", void 0);
(0, _defineProperty2.default)(this, "grid", void 0);
(0, _defineProperty2.default)(this, "viewportPadding", 100);
(0, _defineProperty2.default)(this, "screenRightBoundary", void 0);
(0, _defineProperty2.default)(this, "screenBottomBoundary", void 0);
(0, _defineProperty2.default)(this, "gridRightBoundary", void 0);
(0, _defineProperty2.default)(this, "gridBottomBoundary", void 0);
this.width = width;

@@ -34,0 +36,0 @@ this.height = height;

@@ -21,2 +21,4 @@ "use strict";

var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
var _l7Utils = require("@antv/l7-utils");

@@ -85,13 +87,13 @@

(0, _classCallCheck2.default)(this, ExtrudePolyline);
this.complex = void 0;
this.join = void 0;
this.cap = void 0;
this.miterLimit = void 0;
this.thickness = void 0;
this.normal = void 0;
this.lastFlip = -1;
this.miter = _glMatrix.vec2.fromValues(0, 0);
this.started = false;
this.dash = false;
this.totalDistance = 0;
(0, _defineProperty2.default)(this, "complex", void 0);
(0, _defineProperty2.default)(this, "join", void 0);
(0, _defineProperty2.default)(this, "cap", void 0);
(0, _defineProperty2.default)(this, "miterLimit", void 0);
(0, _defineProperty2.default)(this, "thickness", void 0);
(0, _defineProperty2.default)(this, "normal", void 0);
(0, _defineProperty2.default)(this, "lastFlip", -1);
(0, _defineProperty2.default)(this, "miter", _glMatrix.vec2.fromValues(0, 0));
(0, _defineProperty2.default)(this, "started", false);
(0, _defineProperty2.default)(this, "dash", false);
(0, _defineProperty2.default)(this, "totalDistance", 0);
this.join = opts.join || 'miter';

@@ -98,0 +100,0 @@ this.cap = opts.cap || 'butt';

@@ -14,4 +14,6 @@ "use strict";

function _createForOfIteratorHelper(o, allowArrayLike) { var it; if (typeof Symbol === "undefined" || o[Symbol.iterator] == null) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = o[Symbol.iterator](); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it.return != null) it.return(); } finally { if (didErr) throw err; } } }; }
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it.return != null) it.return(); } finally { if (didErr) throw err; } } }; }
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }

@@ -24,12 +26,12 @@

(0, _classCallCheck2.default)(this, GridIndex);
this.boxCells = [];
this.xCellCount = void 0;
this.yCellCount = void 0;
this.boxKeys = void 0;
this.bboxes = void 0;
this.width = void 0;
this.height = void 0;
this.xScale = void 0;
this.yScale = void 0;
this.boxUid = void 0;
(0, _defineProperty2.default)(this, "boxCells", []);
(0, _defineProperty2.default)(this, "xCellCount", void 0);
(0, _defineProperty2.default)(this, "yCellCount", void 0);
(0, _defineProperty2.default)(this, "boxKeys", void 0);
(0, _defineProperty2.default)(this, "bboxes", void 0);
(0, _defineProperty2.default)(this, "width", void 0);
(0, _defineProperty2.default)(this, "height", void 0);
(0, _defineProperty2.default)(this, "xScale", void 0);
(0, _defineProperty2.default)(this, "yScale", void 0);
(0, _defineProperty2.default)(this, "boxUid", void 0);
var boxCells = this.boxCells;

@@ -36,0 +38,0 @@ this.xCellCount = Math.ceil(width / cellSize);

@@ -9,3 +9,3 @@ "use strict";

function _createForOfIteratorHelper(o, allowArrayLike) { var it; if (typeof Symbol === "undefined" || o[Symbol.iterator] == null) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = o[Symbol.iterator](); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it.return != null) it.return(); } finally { if (didErr) throw err; } } }; }
function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it.return != null) it.return(); } finally { if (didErr) throw err; } } }; }

@@ -12,0 +12,0 @@ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }

{
"name": "@antv/l7-layers",
"version": "2.5.1",
"version": "2.5.2",
"description": "L7's collection of built-in layers",

@@ -27,5 +27,5 @@ "main": "lib/index.js",

"@antv/async-hook": "^2.1.0",
"@antv/l7-core": "^2.5.1",
"@antv/l7-source": "^2.5.1",
"@antv/l7-utils": "^2.5.1",
"@antv/l7-core": "^2.5.2",
"@antv/l7-source": "^2.5.2",
"@antv/l7-utils": "^2.5.2",
"@babel/runtime": "^7.7.7",

@@ -56,3 +56,3 @@ "@mapbox/martini": "^0.2.0",

},
"gitHead": "8512735699ebed0cf1b8b9c14052c4bdb73fffb4",
"gitHead": "644c37c662968a306535d5a1429b18a6e50b63df",
"publishConfig": {

@@ -59,0 +59,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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc