diff --git a/openlayers/src/index.js b/openlayers/src/index.js index 4a529b7..14c2852 100644 --- a/openlayers/src/index.js +++ b/openlayers/src/index.js @@ -83,7 +83,7 @@ export class PMTilesVectorSource extends VectorTile { ...{ state: "loading", url: "pmtiles://" + options.url + "/{z}/{x}/{y}", - format: new MVT(), + format: options.format || new MVT(), }, });