aviation-chart 2.0.21 → 2.0.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/nav-sdk.esm.js +2 -2
- package/package.json +1 -1
package/dist/nav-sdk.esm.js
CHANGED
|
@@ -10472,10 +10472,10 @@ class MapSDK {
|
|
|
10472
10472
|
const authHeaders = apiKey
|
|
10473
10473
|
? { "X-Api-Key": apiKey }
|
|
10474
10474
|
: {};
|
|
10475
|
-
const landPromise = fetchGzJson(`${this._chartApiUrl}/topjson/land.topojson
|
|
10475
|
+
const landPromise = fetchGzJson(`${this._chartApiUrl}/topjson/land.topojson`, authHeaders).catch((err) => {
|
|
10476
10476
|
return null;
|
|
10477
10477
|
});
|
|
10478
|
-
const boundaryPromise = fetchGzJson(`${this._chartApiUrl}/topjson/boundary.topojson
|
|
10478
|
+
const boundaryPromise = fetchGzJson(`${this._chartApiUrl}/topjson/boundary.topojson`, authHeaders).catch((err) => {
|
|
10479
10479
|
return null;
|
|
10480
10480
|
});
|
|
10481
10481
|
this.map.on("load", async () => {
|