Closed atodd-geoplan closed 7 years ago
Following the L.Path example (or otherwise), is it possible to completely hide a feature later inside the tile layer like 'sreets' below?
var vectorTileOptions = { rendererFactory: L.canvas.tile, vectorTileLayerStyles: { 'roads_motorways_0_line': { weight: 1, color: 'darkblue' }, 'streets': { display: 'none' } } };
Set the L.Path options to an empty array. See the road: [] bit in the example in the README.
L.Path
road: []
How can I enable street names on mapbox layer?
Following the L.Path example (or otherwise), is it possible to completely hide a feature later inside the tile layer like 'sreets' below?