@tileflow/maps 0.1.0-alpha.7 → 0.1.0-alpha.8

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
@@ -66,9 +66,8 @@ to create an application-owned map.
66
66
  ### Blueprint naming
67
67
 
68
68
  Use `blueprint` and `blueprintIcons` for the architectural drawing map. Its map ID and
69
- asset directory are `blueprint`, its theme key is `blueprint`, and its theme ID is `blueprint-dark`.
70
- The earlier `sanFrancisto` and `sanFrancistoIcons` aliases have been removed. Migrate explicit
71
- `san-francisto` resource references to `blueprint`; the former grid ID is now `blueprint-grid`.
69
+ asset directory are `blueprint`, its theme key is `blueprint`, its theme ID is `blueprint-dark`,
70
+ and its grid artwork ID is `blueprint-grid`.
72
71
 
73
72
  <!-- docs:check -->
74
73
 
@@ -88,17 +87,11 @@ export default defineMap({
88
87
 
89
88
  Cyberpunk, Terminal, and Super Tile World are maintained in
90
89
  [Tileflow Community Maps](https://github.com/tileflow/community-maps), with editable source,
91
- assets, previews, and contribution instructions. They are no longer included in this package.
90
+ assets, previews, and contribution instructions. They are not part of this package.
92
91
  The GitHub-distributed `@tileflow/community-maps` package exports `cyberpunk`, `terminal`, and
93
92
  `superTileWorld`, plus each map's font and icon descriptors. Install an exact Git commit using
94
93
  the instructions and compatible Core version in that repository.
95
94
 
96
- For existing applications, move imports to `@tileflow/community-maps`, rename `matrix` to
97
- `terminal`, and update explicit map and asset IDs. Cyberpunk uses the `cyberpunk-` asset prefix;
98
- Terminal uses `terminal-`. Super Tile World retains `super-tile-world` and its `stw-` artwork IDs.
99
- The earlier community `neonGrid` export is now `cyberpunk`. This is an explicit catalog migration;
100
- there are no compatibility snapshots or aliases for the removed maps in the SDK.
101
-
102
95
  Soundings is not a navigation product. Its depth-band edges are approximate reference geometry,
103
96
  not surveyed isolines or vessel-specific safety contours. Experimental nautical aids and hazards
104
97
  are not enabled by that official map.
package/dist/index.js CHANGED
@@ -1500,7 +1500,6 @@ var baedeker = bindOfficialMapTheme(
1500
1500
  strokeOpacity: 0.78,
1501
1501
  strokeWidth: 0.8
1502
1502
  },
1503
- minZoom: 15,
1504
1503
  mode: "flat"
1505
1504
  }),
1506
1505
  water: withRenderStack(
@@ -3226,7 +3225,6 @@ var blueprint = bindOfficialMapTheme(
3226
3225
  strokeOpacity: 0.58,
3227
3226
  strokeWidth: 0.55
3228
3227
  },
3229
- minZoom: 16,
3230
3228
  mode: "flat"
3231
3229
  }),
3232
3230
  water: withRenderStack2(
@@ -4357,9 +4355,9 @@ var civica = bindOfficialMapTheme(
4357
4355
  ),
4358
4356
  vegetation: vegetation3({
4359
4357
  mode: "flat",
4360
- minZoom: 19,
4361
4358
  flat: {
4362
4359
  color: ink.greenInk,
4360
+ minZoom: 19,
4363
4361
  opacity: 0.5,
4364
4362
  radius: zoom3.linear([
4365
4363
  [19, 1.2],
@@ -5344,7 +5342,6 @@ var ferraris = bindOfficialMapTheme(
5344
5342
  strokeOpacity: 0.62,
5345
5343
  strokeWidth: 0.7
5346
5344
  },
5347
- minZoom: 15,
5348
5345
  mode: "flat"
5349
5346
  }),
5350
5347
  water: withRenderStack4(
@@ -6369,7 +6366,6 @@ var harad = bindOfficialMapTheme(
6369
6366
  strokeOpacity: 0.5,
6370
6367
  strokeWidth: 0.55
6371
6368
  },
6372
- minZoom: 15,
6373
6369
  mode: "flat"
6374
6370
  }),
6375
6371
  water: withRenderStack5(
@@ -9336,13 +9332,13 @@ var circularRoadCasingWidth = circularRoadStrokeWidth(true);
9336
9332
  var expresswayWidthScale = 1.06;
9337
9333
  var tunnelBorderDash = [3, 3];
9338
9334
  var tunnelBorderWidth = 1;
9339
- function circularRoadLegacyScale(level) {
9335
+ function circularRoadFallbackScale(level) {
9340
9336
  const interpolationBase = 1.35;
9341
9337
  const progress = (interpolationBase ** (level - 15) - 1) / (interpolationBase ** (22 - 15) - 1);
9342
9338
  return 1 + progress * 1.2;
9343
9339
  }
9344
9340
  function circularRoadWidthAtLevel(level) {
9345
- const scale = circularRoadLegacyScale(level);
9341
+ const scale = circularRoadFallbackScale(level);
9346
9342
  return level === 15 ? circularRoadBaseWidth : expr9.multiply(circularRoadBaseWidth, scale);
9347
9343
  }
9348
9344
  function circularRoadCenterlineRadiusAtLevel(level) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tileflow/maps",
3
- "version": "0.1.0-alpha.7",
3
+ "version": "0.1.0-alpha.8",
4
4
  "license": "Apache-2.0",
5
5
  "description": "Official themed Streets, Baedeker, Cívica, Ferraris, Härad, Siegfried, Soundings, and Blueprint maps for Tileflow.",
6
6
  "type": "module",
@@ -53,12 +53,12 @@
53
53
  "access": "public"
54
54
  },
55
55
  "peerDependencies": {
56
- "@tileflow/core": ">=0.1.0-alpha.30 <0.1.0-beta.0"
56
+ "@tileflow/core": ">=0.1.0-alpha.32 <0.1.0-beta.0"
57
57
  },
58
58
  "devDependencies": {
59
59
  "@maplibre/maplibre-gl-style-spec": "24.8.5",
60
- "@maplibre/maplibre-gl-style-spec-v6": "npm:@maplibre/maplibre-gl-style-spec@26.4.2",
61
- "@tileflow/core": "0.1.0-alpha.30"
60
+ "@maplibre/maplibre-gl-style-spec-v6": "npm:@maplibre/maplibre-gl-style-spec@26.4.4",
61
+ "@tileflow/core": "0.1.0-alpha.32"
62
62
  },
63
63
  "scripts": {
64
64
  "build": "tsup src/index.ts --format esm --dts --clean --no-splitting",