mirror of
https://github.com/protomaps/PMTiles.git
synced 2026-02-04 02:41:09 +00:00
js: FetchSource takes optional custom headers (#112)
* js: FetchSource takes optional custom headers
This commit is contained in:
@@ -23,7 +23,7 @@
|
||||
|
||||
let PMTILES_URL = "https://protomaps.github.io/PMTiles/protomaps(vector)ODbL_firenze.pmtiles";
|
||||
|
||||
const p = new pmtiles.PMTiles(PMTILES_URL)
|
||||
const p = new pmtiles.PMTiles(PMTILES_URL);
|
||||
|
||||
// this is so we share one instance across the JS code and the map renderer
|
||||
protocol.add(p);
|
||||
|
||||
Reference in New Issue
Block a user