@india-boundary-corrector/tilefixer 0.0.5 → 0.2.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 +3 -1
- package/dist/index.cjs +632 -67
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +632 -67
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/index.d.ts +12 -18
- package/src/index.js +46 -101
package/README.md
CHANGED
|
@@ -22,7 +22,9 @@ const corrector = new TileFixer(getPmtilesUrl());
|
|
|
22
22
|
|
|
23
23
|
// Get corrections for a tile
|
|
24
24
|
const corrections = await corrector.getCorrections(z, x, y);
|
|
25
|
-
// Returns: { 'to-add-osm': [...], 'to-del-osm': [...], 'to-add-ne': [...], 'to-del-ne': [...]
|
|
25
|
+
// Returns: { 'to-add-osm': [...], 'to-del-osm': [...], 'to-add-ne': [...], 'to-del-ne': [...],
|
|
26
|
+
// 'to-add-osm-disp': [...], 'to-del-osm-disp': [...], 'to-add-ne-disp': [...], 'to-del-ne-disp': [...],
|
|
27
|
+
// 'to-add-osm-internal': [...], 'to-del-osm-internal': [...] }
|
|
26
28
|
|
|
27
29
|
// Apply corrections to a raster tile
|
|
28
30
|
const layerConfig = layerConfigs.get('osm-carto');
|