aviation-chart 2.0.26 → 2.0.27

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.
@@ -7442,15 +7442,15 @@ function getAviationBaseStyle(opts) {
7442
7442
  const spriteBase = (opts.spriteUrl ?? apiUrl).replace(/\/$/, "");
7443
7443
  return {
7444
7444
  version: 8,
7445
- glyphs: "https://aips.siniswift.com/mapsdk/glyphs/{fontstack}/{range}.pbf",
7445
+ glyphs: `${spriteBase}/kyresources/{fontstack}/{range}.pbf`,
7446
7446
  sprite: [
7447
- { id: "plane", url: `${spriteBase}/sprites/sprite-plane` },
7448
- { id: "normal", url: `${spriteBase}/sprites/sprite-color` },
7449
- { id: "default", url: `${spriteBase}/sprites/sprite` },
7450
- { id: "v2", url: `${spriteBase}/sprites/sprite-v2` },
7451
- { id: "vor", url: `${spriteBase}/sprites/sprite-vor` },
7452
- { id: "runway", url: `${spriteBase}/sprites/sprite-runway` },
7453
- { id: "stretch", url: `${spriteBase}/sprites/sprite-stretch` },
7447
+ { id: "plane", url: `${spriteBase}/kyresources/sprite-plane` },
7448
+ { id: "normal", url: `${spriteBase}/kyresources/sprite-color` },
7449
+ { id: "default", url: `${spriteBase}/kyresources/sprite` },
7450
+ { id: "v2", url: `${spriteBase}/kyresources/sprite-v2` },
7451
+ { id: "vor", url: `${spriteBase}/kyresources/sprite-vor` },
7452
+ { id: "runway", url: `${spriteBase}/kyresources/sprite-runway` },
7453
+ { id: "stretch", url: `${spriteBase}/kyresources/sprite-stretch` },
7454
7454
  ],
7455
7455
  sources: {
7456
7456
  land: { type: "geojson", data: LAND_FC },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aviation-chart",
3
- "version": "2.0.26",
3
+ "version": "2.0.27",
4
4
  "description": "KunYu aviation map SDK",
5
5
  "main": "dist/nav-sdk.esm.js",
6
6
  "module": "dist/nav-sdk.esm.js",