diff --git a/package-lock.json b/package-lock.json index c81c74b..b4c8b8c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -4518,7 +4518,7 @@ }, "node_modules/@clack/prompts/node_modules/is-unicode-supported": { "version": "1.3.0", - "extraneous": true, + "dev": true, "inBundle": true, "license": "MIT", "engines": { diff --git a/packages/ol-gsi-vt/src/layers/gsi-opt-vt-pale.ts b/packages/ol-gsi-vt/src/layers/gsi-opt-vt-pale.ts index fcd9180..384fb42 100644 --- a/packages/ol-gsi-vt/src/layers/gsi-opt-vt-pale.ts +++ b/packages/ol-gsi-vt/src/layers/gsi-opt-vt-pale.ts @@ -12,7 +12,7 @@ function gsiOptVtPaleLayer({ declutter = true, background, ...vectorTileOptions -}: GsiOptVtLayerOptions) { +}: GsiOptVtLayerOptions = {}) { return new VectorTileLayer({ source: new PMTilesVectorSource({ url: "https://cyberjapandata.gsi.go.jp/xyz/optimal_bvmap-v1/optimal_bvmap-v1.pmtiles", diff --git a/packages/ol-gsi-vt/src/layers/gsi-opt-vt.ts b/packages/ol-gsi-vt/src/layers/gsi-opt-vt.ts index 79060e0..4963120 100644 --- a/packages/ol-gsi-vt/src/layers/gsi-opt-vt.ts +++ b/packages/ol-gsi-vt/src/layers/gsi-opt-vt.ts @@ -12,7 +12,7 @@ function gsiOptVtLayer({ declutter = true, background, ...vectorTileOptions -}: GsiOptVtLayerOptions) { +}: GsiOptVtLayerOptions = {}) { return new VectorTileLayer({ source: new PMTilesVectorSource({ url: "https://cyberjapandata.gsi.go.jp/xyz/optimal_bvmap-v1/optimal_bvmap-v1.pmtiles", diff --git a/packages/ol-gsi-vt/src/layers/gsi-vt-pale.ts b/packages/ol-gsi-vt/src/layers/gsi-vt-pale.ts index 9ca963b..ac82b4a 100644 --- a/packages/ol-gsi-vt/src/layers/gsi-vt-pale.ts +++ b/packages/ol-gsi-vt/src/layers/gsi-vt-pale.ts @@ -13,7 +13,7 @@ function gsiVtPaleLayer({ declutter = true, background, ...vectorTileOptions -}: GsiVtLayerOptions) { +}: GsiVtLayerOptions = {}) { return new VectorTileLayer({ source: new VectorTileSource({ format: new MVTFormat({ diff --git a/packages/ol-gsi-vt/src/layers/gsi-vt.ts b/packages/ol-gsi-vt/src/layers/gsi-vt.ts index 27fdbd1..7626438 100644 --- a/packages/ol-gsi-vt/src/layers/gsi-vt.ts +++ b/packages/ol-gsi-vt/src/layers/gsi-vt.ts @@ -13,7 +13,7 @@ function gsiVtLayer({ declutter = true, background, ...vectorTileOptions -}: GsiVtLayerOptions) { +}: GsiVtLayerOptions = {}) { return new VectorTileLayer({ source: new VectorTileSource({ format: new MVTFormat({