@versatiles/style 4.0.4 → 4.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -255,7 +255,7 @@ export default function getLayers(option) {
255
255
  id: 'poi-' + key,
256
256
  type: 'symbol',
257
257
  'source-layer': 'pois',
258
- filter: ['to-boolean', key],
258
+ filter: ['to-boolean', ['get', key]],
259
259
  })),
260
260
  // boundary
261
261
  ...[':outline', ''].flatMap((suffix) => [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@versatiles/style",
3
- "version": "4.0.4",
3
+ "version": "4.0.5",
4
4
  "description": "Generate StyleJSON for MapLibre",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",