ibesora / vt-optimizer

A small NodeJS cli tool to inspect and optimize Mapbox Vector Tiles files
MIT License
65 stars 12 forks source link

checkLayoutVisibility #12

Closed indus closed 2 years ago

indus commented 2 years ago

https://docs.mapbox.com/mapbox-gl-js/style-spec/layers/#layout-fill-visibility defaults to visible

indus commented 2 years ago

@ibesora I'm still having problems with the visibility check. It looks like later uses of a layer overwrite earlier ones resulting in removing to much source layers.