@chrtco/sdk 0.10.40 → 0.10.41
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.
- package/CHANGELOG.md +12 -0
- package/dist/index.cjs +4 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +4 -2
- package/dist/index.js.map +1 -1
- package/package.json +20 -3
package/dist/index.d.cts
CHANGED
|
@@ -3500,6 +3500,8 @@ interface RasterDemSource {
|
|
|
3500
3500
|
tileSize: number;
|
|
3501
3501
|
minzoom: number;
|
|
3502
3502
|
maxzoom: number;
|
|
3503
|
+
/** The credit a renderer shows for this source (MapLibre's attribution control). */
|
|
3504
|
+
attribution?: string;
|
|
3503
3505
|
}
|
|
3504
3506
|
type VectorSourceSpec = MapboxVectorSource | PmtilesVectorSource;
|
|
3505
3507
|
type AnySourceSpec = VectorSourceSpec | RasterDemSource;
|
package/dist/index.d.ts
CHANGED
|
@@ -3500,6 +3500,8 @@ interface RasterDemSource {
|
|
|
3500
3500
|
tileSize: number;
|
|
3501
3501
|
minzoom: number;
|
|
3502
3502
|
maxzoom: number;
|
|
3503
|
+
/** The credit a renderer shows for this source (MapLibre's attribution control). */
|
|
3504
|
+
attribution?: string;
|
|
3503
3505
|
}
|
|
3504
3506
|
type VectorSourceSpec = MapboxVectorSource | PmtilesVectorSource;
|
|
3505
3507
|
type AnySourceSpec = VectorSourceSpec | RasterDemSource;
|
package/dist/index.js
CHANGED
|
@@ -409,7 +409,8 @@ function buildSources(opts = {}) {
|
|
|
409
409
|
type: "vector",
|
|
410
410
|
tiles: [tileTemplate(base, LAND_REGION, "mvt", buildFor(LAND_REGION))],
|
|
411
411
|
minzoom: BUILD_MINZOOM,
|
|
412
|
-
maxzoom: LAND_BUILD_MAXZOOM
|
|
412
|
+
maxzoom: LAND_BUILD_MAXZOOM,
|
|
413
|
+
attribution: LAND_ATTRIBUTION
|
|
413
414
|
};
|
|
414
415
|
}
|
|
415
416
|
if (opts.base) {
|
|
@@ -428,7 +429,8 @@ function buildSources(opts = {}) {
|
|
|
428
429
|
encoding: RELIEF_ENCODING,
|
|
429
430
|
tileSize: RELIEF_TILE_SIZE,
|
|
430
431
|
minzoom: RELIEF_MINZOOM,
|
|
431
|
-
maxzoom: RELIEF_MAXZOOM
|
|
432
|
+
maxzoom: RELIEF_MAXZOOM,
|
|
433
|
+
attribution: RELIEF_ATTRIBUTION
|
|
432
434
|
};
|
|
433
435
|
}
|
|
434
436
|
return sources;
|