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

leaflet-headless

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

leaflet-headless - npm Package Compare versions

Comparing version 0.2.0 to 0.2.1

2

package.json
{
"name": "leaflet-headless",
"version": "0.2.0",
"version": "0.2.1",
"description": "Leaflet for node.",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -7,3 +7,3 @@ Leaflet-headless

- Has Leaflet 1.0.0-rc.1 as dependency.
- Has Leaflet 1.0.2 as dependency.
- Uses [jsdom](https://github.com/tmpvar/jsdom) to fake ad DOM.

@@ -29,7 +29,6 @@ - Uses `Image` implementation and canvas from [canvas](https://github.com/LearnBoost/node-canvas).

// canvas renderer for vector layers:
var canvas = L.canvas();
var latlngs = [[52, 4], [54, 4], [54, 6], [52, 6], [52, 4]];
var polyline = L.polyline(latlngs, {renderer: canvas}).addTo(map);
var polyline = L.polyline(latlngs).addTo(map);
```
### Setting map size

@@ -36,0 +35,0 @@

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