Open redheli opened 8 years ago
I solved the problem. add zoomMax at layer options, as blow
var pbfSource = new L.TileLayer.PBFSource({ url: 'http://localhost:3001/services/postgis/xxx/geom/vector-tiles/{z}/{x}/{y}.pbf?fields=name', debug: false, maxZoom: 22, minZoom: 6, clickableLayers: [], getIDForLayerFeature: function(feature) { return ""; } });
Hi,
vector tile source is posgGIS, : url: 'http://localhost:3001/services/postgis/cleantech3/geom/vector-tiles/{z}/{x}/{y}.pbf?fields=name'
at zoom level <=18 , everything ok.
from zoom level 19, layer disappear.
any idea?