We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 49e4630 commit b0037c5Copy full SHA for b0037c5
src/LayersControl.tsx
@@ -41,7 +41,6 @@ export function SourceControl() {
41
tileSize: withDefault(ArrayControl, [256, 256]),
42
nodata: withDefault(NumberControl, 0),
43
ratio: withDefault(NumberControl, 1),
44
- style: withDefault(ArrayOrJSONObjectControl),
45
pmtilesType: withDefault(dropdownControl([
46
{ label: "Raster", value: "raster" },
47
{ label: "Vector", value: "vector" },
@@ -70,7 +69,7 @@ export function SourceControl() {
70
69
'cog': ['url', 'tileSize', 'nodata', 'projection'],
71
'stylegl': ['url', 'projection'],
72
'arcgis-mapserver': ['mapServerType', 'url', 'params', 'ratio', 'crossOrigin'],
73
- 'pmtiles': ['pmtilesType', 'url', 'tileSize', 'style'],
+ 'pmtiles': ['pmtilesType', 'url', 'tileSize'],
74
'arcgis-vector-tiles': ['url', 'projection'],
75
'arcgis-feature-service': ['url', 'projection'],
76
}[layerType] || []; // Default to empty configuration
0 commit comments