import MVT from "ol/format/MVT";
import VectorTileLayer from "ol/layer/VectorTile";
import VectorTileSource from "ol/source/VectorTile";
const v = new VectorTileLayer({
declutter: true,
source: new VectorTileSource({
format: new MVT(),
url: "http://localhost:8081/geoserver/gwc/service/tms/1.0.0/
heny_power:hn_power_p@EPSG:900913@pbf/{z}/{x}/{-y}.pbf",
}),
});
this.mMap.addLayer(v);