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

ol-mapbox-style

Package Overview
Dependencies
Maintainers
1
Versions
170
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ol-mapbox-style - npm Package Compare versions

Comparing version 2.8.1 to 2.8.2

4

index.js

@@ -183,7 +183,7 @@ /*

element.style.backgroundColor =
glfun(paint['background-color'], {function: 'piecewise-constant'})(zoom);
glfun(paint['background-color'], {function: 'piecewise-constant', type: 'color'})(zoom);
}
if ('background-opacity' in paint) {
element.style.backgroundOpacity =
glfun(paint['background-opacity'], {function: 'interpolated'})(zoom);
glfun(paint['background-opacity'], {function: 'interpolated', type: 'number'})(zoom);
}

@@ -190,0 +190,0 @@ if (layout.visibility == 'none') {

{
"name": "ol-mapbox-style",
"version": "2.8.1",
"version": "2.8.2",
"description": "Create OpenLayers maps from Mapbox Style objects",

@@ -51,3 +51,3 @@ "main": "index.js",

"dependencies": {
"@mapbox/mapbox-gl-style-spec": "^9.0.0",
"@mapbox/mapbox-gl-style-spec": "^10.1.0",
"mapbox-to-css-font": "^2.1.0",

@@ -54,0 +54,0 @@ "mapbox-to-ol-style": "^3.2.5",

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