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.6.0 to 2.6.1

10

index.js

@@ -294,3 +294,2 @@ /*

}),
tilePixelRatio: 8,
urls: tiles

@@ -310,7 +309,12 @@ }),

if (tilejson.getState() == 'ready') {
var tileJsonTileGrid = tilejson.getTileGrid();
layer.setSource(new VectorTileSource({
attributions: tilejson.getAttributions(),
format: new MVT(),
tileGrid: tilejson.getTileGrid(),
tilePixelRatio: 16,
tileGrid: tilegrid.createXYZ({
extent: tilejson.getProjection().getExtent(),
minZoom: tileJsonTileGrid.getMinZoom(),
maxZoom: tileJsonTileGrid.getMaxZoom(),
tileSize: 512
}),
tileUrlFunction: tilejson.getTileUrlFunction()

@@ -317,0 +321,0 @@ }));

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

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

"mapbox-to-css-font": "^2.0.3",
"mapbox-to-ol-style": "^3.1.2",
"mapbox-to-ol-style": "^3.1.3",
"ol": "^4.3.0-beta.3",

@@ -53,0 +53,0 @@ "webfontloader": "^1.6.28"

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

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