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

@antv/l7-maps

Package Overview
Dependencies
Maintainers
23
Versions
540
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@antv/l7-maps - npm Package Compare versions

Comparing version 2.0.0-beta.27 to 2.0.0-beta.28

20

CHANGELOG.md

@@ -6,2 +6,22 @@ # Change Log

# [2.0.0-beta.28](https://github.com/antvis/L7/compare/v2.0.0-beta.16...v2.0.0-beta.28) (2020-01-02)
### Bug Fixes
* mapbox token 校验问题 ([6c1f934](https://github.com/antvis/L7/commit/6c1f93425676c5baad90e464b3915068ba4157e2))
* 高德地图底图模式,事件交互注册顺序的问题导致不生效 ([2ad4289](https://github.com/antvis/L7/commit/2ad4289e75519f956a9cb1b44a7231b1151c88fb))
* **scene:** contianer resize ([1c3be82](https://github.com/antvis/L7/commit/1c3be82711999b70a802a7f0c24ff9ccf76e2d94))
### Features
* add raster layer ([2b28380](https://github.com/antvis/L7/commit/2b2838015198b8586b0c30fdc154116252a76f29))
* **layer:** add blend 效果配置支持 normal,additive ([e0ab4cd](https://github.com/antvis/L7/commit/e0ab4cd386f53ba4e93aaebfb1fa05b6e438710e))
* scene 实例化支持传入地图实例 & 更新文档 ([cb1d4b6](https://github.com/antvis/L7/commit/cb1d4b6c7d0e65a5e15138ae01adb56cd1b6ee43))
# [2.0.0-beta.27](https://github.com/antvis/L7/compare/v2.0.0-beta.16...v2.0.0-beta.27) (2020-01-01)

@@ -8,0 +28,0 @@

6

es/amap/index.js

@@ -277,3 +277,3 @@ import _regeneratorRuntime from "@babel/runtime/regenerator";

var _this$config, id, _this$config$style, style, _this$config$minZoom, minZoom, _this$config$maxZoom, maxZoom, _this$config$token, token, mapInstance, rest;
var _this$config, id, _this$config$style, style, _this$config$minZoom, minZoom, _this$config$maxZoom, maxZoom, _this$config$token, token, mapInstance, _this$config$plugin, plugin, rest;

@@ -284,3 +284,3 @@ return _regeneratorRuntime.wrap(function _callee$(_context) {

case 0:
_this$config = this.config, id = _this$config.id, _this$config$style = _this$config.style, style = _this$config$style === void 0 ? 'light' : _this$config$style, _this$config$minZoom = _this$config.minZoom, minZoom = _this$config$minZoom === void 0 ? 0 : _this$config$minZoom, _this$config$maxZoom = _this$config.maxZoom, maxZoom = _this$config$maxZoom === void 0 ? 18 : _this$config$maxZoom, _this$config$token = _this$config.token, token = _this$config$token === void 0 ? AMAP_API_KEY : _this$config$token, mapInstance = _this$config.mapInstance, rest = _objectWithoutProperties(_this$config, ["id", "style", "minZoom", "maxZoom", "token", "mapInstance"]);
_this$config = this.config, id = _this$config.id, _this$config$style = _this$config.style, style = _this$config$style === void 0 ? 'light' : _this$config$style, _this$config$minZoom = _this$config.minZoom, minZoom = _this$config$minZoom === void 0 ? 0 : _this$config$minZoom, _this$config$maxZoom = _this$config.maxZoom, maxZoom = _this$config$maxZoom === void 0 ? 18 : _this$config$maxZoom, _this$config$token = _this$config.token, token = _this$config$token === void 0 ? AMAP_API_KEY : _this$config$token, mapInstance = _this$config.mapInstance, _this$config$plugin = _this$config.plugin, plugin = _this$config$plugin === void 0 ? [] : _this$config$plugin, rest = _objectWithoutProperties(_this$config, ["id", "style", "minZoom", "maxZoom", "token", "mapInstance", "plugin"]);
_context.next = 3;

@@ -328,3 +328,3 @@ return new Promise(function (resolve) {

var url = "https://webapi.amap.com/maps?v=".concat(AMAP_VERSION, "&key=").concat(token, "&plugin=Map3D&callback=initAMap");
var url = "https://webapi.amap.com/maps?v=".concat(AMAP_VERSION, "&key=").concat(token, "&plugin=Map3D").concat(plugin.join(','), "&callback=initAMap");
var $jsapi = document.createElement('script');

@@ -331,0 +331,0 @@ $jsapi.id = AMAP_SCRIPT_ID;

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

var _this$config, id, _this$config$style, style, _this$config$minZoom, minZoom, _this$config$maxZoom, maxZoom, _this$config$token, token, mapInstance, rest;
var _this$config, id, _this$config$style, style, _this$config$minZoom, minZoom, _this$config$maxZoom, maxZoom, _this$config$token, token, mapInstance, _this$config$plugin, plugin, rest;

@@ -299,3 +299,3 @@ return _regenerator.default.wrap(function _callee$(_context) {

case 0:
_this$config = this.config, id = _this$config.id, _this$config$style = _this$config.style, style = _this$config$style === void 0 ? 'light' : _this$config$style, _this$config$minZoom = _this$config.minZoom, minZoom = _this$config$minZoom === void 0 ? 0 : _this$config$minZoom, _this$config$maxZoom = _this$config.maxZoom, maxZoom = _this$config$maxZoom === void 0 ? 18 : _this$config$maxZoom, _this$config$token = _this$config.token, token = _this$config$token === void 0 ? AMAP_API_KEY : _this$config$token, mapInstance = _this$config.mapInstance, rest = (0, _objectWithoutProperties2.default)(_this$config, ["id", "style", "minZoom", "maxZoom", "token", "mapInstance"]);
_this$config = this.config, id = _this$config.id, _this$config$style = _this$config.style, style = _this$config$style === void 0 ? 'light' : _this$config$style, _this$config$minZoom = _this$config.minZoom, minZoom = _this$config$minZoom === void 0 ? 0 : _this$config$minZoom, _this$config$maxZoom = _this$config.maxZoom, maxZoom = _this$config$maxZoom === void 0 ? 18 : _this$config$maxZoom, _this$config$token = _this$config.token, token = _this$config$token === void 0 ? AMAP_API_KEY : _this$config$token, mapInstance = _this$config.mapInstance, _this$config$plugin = _this$config.plugin, plugin = _this$config$plugin === void 0 ? [] : _this$config$plugin, rest = (0, _objectWithoutProperties2.default)(_this$config, ["id", "style", "minZoom", "maxZoom", "token", "mapInstance", "plugin"]);
_context.next = 3;

@@ -343,3 +343,3 @@ return new Promise(function (resolve) {

var url = "https://webapi.amap.com/maps?v=".concat(AMAP_VERSION, "&key=").concat(token, "&plugin=Map3D&callback=initAMap");
var url = "https://webapi.amap.com/maps?v=".concat(AMAP_VERSION, "&key=").concat(token, "&plugin=Map3D").concat(plugin.join(','), "&callback=initAMap");
var $jsapi = document.createElement('script');

@@ -346,0 +346,0 @@ $jsapi.id = AMAP_SCRIPT_ID;

{
"name": "@antv/l7-maps",
"version": "2.0.0-beta.27",
"version": "2.0.0-beta.28",
"description": "",

@@ -26,4 +26,4 @@ "main": "lib/index.js",

"dependencies": {
"@antv/l7-core": "^2.0.0-beta.27",
"@antv/l7-utils": "^2.0.0-beta.27",
"@antv/l7-core": "^2.0.0-beta.28",
"@antv/l7-utils": "^2.0.0-beta.28",
"@babel/runtime": "^7.7.7",

@@ -41,3 +41,3 @@ "gl-matrix": "^3.1.0",

},
"gitHead": "09bd078b95b4b341b0ffe4976c1a3778e2427eda",
"gitHead": "547ec61b757ac8e78cdddb45369a46c6209af749",
"publishConfig": {

@@ -44,0 +44,0 @@ "access": "public"

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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