mirror of
https://github.com/protomaps/PMTiles.git
synced 2026-02-04 10:51:07 +00:00
Allow Customization of OpenLayers Format Parameters (#408)
* optional format option
This commit is contained in:
committed by
GitHub
parent
d16faa2658
commit
15d5166736
@@ -83,7 +83,7 @@ export class PMTilesVectorSource extends VectorTile {
|
|||||||
...{
|
...{
|
||||||
state: "loading",
|
state: "loading",
|
||||||
url: "pmtiles://" + options.url + "/{z}/{x}/{y}",
|
url: "pmtiles://" + options.url + "/{z}/{x}/{y}",
|
||||||
format: new MVT(),
|
format: options.format || new MVT(),
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user