Closed dbauszus-glx closed 1 month ago
Can StyleParser check for this layer format and warn (can it parse to the correct format)? If you have an mbtiles layer on this PR, it just crashes without any helpful debugging or anything.
Not possible since the styleParser checks on vector styles only and mbtiles do not have a style object.
@simon-leech You can add a deprecation warning in lib/layer/format/_format.mjs
/**
@function mbtiles
@deprecated
@description
The mbtiles layer format method has been deprecated.
*/
function mbtiles() {
console.warn(`The mbtiles layer format method has been deprecated.`)
}
Issues
0 New issues
0 Accepted issues
Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code
The mbtiles format dependent on a legacy version of the maplibre library has now been removed.