您想要做的效果是每个图层控制显隐还是每个图层控制风格?
前者只需要是动态服务的地图服即可,https://blog.csdn.net/supermapsupport/article/details/50728060
后者需要是矢量瓦片服务tileFeature,https://iclient.supermap.io/examples/mapboxgl/editor.html#mvtVectorTile_changeStyle