update to 0.2.2

This commit is contained in:
2025-10-27 09:20:22 -04:00
parent 9f573b9371
commit b285feb132
125 changed files with 6440 additions and 3281 deletions
@@ -432,6 +432,16 @@
type: "boolean",
"default": false
},
encoding: {
type: "enum",
values: {
mvt: {
},
mlt: {
}
},
"default": "mvt"
},
"*": {
type: "*"
}
File diff suppressed because one or more lines are too long
@@ -428,6 +428,16 @@ var source_vector = {
type: "boolean",
"default": false
},
encoding: {
type: "enum",
values: {
mvt: {
},
mlt: {
}
},
"default": "mvt"
},
"*": {
type: "*"
}
File diff suppressed because one or more lines are too long
@@ -7014,6 +7014,16 @@
type: "boolean",
"default": false
},
encoding: {
type: "enum",
values: {
mvt: {
},
mlt: {
}
},
"default": "mvt"
},
"*": {
type: "*"
}
File diff suppressed because one or more lines are too long
@@ -7010,6 +7010,16 @@ var source_vector = {
type: "boolean",
"default": false
},
encoding: {
type: "enum",
values: {
mvt: {
},
mlt: {
}
},
"default": "mvt"
},
"*": {
type: "*"
}
File diff suppressed because one or more lines are too long
+10
View File
@@ -153,6 +153,16 @@
type: "boolean",
"default": false
},
encoding: {
type: "enum",
values: {
mvt: {
},
mlt: {
}
},
"default": "mvt"
},
"*": {
type: "*"
}
File diff suppressed because one or more lines are too long
+34
View File
@@ -1026,6 +1026,15 @@ export type VectorSourceSpecification = {
* A setting to determine whether a source's tiles are cached locally.
*/
"volatile"?: boolean;
/**
* The encoding used by this source. Mapbox Vector Tiles encoding is used by default.
*
* @default
* ```json
* "mvt"
* ```
*/
"encoding"?: "mvt" | "mlt";
};
export type RasterSourceSpecification = {
/**
@@ -4181,6 +4190,31 @@ export declare function validateStyleMin(style: StyleSpecification, styleSpec?:
};
};
};
encoding: {
type: string;
values: {
mvt: {
doc: string;
};
mlt: {
doc: string;
};
};
default: string;
doc: string;
"sdk-support": {
mvt: {
android: string;
ios: string;
js: string;
};
mlt: {
android: string;
ios: string;
js: string;
};
};
};
"*": {
type: string;
doc: string;
+10
View File
@@ -147,6 +147,16 @@ var source_vector = {
type: "boolean",
"default": false
},
encoding: {
type: "enum",
values: {
mvt: {
},
mlt: {
}
},
"default": "mvt"
},
"*": {
type: "*"
}
File diff suppressed because one or more lines are too long
+26 -1
View File
@@ -364,6 +364,31 @@
}
}
},
"encoding": {
"type": "enum",
"values": {
"mvt": {
"doc": "Mapbox Vector Tiles. See http://github.com/mapbox/vector-tile-spec for more info."
},
"mlt": {
"doc": "MapLibre Vector Tiles. See https://github.com/maplibre/maplibre-tile-spec for more info."
}
},
"default": "mvt",
"doc": "The encoding used by this source. Mapbox Vector Tiles encoding is used by default.",
"sdk-support": {
"mvt": {
"android": "supported",
"ios": "supported",
"js": "supported"
},
"mlt": {
"android": "https://github.com/maplibre/maplibre-native/issues/3721",
"ios": "https://github.com/maplibre/maplibre-native/issues/3721",
"js": "https://github.com/maplibre/maplibre-gl-js/issues/6258"
}
}
},
"*": {
"type": "*",
"doc": "Other keys to configure the data source."
@@ -6362,7 +6387,7 @@
"ios": "2.0.0"
},
"data-driven styling": {
"js": "https://github.com/maplibre/maplibre-gl-js/issues/1235",
"js": "5.8.0",
"ios": "https://github.com/maplibre/maplibre-native/issues/744",
"android": "https://github.com/maplibre/maplibre-native/issues/744"
}
+11 -11
View File
@@ -1,7 +1,7 @@
{
"name": "@maplibre/maplibre-gl-style-spec",
"description": "a specification for maplibre styles",
"version": "24.2.0",
"version": "24.3.0",
"author": "MapLibre",
"keywords": [
"mapbox",
@@ -64,7 +64,7 @@
"devDependencies": {
"@rollup/plugin-commonjs": "^28.0.6",
"@rollup/plugin-json": "^6.1.0",
"@rollup/plugin-node-resolve": "^16.0.1",
"@rollup/plugin-node-resolve": "^16.0.3",
"@rollup/plugin-replace": "^6.0.2",
"@rollup/plugin-strip": "^3.0.4",
"@rollup/plugin-terser": "^0.4.4",
@@ -72,23 +72,23 @@
"@stylistic/eslint-plugin": "^5.4.0",
"@types/eslint": "^9.6.1",
"@types/geojson": "^7946.0.16",
"@types/node": "^24.5.2",
"@typescript-eslint/eslint-plugin": "^8.44.0",
"@typescript-eslint/parser": "^8.42.0",
"@types/node": "^24.7.2",
"@typescript-eslint/eslint-plugin": "^8.46.0",
"@typescript-eslint/parser": "^8.46.0",
"@vitest/coverage-v8": "3.2.4",
"@vitest/eslint-plugin": "^1.3.12",
"@vitest/eslint-plugin": "^1.3.17",
"@vitest/ui": "3.2.4",
"dts-bundle-generator": "^9.5.1",
"eslint": "^9.36.0",
"eslint-plugin-jsdoc": "^60.1.0",
"eslint": "^9.37.0",
"eslint-plugin-jsdoc": "^61.1.1",
"glob": "^11.0.3",
"globals": "^16.4.0",
"rollup": "^4.52.0",
"rollup": "^4.52.4",
"rollup-plugin-preserve-shebang": "^1.0.1",
"semver": "^7.7.2",
"semver": "^7.7.3",
"ts-node": "^10.9.2",
"tslib": "^2.8.1",
"typescript": "^5.9.2",
"typescript": "^5.9.3",
"vitest": "3.2.4"
}
}
+26 -1
View File
@@ -364,6 +364,31 @@
}
}
},
"encoding": {
"type": "enum",
"values": {
"mvt": {
"doc": "Mapbox Vector Tiles. See http://github.com/mapbox/vector-tile-spec for more info."
},
"mlt": {
"doc": "MapLibre Vector Tiles. See https://github.com/maplibre/maplibre-tile-spec for more info."
}
},
"default": "mvt",
"doc": "The encoding used by this source. Mapbox Vector Tiles encoding is used by default.",
"sdk-support": {
"mvt": {
"android": "supported",
"ios": "supported",
"js": "supported"
},
"mlt": {
"android": "https://github.com/maplibre/maplibre-native/issues/3721",
"ios": "https://github.com/maplibre/maplibre-native/issues/3721",
"js": "https://github.com/maplibre/maplibre-gl-js/issues/6258"
}
}
},
"*": {
"type": "*",
"doc": "Other keys to configure the data source."
@@ -6362,7 +6387,7 @@
"ios": "2.0.0"
},
"data-driven styling": {
"js": "https://github.com/maplibre/maplibre-gl-js/issues/1235",
"js": "5.8.0",
"ios": "https://github.com/maplibre/maplibre-native/issues/744",
"android": "https://github.com/maplibre/maplibre-native/issues/744"
}
+10 -1
View File
@@ -724,7 +724,16 @@ export type VectorSourceSpecification = {
/**
* A setting to determine whether a source's tiles are cached locally.
*/
"volatile"?: boolean
"volatile"?: boolean,
/**
* The encoding used by this source. Mapbox Vector Tiles encoding is used by default.
*
* @default
* ```json
* "mvt"
* ```
*/
"encoding"?: "mvt" | "mlt"
};
export type RasterSourceSpecification = {