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
22
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.17 to 2.0.0-beta.18

22

CHANGELOG.md

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

# [2.0.0-beta.18](https://github.com/antvis/L7/compare/v2.0.0-beta.16...v2.0.0-beta.18) (2019-12-08)
### Bug Fixes
* **scene:** contianer resize ([1c3be82](https://github.com/antvis/L7/commit/1c3be82711999b70a802a7f0c24ff9ccf76e2d94))
# [2.0.0-beta.17](https://github.com/antvis/L7/compare/v2.0.0-beta.16...v2.0.0-beta.17) (2019-12-08)
### Bug Fixes
* **scene:** contianer resize ([1c3be82](https://github.com/antvis/L7/commit/1c3be82711999b70a802a7f0c24ff9ccf76e2d94))
# [2.0.0-beta.16](https://github.com/antvis/L7/compare/v2.0.0-beta.15...v2.0.0-beta.16) (2019-11-29)

@@ -8,0 +30,0 @@

8

es/amap/index.js

@@ -30,2 +30,3 @@ var _dec, _dec2, _dec3, _dec4, _class, _class2, _descriptor, _descriptor2, _descriptor3, _temp;

import Viewport from './Viewport';
var mapdivCount = 0;
var AMAP_API_KEY = '15cd8a57710d40c9b7c0e3cc120f1200';

@@ -175,3 +176,6 @@ var AMAP_VERSION = '1.4.15';

var SW = amapBound.getSouthWest();
return [[SW.getLng(), SW.getLat()], [NE.getLng(), NE.getLat()]];
var center = this.getCenter();
var maxlng = center.lng > NE.getLng() || center.lng < SW.getLng() ? 180 - NE.getLng() : NE.getLng();
var minlng = center.lng < SW.getLng() ? SW.getLng() - 180 : SW.getLng();
return [[minlng, SW.getLat()], [maxlng, NE.getLat()]];
}

@@ -392,3 +396,3 @@ }, {

$amapdiv.style.cssText += "\n position: absolute;\n top: 0;\n z-index:2;\n height: 100%;\n width: 100%;\n ";
$amapdiv.id = 'l7_amap_div';
$amapdiv.id = 'l7_amap_div' + mapdivCount++;
$wrapper.appendChild($amapdiv);

@@ -395,0 +399,0 @@ return $amapdiv;

export var MapTheme = {
dark: 'amap://styles/2a09079c3daac9420ee53b67307a8006?isPublic=true',
light: 'amap://styles/1fd9f8ef9751298f11f5c56968312c70?isPublic=true',
normal: 'amap://styles/12db649ba3493333b098127ed892c0cb?isPublic=true'
normal: 'amap://styles/12db649ba3493333b098127ed892c0cb?isPublic=true',
blank: 'amap://styles/07c17002b38775b32a7a76c66cf90e99?isPublic=true'
};
//# sourceMappingURL=theme.js.map
export var MapTheme = {
light: 'mapbox://styles/zcxduo/ck2ypyb1r3q9o1co1766dex29',
dark: 'mapbox://styles/zcxduo/ck241p6413s0b1cpayzldv7x7',
normal: 'mapbox://styles/mapbox/streets-v11'
normal: 'mapbox://styles/mapbox/streets-v11',
blank: {
version: 8,
sprite: 'https://lzxue.github.io/font-glyphs/sprite/sprite',
glyphs: 'https://gw.alipayobjects.com/os/antvdemo/assets/mapbox/glyphs/{fontstack}/{range}.pbf',
sources: {},
layers: [{
id: 'background',
type: 'background',
paint: {
'background-color': 'white'
}
}]
}
};
//# sourceMappingURL=theme.js.map

@@ -44,2 +44,3 @@ "use strict";

var mapdivCount = 0;
var AMAP_API_KEY = '15cd8a57710d40c9b7c0e3cc120f1200';

@@ -189,3 +190,6 @@ var AMAP_VERSION = '1.4.15';

var SW = amapBound.getSouthWest();
return [[SW.getLng(), SW.getLat()], [NE.getLng(), NE.getLat()]];
var center = this.getCenter();
var maxlng = center.lng > NE.getLng() || center.lng < SW.getLng() ? 180 - NE.getLng() : NE.getLng();
var minlng = center.lng < SW.getLng() ? SW.getLng() - 180 : SW.getLng();
return [[minlng, SW.getLat()], [maxlng, NE.getLat()]];
}

@@ -406,3 +410,3 @@ }, {

$amapdiv.style.cssText += "\n position: absolute;\n top: 0;\n z-index:2;\n height: 100%;\n width: 100%;\n ";
$amapdiv.id = 'l7_amap_div';
$amapdiv.id = 'l7_amap_div' + mapdivCount++;
$wrapper.appendChild($amapdiv);

@@ -409,0 +413,0 @@ return $amapdiv;

@@ -10,5 +10,6 @@ "use strict";

light: 'amap://styles/1fd9f8ef9751298f11f5c56968312c70?isPublic=true',
normal: 'amap://styles/12db649ba3493333b098127ed892c0cb?isPublic=true'
normal: 'amap://styles/12db649ba3493333b098127ed892c0cb?isPublic=true',
blank: 'amap://styles/07c17002b38775b32a7a76c66cf90e99?isPublic=true'
};
exports.MapTheme = MapTheme;
//# sourceMappingURL=theme.js.map

@@ -10,5 +10,18 @@ "use strict";

dark: 'mapbox://styles/zcxduo/ck241p6413s0b1cpayzldv7x7',
normal: 'mapbox://styles/mapbox/streets-v11'
normal: 'mapbox://styles/mapbox/streets-v11',
blank: {
version: 8,
sprite: 'https://lzxue.github.io/font-glyphs/sprite/sprite',
glyphs: 'https://gw.alipayobjects.com/os/antvdemo/assets/mapbox/glyphs/{fontstack}/{range}.pbf',
sources: {},
layers: [{
id: 'background',
type: 'background',
paint: {
'background-color': 'white'
}
}]
}
};
exports.MapTheme = MapTheme;
//# sourceMappingURL=theme.js.map

@@ -21,2 +21,2 @@ MIT License

OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
SOFTWARE.
{
"name": "@antv/l7-maps",
"version": "2.0.0-beta.17",
"version": "2.0.0-beta.18",
"description": "",

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

"dependencies": {
"@antv/l7-core": "^2.0.0-beta.17",
"@antv/l7-utils": "^2.0.0-beta.17",
"@antv/l7-core": "^2.0.0-beta.18",
"@antv/l7-utils": "^2.0.0-beta.18",
"gl-matrix": "^3.1.0",

@@ -40,3 +40,3 @@ "inversify": "^5.0.1",

},
"gitHead": "0f37684060214079d11972d2d449bd559c4ce33f",
"gitHead": "7c12c2b43c89fe6d7d9adc731e11585560874f81",
"publishConfig": {

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

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