Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@antv/l7-maps

Package Overview
Dependencies
Maintainers
65
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.21.11-beta.4 to 2.21.11-beta.5

1

es/map/map.d.ts

@@ -20,4 +20,5 @@ /**

init(): Promise<void>;
protected creatMapContainer(id: string | HTMLDivElement): HTMLDivElement;
exportMap(type: 'jpg' | 'png'): string;
getCanvasOverlays(): HTMLElement | null;
}

@@ -117,2 +117,17 @@ import _objectSpread from "@babel/runtime/helpers/esm/objectSpread2";

}
creatMapContainer(id) {
let wrapper = id;
if (typeof id === 'string') {
wrapper = document.getElementById(id);
}
const container = document.createElement('div');
container.style.cssText += `
position: absolute;
top: 0;
height: 100%;
width: 100%;
`;
wrapper.appendChild(container);
return container;
}
exportMap(type) {

@@ -119,0 +134,0 @@ const renderCanvas = this.map.getCanvas();

@@ -20,4 +20,5 @@ /**

init(): Promise<void>;
protected creatMapContainer(id: string | HTMLDivElement): HTMLDivElement;
exportMap(type: 'jpg' | 'png'): string;
getCanvasOverlays(): HTMLElement | null;
}

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

}
creatMapContainer(id) {
let wrapper = id;
if (typeof id === 'string') {
wrapper = document.getElementById(id);
}
const container = document.createElement('div');
container.style.cssText += `
position: absolute;
top: 0;
height: 100%;
width: 100%;
`;
wrapper.appendChild(container);
return container;
}
exportMap(type) {

@@ -124,0 +139,0 @@ const renderCanvas = this.map.getCanvas();

8

package.json
{
"name": "@antv/l7-maps",
"version": "2.21.11-beta.4",
"version": "2.21.11-beta.5",
"description": "Maps for L7",

@@ -28,5 +28,5 @@ "license": "MIT",

"viewport-mercator-project": "^6.2.1",
"@antv/l7-core": "2.21.11-beta.4",
"@antv/l7-map": "2.21.11-beta.4",
"@antv/l7-utils": "2.21.11-beta.4"
"@antv/l7-core": "2.21.11-beta.5",
"@antv/l7-map": "2.21.11-beta.5",
"@antv/l7-utils": "2.21.11-beta.5"
},

@@ -33,0 +33,0 @@ "devDependencies": {

Sorry, the diff of this file is too big to display

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