@gooddata/sdk-ui-geo 11.28.0-alpha.2 → 11.28.0-alpha.3
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styleEndpoint.d.ts","sourceRoot":"","sources":["../../../../src/next/map/style/styleEndpoint.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AAEpE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AAC3E,OAAO,EACH,KAAK,UAAU,EACf,KAAK,cAAc,EAEtB,MAAM,4BAA4B,CAAC;
|
|
1
|
+
{"version":3,"file":"styleEndpoint.d.ts","sourceRoot":"","sources":["../../../../src/next/map/style/styleEndpoint.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AAEpE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AAC3E,OAAO,EACH,KAAK,UAAU,EACf,KAAK,cAAc,EAEtB,MAAM,4BAA4B,CAAC;AAuBpC;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAsB,aAAa,CAC/B,OAAO,EAAE,kBAAkB,EAC3B,OAAO,CAAC,EAAE,UAAU,EACpB,WAAW,CAAC,EAAE,cAAc,EAC5B,QAAQ,CAAC,EAAE,MAAM,GAClB,OAAO,CAAC,kBAAkB,CAAC,CAU7B"}
|
|
@@ -1,6 +1,23 @@
|
|
|
1
1
|
// (C) 2025-2026 GoodData Corporation
|
|
2
2
|
import { doesGeoBasemapSupportColorScheme, } from "../../types/map/basemap.js";
|
|
3
3
|
const ABSOLUTE_URL_PATTERN = /^https?:\/\//i;
|
|
4
|
+
/**
|
|
5
|
+
* All source types recognized by the MapLibre style specification v8.
|
|
6
|
+
* Sources with an unrecognized type trigger a console warning.
|
|
7
|
+
*/
|
|
8
|
+
const KNOWN_SOURCE_TYPES = new Set([
|
|
9
|
+
"vector",
|
|
10
|
+
"raster",
|
|
11
|
+
"raster-dem",
|
|
12
|
+
"geojson",
|
|
13
|
+
"image",
|
|
14
|
+
"video",
|
|
15
|
+
"canvas",
|
|
16
|
+
]);
|
|
17
|
+
/**
|
|
18
|
+
* Tile-based source types that optionally define data via "tiles" or "url".
|
|
19
|
+
*/
|
|
20
|
+
const TILE_SOURCE_TYPES = new Set(["vector", "raster", "raster-dem"]);
|
|
4
21
|
/**
|
|
5
22
|
* Fetches the MapLibre style specification from the backend.
|
|
6
23
|
*
|
|
@@ -29,50 +46,147 @@ export async function fetchMapStyle(backend, basemap, colorScheme, language) {
|
|
|
29
46
|
return style;
|
|
30
47
|
}
|
|
31
48
|
function assertValidStyle(style) {
|
|
32
|
-
if (!style
|
|
49
|
+
if (!isRecord(style)) {
|
|
33
50
|
throw new Error("Geo style payload is not an object.");
|
|
34
51
|
}
|
|
35
|
-
const
|
|
36
|
-
if (typeof
|
|
52
|
+
const version = style["version"];
|
|
53
|
+
if (typeof version !== "number" || version < 8) {
|
|
37
54
|
throw new Error("Geo style payload must contain a valid style version.");
|
|
38
55
|
}
|
|
39
|
-
|
|
56
|
+
const sources = style["sources"];
|
|
57
|
+
if (!isRecord(sources)) {
|
|
40
58
|
throw new Error("Geo style payload must contain sources.");
|
|
41
59
|
}
|
|
42
|
-
|
|
60
|
+
const glyphs = style["glyphs"];
|
|
61
|
+
if (typeof glyphs !== "string") {
|
|
43
62
|
throw new Error("Geo style payload must contain glyphs definition.");
|
|
44
63
|
}
|
|
45
|
-
assertAbsoluteUrl(
|
|
46
|
-
const
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
64
|
+
assertAbsoluteUrl(glyphs, "glyphs");
|
|
65
|
+
for (const sourceName of getReferencedSources(style)) {
|
|
66
|
+
validateSource(sourceName, sources[sourceName]);
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
function validateSource(name, source) {
|
|
70
|
+
if (!isRecord(source)) {
|
|
71
|
+
console.warn(`[GeoChart] Referenced source "${name}" is missing from the style definition.`);
|
|
72
|
+
return;
|
|
73
|
+
}
|
|
74
|
+
const sourceType = source["type"];
|
|
75
|
+
if (sourceType === undefined) {
|
|
76
|
+
console.warn(`[GeoChart] Source "${name}" is missing a "type" property.`);
|
|
77
|
+
return;
|
|
78
|
+
}
|
|
79
|
+
if (typeof sourceType !== "string" || !KNOWN_SOURCE_TYPES.has(sourceType)) {
|
|
80
|
+
console.warn(`[GeoChart] Source "${name}" has unrecognized type "${String(sourceType)}".`);
|
|
81
|
+
return;
|
|
82
|
+
}
|
|
83
|
+
if (TILE_SOURCE_TYPES.has(sourceType)) {
|
|
84
|
+
validateTileSource(name, sourceType, source);
|
|
85
|
+
}
|
|
86
|
+
else if (sourceType === "geojson") {
|
|
87
|
+
validateGeoJsonSource(name, source);
|
|
88
|
+
}
|
|
89
|
+
else if (sourceType === "image") {
|
|
90
|
+
validateImageSource(name, source);
|
|
91
|
+
}
|
|
92
|
+
else if (sourceType === "video") {
|
|
93
|
+
validateVideoSource(name, source);
|
|
94
|
+
}
|
|
95
|
+
else if (sourceType === "canvas") {
|
|
96
|
+
validateCanvasSource(name, source);
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
function validateTileSource(name, sourceType, source) {
|
|
100
|
+
const url = source["url"];
|
|
101
|
+
const tiles = getNonEmptyStringArray(source["tiles"]);
|
|
102
|
+
const hasTiles = tiles.length > 0;
|
|
103
|
+
const hasUrl = typeof url === "string" && url.length > 0;
|
|
104
|
+
if (!hasTiles && !hasUrl) {
|
|
105
|
+
console.warn(`[GeoChart] Source "${name}" (type: ${sourceType}) has no "tiles" or "url" defined.`);
|
|
106
|
+
return;
|
|
107
|
+
}
|
|
108
|
+
if (hasTiles) {
|
|
109
|
+
tiles.forEach((tileUrl) => warnNonAbsoluteUrl(tileUrl, `source "${name}" tiles`));
|
|
110
|
+
}
|
|
111
|
+
if (hasUrl) {
|
|
112
|
+
warnNonAbsoluteUrl(url, `source "${name}" url`);
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
function validateGeoJsonSource(name, source) {
|
|
116
|
+
const data = source["data"];
|
|
117
|
+
if (data === undefined || data === null) {
|
|
118
|
+
console.warn(`[GeoChart] GeoJSON source "${name}" is missing required "data" property.`);
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
function validateImageSource(name, source) {
|
|
122
|
+
const url = source["url"];
|
|
123
|
+
if (typeof url !== "string" || url.length === 0) {
|
|
124
|
+
console.warn(`[GeoChart] Image source "${name}" is missing required "url" property.`);
|
|
125
|
+
}
|
|
126
|
+
else {
|
|
127
|
+
warnNonAbsoluteUrl(url, `source "${name}" url`);
|
|
128
|
+
}
|
|
129
|
+
if (!Array.isArray(source["coordinates"])) {
|
|
130
|
+
console.warn(`[GeoChart] Image source "${name}" is missing required "coordinates" property.`);
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
function validateVideoSource(name, source) {
|
|
134
|
+
if (getNonEmptyStringArray(source["urls"]).length === 0) {
|
|
135
|
+
console.warn(`[GeoChart] Video source "${name}" is missing required "urls" property.`);
|
|
136
|
+
}
|
|
137
|
+
if (!Array.isArray(source["coordinates"])) {
|
|
138
|
+
console.warn(`[GeoChart] Video source "${name}" is missing required "coordinates" property.`);
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
function validateCanvasSource(name, source) {
|
|
142
|
+
const canvas = source["canvas"];
|
|
143
|
+
if (typeof canvas !== "string" || canvas.length === 0) {
|
|
144
|
+
console.warn(`[GeoChart] Canvas source "${name}" is missing required "canvas" property.`);
|
|
145
|
+
}
|
|
146
|
+
if (!Array.isArray(source["coordinates"])) {
|
|
147
|
+
console.warn(`[GeoChart] Canvas source "${name}" is missing required "coordinates" property.`);
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
function getReferencedSources(style) {
|
|
151
|
+
const referencedSources = new Set();
|
|
152
|
+
const layers = style["layers"];
|
|
153
|
+
if (Array.isArray(layers)) {
|
|
154
|
+
for (const layer of layers) {
|
|
155
|
+
if (!isRecord(layer)) {
|
|
156
|
+
continue;
|
|
157
|
+
}
|
|
158
|
+
const source = layer["source"];
|
|
159
|
+
if (typeof source === "string" && source.length > 0) {
|
|
160
|
+
referencedSources.add(source);
|
|
161
|
+
}
|
|
58
162
|
}
|
|
59
|
-
|
|
60
|
-
|
|
163
|
+
}
|
|
164
|
+
const terrain = style["terrain"];
|
|
165
|
+
if (isRecord(terrain)) {
|
|
166
|
+
const source = terrain["source"];
|
|
167
|
+
if (typeof source === "string" && source.length > 0) {
|
|
168
|
+
referencedSources.add(source);
|
|
61
169
|
}
|
|
62
170
|
}
|
|
171
|
+
return referencedSources;
|
|
172
|
+
}
|
|
173
|
+
function getNonEmptyStringArray(value) {
|
|
174
|
+
if (!Array.isArray(value)) {
|
|
175
|
+
return [];
|
|
176
|
+
}
|
|
177
|
+
return value.filter((item) => typeof item === "string" && item.length > 0);
|
|
178
|
+
}
|
|
179
|
+
function isRecord(value) {
|
|
180
|
+
return value !== null && typeof value === "object";
|
|
63
181
|
}
|
|
64
182
|
function assertAbsoluteUrl(value, fieldName) {
|
|
65
183
|
if (!ABSOLUTE_URL_PATTERN.test(value)) {
|
|
66
184
|
throw new Error(`Geo style ${fieldName} must be an absolute URL.`);
|
|
67
185
|
}
|
|
68
186
|
}
|
|
69
|
-
function
|
|
70
|
-
if (!
|
|
71
|
-
|
|
72
|
-
}
|
|
73
|
-
if (!("type" in source)) {
|
|
74
|
-
return false;
|
|
187
|
+
function warnNonAbsoluteUrl(value, fieldName) {
|
|
188
|
+
if (!ABSOLUTE_URL_PATTERN.test(value)) {
|
|
189
|
+
console.warn(`[GeoChart] Geo style ${fieldName} should be an absolute URL.`);
|
|
75
190
|
}
|
|
76
|
-
return source.type === "vector";
|
|
77
191
|
}
|
|
78
192
|
//# sourceMappingURL=styleEndpoint.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styleEndpoint.js","sourceRoot":"","sources":["../../../../src/next/map/style/styleEndpoint.ts"],"names":[],"mappings":"AAAA,qCAAqC;AAKrC,OAAO,EAGH,gCAAgC,GACnC,MAAM,4BAA4B,CAAC;AAEpC,MAAM,oBAAoB,GAAG,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"styleEndpoint.js","sourceRoot":"","sources":["../../../../src/next/map/style/styleEndpoint.ts"],"names":[],"mappings":"AAAA,qCAAqC;AAKrC,OAAO,EAGH,gCAAgC,GACnC,MAAM,4BAA4B,CAAC;AAEpC,MAAM,oBAAoB,GAAG,eAAe,CAAC;AAE7C;;;GAGG;AACH,MAAM,kBAAkB,GAAwB,IAAI,GAAG,CAAC;IACpD,QAAQ;IACR,QAAQ;IACR,YAAY;IACZ,SAAS;IACT,OAAO;IACP,OAAO;IACP,QAAQ;CACX,CAAC,CAAC;AAEH;;GAEG;AACH,MAAM,iBAAiB,GAAwB,IAAI,GAAG,CAAC,CAAC,QAAQ,EAAE,QAAQ,EAAE,YAAY,CAAC,CAAC,CAAC;AAE3F;;;;;;;;;;;;;;;;GAgBG;AACH,MAAM,CAAC,KAAK,UAAU,aAAa,CAC/B,OAA2B,EAC3B,OAAoB,EACpB,WAA4B,EAC5B,QAAiB,EACU;IAC3B,MAAM,gBAAgB,GAClB,WAAW,KAAK,SAAS,IAAI,OAAO,KAAK,SAAS,IAAI,CAAC,gCAAgC,CAAC,OAAO,CAAC;QAC5F,CAAC,CAAC,SAAS;QACX,CAAC,CAAC,WAAW,CAAC;IACtB,MAAM,KAAK,GAAG,CAAC,MAAM,OAAO;SACvB,GAAG,EAAE;SACL,eAAe,CAAC,EAAE,OAAO,EAAE,WAAW,EAAE,gBAAgB,EAAE,QAAQ,EAAE,CAAC,CAAY,CAAC;IACvF,gBAAgB,CAAC,KAA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C,KAAK,CAAC,EAAE,CAAC;QACpC,OAAO,CAAC,IAAI,CAAC,wBAAwB,SAAS,6BAA6B,CAAC,CAAC;IACjF,CAAC;AAAA,CACJ"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gooddata/sdk-ui-geo",
|
|
3
|
-
"version": "11.28.0-alpha.
|
|
3
|
+
"version": "11.28.0-alpha.3",
|
|
4
4
|
"description": "GoodData.UI SDK - Geo Charts",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "GoodData Corporation",
|
|
@@ -43,12 +43,12 @@
|
|
|
43
43
|
"ts-invariant": "0.10.3",
|
|
44
44
|
"tslib": "2.8.1",
|
|
45
45
|
"uuid": "11.1.0",
|
|
46
|
-
"@gooddata/sdk-
|
|
47
|
-
"@gooddata/sdk-
|
|
48
|
-
"@gooddata/sdk-
|
|
49
|
-
"@gooddata/sdk-ui-
|
|
50
|
-
"@gooddata/sdk-ui-
|
|
51
|
-
"@gooddata/sdk-ui-vis-commons": "11.28.0-alpha.
|
|
46
|
+
"@gooddata/sdk-ui": "11.28.0-alpha.3",
|
|
47
|
+
"@gooddata/sdk-model": "11.28.0-alpha.3",
|
|
48
|
+
"@gooddata/sdk-backend-spi": "11.28.0-alpha.3",
|
|
49
|
+
"@gooddata/sdk-ui-theme-provider": "11.28.0-alpha.3",
|
|
50
|
+
"@gooddata/sdk-ui-kit": "11.28.0-alpha.3",
|
|
51
|
+
"@gooddata/sdk-ui-vis-commons": "11.28.0-alpha.3"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
54
|
"@microsoft/api-documenter": "^7.17.0",
|
|
@@ -91,10 +91,10 @@
|
|
|
91
91
|
"typescript": "5.9.3",
|
|
92
92
|
"vitest": "4.1.0",
|
|
93
93
|
"vitest-dom": "0.1.1",
|
|
94
|
-
"@gooddata/
|
|
95
|
-
"@gooddata/
|
|
96
|
-
"@gooddata/sdk-backend-mockingbird": "11.28.0-alpha.
|
|
97
|
-
"@gooddata/stylelint-config": "11.28.0-alpha.
|
|
94
|
+
"@gooddata/eslint-config": "11.28.0-alpha.3",
|
|
95
|
+
"@gooddata/oxlint-config": "11.28.0-alpha.3",
|
|
96
|
+
"@gooddata/sdk-backend-mockingbird": "11.28.0-alpha.3",
|
|
97
|
+
"@gooddata/stylelint-config": "11.28.0-alpha.3"
|
|
98
98
|
},
|
|
99
99
|
"peerDependencies": {
|
|
100
100
|
"react": "^18.0.0 || ^19.0.0",
|