maplibre-tilepackage-protocol 1.0.0 → 1.1.0

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/README.md CHANGED
@@ -72,3 +72,7 @@ The code for this protocol was based on the PMTiles protocol by Protomaps LLC.
72
72
  A sample dataset covering Austria can be downloaded from the following link. Note that this file is an indexed VTPK and won't display all tiles correctly without modifying Maplibre.
73
73
 
74
74
  https://www.data.gv.at/katalog/de/dataset/basemap-at-verwaltungsgrundkarte-vektor-offline-osterreich#resources
75
+
76
+ # Supporting my work
77
+
78
+ If you like my work and would like to support it, please use https://buymeacoffee.com/spatialillusion
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "maplibre-tilepackage-protocol",
3
- "version": "1.0.0",
3
+ "version": "1.1.0",
4
4
  "description": "Maplibre-gl-js protocol for reading VTPK and TPKX files",
5
5
  "homepage": "https://github.com/spatialillusions/maplibre-tilepackage-protocol#readme",
6
6
  "bugs": {
@@ -16,5 +16,8 @@
16
16
  "main": "src/index.js",
17
17
  "scripts": {
18
18
  "test": "echo \"Error: no test specified\" && exit 1"
19
+ },
20
+ "dependencies": {
21
+ "maplibre-local-glyphs": "^1.2.0"
19
22
  }
20
23
  }
@@ -1,5 +1,5 @@
1
1
  import { TilePackage } from "./index.js";
2
- import protocolGlyphs from "../protocol-glyphs.js";
2
+ import protocolGlyphs from "maplibre-local-glyphs";
3
3
 
4
4
  function stringEndsIn(string, endings) {
5
5
  for (let i = 0; i < endings.length; i++) {