ol-pmtiles v0.5.0 [#407] (#410)

* Update IIFE file and examples
This commit is contained in:
Brandon Liu
2024-06-12 06:03:23 -06:00
committed by GitHub
parent 15d5166736
commit 252023ea29
5 changed files with 49 additions and 126 deletions

View File

@@ -89,7 +89,7 @@ export class PMTilesVectorSource extends ol.source.VectorTile {
...{
state: "loading",
url: "pmtiles://" + options.url + "/{z}/{x}/{y}",
format: new ol.format.MVT(),
format: options.format || new ol.format.MVT(),
},
});