@johnmorrisdotca/kyogijo-stadiums 0.44.0 → 0.44.2
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/CHANGELOG.md +35 -0
- package/dist/areas-entry.d.ts +2 -0
- package/dist/areas-entry.js +2 -0
- package/dist/areas.d.ts +46 -0
- package/dist/areas.js +87 -0
- package/dist/cityctx.d.ts +3 -6
- package/dist/cityctx.data.d.ts +5 -8
- package/dist/cityctx.data.js +5 -7137
- package/dist/cityctx.js +3 -6
- package/dist/cityctx.seattle-center.data.d.ts +3 -0
- package/dist/cityctx.seattle-center.data.js +1883 -0
- package/dist/cityctx.seattle-city.data.d.ts +3 -0
- package/dist/cityctx.seattle-city.data.js +3778 -0
- package/dist/cityctx.seattle-sodo.data.d.ts +3 -0
- package/dist/cityctx.seattle-sodo.data.js +1419 -0
- package/dist/cityctx.vancouver-nature.data.d.ts +3 -0
- package/dist/cityctx.vancouver-nature.data.js +57 -0
- package/dist/context.js +3 -1
- package/dist/turn.camera.d.ts +5 -0
- package/dist/turn.camera.js +22 -7
- package/dist/turn.dom.js +15 -3
- package/dist/turn.kit.d.ts +5 -0
- package/dist/turn.markup.d.ts +8 -3
- package/dist/turn.markup.js +75 -9
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +6 -1
package/dist/cityctx.js
CHANGED
|
@@ -1,15 +1,12 @@
|
|
|
1
1
|
import { SEATTLE_CENTER, SEATTLE_CITY, SEATTLE_SODO, VANCOUVER_NATURE } from "./cityctx.data.js";
|
|
2
2
|
import { VANCOUVER_CENTRE } from "./osm.context.data.js";
|
|
3
|
+
import { CITYCTX_VENUES } from "./areas.js";
|
|
3
4
|
/** The venues each area is drawn round, by their ids (the part of a district's key before the colon). */
|
|
4
|
-
export
|
|
5
|
-
vancouver: ["bc-place", "rogers-arena"],
|
|
6
|
-
sodo: ["lumen-field", "t-mobile-park"],
|
|
7
|
-
center: ["climate-pledge-arena"],
|
|
8
|
-
});
|
|
5
|
+
export { CITYCTX_VENUES };
|
|
9
6
|
/**
|
|
10
7
|
* The areas of context that go with some venues, for a district's `context` option: downtown Vancouver's buildings and streets (`VANCOUVER_CENTRE`, of `./osm`) with its water, green and trees (`VANCOUVER_NATURE`) for BC Place and
|
|
11
8
|
* Rogers Arena; Seattle's SoDo for Lumen Field and T-Mobile Park, Seattle Center's for Climate Pledge Arena, and the city's own, with streets and the buildings that matter from far, for a district that holds venues of both (they are
|
|
12
|
-
* three kilometres apart, so the detail of either would be a speck). A venue of neither city has none.
|
|
9
|
+
* three kilometres apart, so the detail of either would be a speck). A venue of neither city has none. This one carries every area's data; `loadAreasFor` of the `areas` entry reads only the ones asked for.
|
|
13
10
|
* @example
|
|
14
11
|
* ```ts
|
|
15
12
|
* import { contextFor } from "@johnmorrisdotca/kyogijo-stadiums/cityctx";
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import type { ContextArea } from "./context.ts";
|
|
2
|
+
/** Seattle: Seattle Center and Climate Pledge Arena: 449 buildings, 1340 street lines, 47 land cover outlines and 1400 trees within 550 metres of the middle, read 2026-10-22. */
|
|
3
|
+
export declare const SEATTLE_CENTER: ContextArea;
|