@expofp/offline 3.44.4 → 3.44.5
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.
|
@@ -2,13 +2,14 @@ import { layers } from '@protomaps/basemaps';
|
|
|
2
2
|
/**
|
|
3
3
|
* The offline basemap style, built to look like the online one.
|
|
4
4
|
*
|
|
5
|
-
* Online the SDK serves
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
*
|
|
5
|
+
* Online the SDK serves OpenFreeMap's Positron/Dark pair recolored to the
|
|
6
|
+
* CARTO palettes (`basemap-palette.ts` in the floorplan): Positron for the
|
|
7
|
+
* light theme, Dark Matter for the dark one. Both are OpenMapTiles-schema
|
|
8
|
+
* styles; offline tiles come from a Protomaps basemap build, a different
|
|
9
|
+
* schema, so the *style* cannot be shared — only the palette. This module
|
|
10
|
+
* therefore renders the upstream Protomaps layer set (`@protomaps/basemaps`,
|
|
11
|
+
* kept current with the tile schema) through flavors whose colors are lifted
|
|
12
|
+
* from the two CARTO styles.
|
|
12
13
|
*
|
|
13
14
|
* Parity is visual, not pixel-exact: the two schemas classify roads, landuse
|
|
14
15
|
* and labels differently, so features are colored to the nearest CARTO
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@expofp/offline",
|
|
3
|
-
"version": "3.44.
|
|
3
|
+
"version": "3.44.5",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "CLI tool for creating offline copies of ExpoFP floor plans",
|
|
6
6
|
"homepage": "https://developer.expofp.com/",
|
|
@@ -33,12 +33,12 @@
|
|
|
33
33
|
"color": "^3.1.2",
|
|
34
34
|
"debug": "^4.4.3",
|
|
35
35
|
"tslib": "^2.3.0",
|
|
36
|
-
"@expofp/config": "3.44.
|
|
37
|
-
"@expofp/floorplan": "3.44.
|
|
38
|
-
"@expofp/geometry": "3.44.
|
|
39
|
-
"@expofp/resolve": "3.44.
|
|
40
|
-
"@expofp/schema": "3.44.
|
|
41
|
-
"@expofp/utils": "3.44.
|
|
36
|
+
"@expofp/config": "3.44.5",
|
|
37
|
+
"@expofp/floorplan": "3.44.5",
|
|
38
|
+
"@expofp/geometry": "3.44.5",
|
|
39
|
+
"@expofp/resolve": "3.44.5",
|
|
40
|
+
"@expofp/schema": "3.44.5",
|
|
41
|
+
"@expofp/utils": "3.44.5"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
44
|
"@types/color": "^3.0.7"
|