ol-mapbox-style
Advanced tools
Comparing version 8.1.0 to 8.1.1
# Changelog | ||
## 8.1.1 | ||
* Add main field to package.json to avoid ESLint complaints (was meant to go into 8.1.0 already) | ||
## 8.1.0 | ||
@@ -4,0 +8,0 @@ |
{ | ||
"name": "ol-mapbox-style", | ||
"version": "8.1.0", | ||
"version": "8.1.1", | ||
"description": "Create OpenLayers maps from Mapbox Style objects", | ||
"type": "module", | ||
"browser": "dist/index.js", | ||
"main": "dist/olms.js", | ||
"module": "dist/index.js", | ||
@@ -55,3 +56,3 @@ "types": "dist/index.d.ts", | ||
"concat-md": "^0.4.0", | ||
"copy-webpack-plugin": "^10.0.0", | ||
"copy-webpack-plugin": "^11.0.0", | ||
"coverage-istanbul-loader": "^3.0.5", | ||
@@ -61,3 +62,3 @@ "css-loader": "^6.5.1", | ||
"eslint": "^8.2.0", | ||
"eslint-config-openlayers": "^16.0.1", | ||
"eslint-config-openlayers": "^16.2.3", | ||
"eslint-import-resolver-alias": "^1.1.2", | ||
@@ -75,6 +76,6 @@ "html-webpack-plugin": "^5.5.0", | ||
"mini-css-extract-plugin": "^2.4.4", | ||
"mocha": "^9.1.3", | ||
"mocha": "^10.0.0", | ||
"nanoassert": "^2.0.0", | ||
"ol": "^6.14.2-dev.1652464787949", | ||
"puppeteer": "^13.0.0", | ||
"puppeteer": "^14.1.1", | ||
"remove-flow-types-loader": "^1.1.0", | ||
@@ -81,0 +82,0 @@ "rollup": "^2.70.2", |
@@ -169,3 +169,3 @@ # ol-mapbox-style | ||
| :------ | :------ | :------ | | ||
| `map` | `string` \| `Map` \| `HTMLElement` | Either an existing OpenLayers Map instance, or a HTML element, or the id of a HTML element that will be the target of a new OpenLayers Map. | | ||
| `map` | `string` \| `HTMLElement` \| `Map` | Either an existing OpenLayers Map instance, or a HTML element, or the id of a HTML element that will be the target of a new OpenLayers Map. | | ||
| `style` | `any` | JSON style object or style url pointing to a Mapbox Style object. When using Mapbox APIs, the url is the `styleUrl` shown in Mapbox Studio's "share" panel. In addition, the `accessToken` option (see below) must be set. When passed as JSON style object, all OpenLayers layers created by `apply()` will be immediately available, but they may not have a source yet (i.e. when they are defined by a TileJSON url in the Mapbox Style document). When passed as style url, layers will be added to the map when the Mapbox Style document is loaded and parsed. | | ||
@@ -172,0 +172,0 @@ | `options` | [`Options`](#interfacestypesoptionsmd) | Options. | |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
6275947
18332