@johnmorrisdotca/kyogijo-stadiums 0.24.0 → 0.27.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.
Files changed (62) hide show
  1. package/CHANGELOG.md +39 -0
  2. package/NOTICE.md +27 -0
  3. package/README.md +95 -59
  4. package/dist/crowd.d.ts +56 -2
  5. package/dist/crowd.draw.d.ts +3 -1
  6. package/dist/crowd.draw.js +27 -3
  7. package/dist/crowd.js +18 -10
  8. package/dist/district-entry.d.ts +5 -0
  9. package/dist/district-entry.js +4 -0
  10. package/dist/district.d.ts +167 -0
  11. package/dist/district.js +291 -0
  12. package/dist/district.turn.d.ts +27 -0
  13. package/dist/district.turn.js +157 -0
  14. package/dist/draw.js +22 -2
  15. package/dist/flythrough-entry.d.ts +8 -0
  16. package/dist/flythrough-entry.js +6 -0
  17. package/dist/flythrough.dom.d.ts +103 -0
  18. package/dist/flythrough.dom.js +517 -0
  19. package/dist/flythrough.markup.d.ts +48 -0
  20. package/dist/flythrough.markup.js +86 -0
  21. package/dist/flythrough.path.d.ts +145 -0
  22. package/dist/flythrough.path.js +253 -0
  23. package/dist/flythrough.style.d.ts +2 -0
  24. package/dist/flythrough.style.js +40 -0
  25. package/dist/flythrough.words.d.ts +33 -0
  26. package/dist/flythrough.words.js +44 -0
  27. package/dist/index.d.ts +2 -0
  28. package/dist/index.js +1 -0
  29. package/dist/stadiums-entry.d.ts +2 -0
  30. package/dist/stadiums-entry.js +2 -0
  31. package/dist/stadiums.d.ts +158 -0
  32. package/dist/stadiums.data.d.ts +2 -0
  33. package/dist/stadiums.data.js +11 -0
  34. package/dist/stadiums.js +210 -0
  35. package/dist/stadiums.osm.data.d.ts +2 -0
  36. package/dist/stadiums.osm.data.js +58 -0
  37. package/dist/strings.d.ts +17 -0
  38. package/dist/strings.js +2 -2
  39. package/dist/turn.kit.d.ts +5 -0
  40. package/dist/turn.markup.d.ts +7 -0
  41. package/dist/turn.markup.js +38 -2
  42. package/dist/turn.model.d.ts +4 -0
  43. package/dist/turn.model.js +3 -1
  44. package/dist/turn.style.js +6 -0
  45. package/dist/types.d.ts +11 -0
  46. package/dist/venue.d.ts +2 -0
  47. package/dist/venue.js +7 -4
  48. package/dist/venue.real.d.ts +21 -0
  49. package/dist/venue.real.js +150 -0
  50. package/dist/venues-entry.d.ts +2 -0
  51. package/dist/venues-entry.js +2 -0
  52. package/dist/venues.d.ts +153 -0
  53. package/dist/venues.data.d.ts +2 -0
  54. package/dist/venues.data.js +74 -0
  55. package/dist/venues.geo.d.ts +60 -0
  56. package/dist/venues.geo.js +211 -0
  57. package/dist/venues.js +213 -0
  58. package/dist/venues.osm.data.d.ts +4 -0
  59. package/dist/venues.osm.data.js +363 -0
  60. package/dist/version.d.ts +1 -1
  61. package/dist/version.js +1 -1
  62. package/package.json +25 -1
@@ -0,0 +1,363 @@
1
+ /** The credit the ODbL asks for, wherever a drawing made from this data is shown. */
2
+ export const VENUE_ATTRIBUTION = "(c) OpenStreetMap contributors, ODbL 1.0, openstreetmap.org/copyright";
3
+ export const VENUE_OSM = {
4
+ "honda-center": {
5
+ "source": "way/120623151",
6
+ "read": "2026-10-20",
7
+ "base": "2026-10-20T19:35:34Z",
8
+ "licence": "ODbL-1.0",
9
+ "attribution": "(c) OpenStreetMap contributors, ODbL 1.0, openstreetmap.org/copyright",
10
+ "axis": { "heading": 90, "basis": "building", "strength": 1.87, "elongation": 1.14, "centre": [-117.876536, 33.807822] },
11
+ "ring": [
12
+ [-117.877262, 33.807656],
13
+ [-117.877261, 33.807448],
14
+ [-117.877222, 33.807448],
15
+ [-117.877193, 33.807408],
16
+ [-117.87716, 33.807401],
17
+ [-117.877155, 33.807371],
18
+ [-117.876922, 33.807372],
19
+ [-117.876937, 33.807336],
20
+ [-117.876119, 33.807341],
21
+ [-117.876143, 33.807375],
22
+ [-117.875903, 33.807376],
23
+ [-117.875903, 33.807418],
24
+ [-117.875864, 33.807439],
25
+ [-117.875856, 33.807461],
26
+ [-117.875804, 33.807463],
27
+ [-117.875805, 33.807674],
28
+ [-117.875765, 33.807659],
29
+ [-117.875767, 33.808033],
30
+ [-117.875806, 33.808012],
31
+ [-117.875807, 33.808191],
32
+ [-117.875856, 33.80819],
33
+ [-117.875868, 33.808216],
34
+ [-117.875912, 33.808236],
35
+ [-117.875916, 33.80827],
36
+ [-117.876143, 33.808269],
37
+ [-117.876129, 33.808312],
38
+ [-117.876946, 33.808314],
39
+ [-117.876925, 33.808268],
40
+ [-117.877163, 33.808268],
41
+ [-117.877164, 33.808227],
42
+ [-117.87721, 33.808208],
43
+ [-117.877214, 33.808183],
44
+ [-117.877265, 33.808182],
45
+ [-117.877264, 33.807989],
46
+ [-117.877304, 33.808005],
47
+ [-117.877299, 33.807635],
48
+ ],
49
+ },
50
+ "scotiabank-saddledome": {
51
+ "source": "way/4397328",
52
+ "read": "2026-10-20",
53
+ "base": "2026-10-20T19:36:34Z",
54
+ "licence": "ODbL-1.0",
55
+ "attribution": "(c) OpenStreetMap contributors, ODbL 1.0, openstreetmap.org/copyright",
56
+ "axis": { "heading": 90, "basis": "none", "strength": 1.02, "elongation": 1.08, "centre": [-114.051966, 51.0374] },
57
+ "ring": [
58
+ [-114.052962, 51.037365],
59
+ [-114.052952, 51.037499],
60
+ [-114.052905, 51.037613],
61
+ [-114.052819, 51.037727],
62
+ [-114.052701, 51.037825],
63
+ [-114.052556, 51.037907],
64
+ [-114.052369, 51.037975],
65
+ [-114.052168, 51.038016],
66
+ [-114.05199, 51.038029],
67
+ [-114.051805, 51.038021],
68
+ [-114.051608, 51.037988],
69
+ [-114.051321, 51.037882],
70
+ [-114.051222, 51.037821],
71
+ [-114.051057, 51.037665],
72
+ [-114.050995, 51.037557],
73
+ [-114.050967, 51.037447],
74
+ [-114.050971, 51.037326],
75
+ [-114.051009, 51.037212],
76
+ [-114.051074, 51.037112],
77
+ [-114.051174, 51.037014],
78
+ [-114.051333, 51.036911],
79
+ [-114.05148, 51.036849],
80
+ [-114.051671, 51.036798],
81
+ [-114.051898, 51.036772],
82
+ [-114.052132, 51.03678],
83
+ [-114.052314, 51.03681],
84
+ [-114.05253, 51.036883],
85
+ [-114.05259, 51.036846],
86
+ [-114.052717, 51.036904],
87
+ [-114.05282, 51.03698],
88
+ [-114.052908, 51.036979],
89
+ [-114.053022, 51.037091],
90
+ [-114.053039, 51.037119],
91
+ [-114.053003, 51.037162],
92
+ [-114.053067, 51.037352],
93
+ [-114.053047, 51.037365],
94
+ ],
95
+ },
96
+ "rogers-place": {
97
+ "source": "way/448626254",
98
+ "read": "2026-10-20",
99
+ "base": "2026-10-20T19:37:35Z",
100
+ "licence": "ODbL-1.0",
101
+ "attribution": "(c) OpenStreetMap contributors, ODbL 1.0, openstreetmap.org/copyright",
102
+ "height": 43,
103
+ "axis": { "heading": 93, "basis": "building", "strength": 1.72, "elongation": 1.27, "centre": [-113.497751, 53.546853] },
104
+ "ring": [
105
+ [-113.49766, 53.546362],
106
+ [-113.498859, 53.546374],
107
+ [-113.498952, 53.546395],
108
+ [-113.499017, 53.546444],
109
+ [-113.49903, 53.546993],
110
+ [-113.498984, 53.547164],
111
+ [-113.498878, 53.547287],
112
+ [-113.498717, 53.547397],
113
+ [-113.49863, 53.547436],
114
+ [-113.498368, 53.547513],
115
+ [-113.498191, 53.547532],
116
+ [-113.497214, 53.54753],
117
+ [-113.497034, 53.547504],
118
+ [-113.496908, 53.547468],
119
+ [-113.496773, 53.547402],
120
+ [-113.496663, 53.547311],
121
+ [-113.496581, 53.547198],
122
+ [-113.496558, 53.547105],
123
+ [-113.496561, 53.546595],
124
+ [-113.496642, 53.546068],
125
+ [-113.496712, 53.545827],
126
+ [-113.496778, 53.545696],
127
+ [-113.496987, 53.545695],
128
+ [-113.497089, 53.545735],
129
+ [-113.4972, 53.545746],
130
+ [-113.497195, 53.54595],
131
+ [-113.497289, 53.546194],
132
+ [-113.497368, 53.546267],
133
+ [-113.497523, 53.546334],
134
+ ],
135
+ },
136
+ "crypto-com-arena": {
137
+ "source": "way/428021739",
138
+ "read": "2026-10-20",
139
+ "base": "2026-10-20T19:38:36Z",
140
+ "licence": "ODbL-1.0",
141
+ "attribution": "(c) OpenStreetMap contributors, ODbL 1.0, openstreetmap.org/copyright",
142
+ "height": 39.1,
143
+ "axis": { "heading": 90, "basis": "none", "strength": 1.11, "elongation": 1.03, "centre": [-118.267172, 34.043017] },
144
+ "ring": [
145
+ [-118.26808, 34.042974],
146
+ [-118.268085, 34.043107],
147
+ [-118.268063, 34.043227],
148
+ [-118.268004, 34.043372],
149
+ [-118.267912, 34.043512],
150
+ [-118.267805, 34.043629],
151
+ [-118.26779, 34.043618],
152
+ [-118.267688, 34.043691],
153
+ [-118.267589, 34.043732],
154
+ [-118.267462, 34.043757],
155
+ [-118.267284, 34.043752],
156
+ [-118.267286, 34.043779],
157
+ [-118.266982, 34.043754],
158
+ [-118.266689, 34.043678],
159
+ [-118.266324, 34.043539],
160
+ [-118.266391, 34.043492],
161
+ [-118.266333, 34.043457],
162
+ [-118.266249, 34.043504],
163
+ [-118.266117, 34.043442],
164
+ [-118.265969, 34.043553],
165
+ [-118.265905, 34.043548],
166
+ [-118.265839, 34.0436],
167
+ [-118.265827, 34.043589],
168
+ [-118.265724, 34.043645],
169
+ [-118.265681, 34.043649],
170
+ [-118.265661, 34.043634],
171
+ [-118.265671, 34.043588],
172
+ [-118.265703, 34.043549],
173
+ [-118.265678, 34.043547],
174
+ [-118.266329, 34.042845],
175
+ [-118.266357, 34.04285],
176
+ [-118.266492, 34.042682],
177
+ [-118.266727, 34.042437],
178
+ [-118.26674, 34.042446],
179
+ [-118.266826, 34.042369],
180
+ [-118.266955, 34.042304],
181
+ [-118.267124, 34.042269],
182
+ [-118.267278, 34.042282],
183
+ [-118.267281, 34.042261],
184
+ [-118.267559, 34.042355],
185
+ [-118.267818, 34.042514],
186
+ [-118.267741, 34.042586],
187
+ [-118.267754, 34.042596],
188
+ [-118.267799, 34.042555],
189
+ [-118.26788, 34.042627],
190
+ [-118.267828, 34.042665],
191
+ [-118.267902, 34.04276],
192
+ [-118.267934, 34.042745],
193
+ [-118.267953, 34.042775],
194
+ [-118.267984, 34.042831],
195
+ [-118.267945, 34.042846],
196
+ [-118.267952, 34.04286],
197
+ [-118.268045, 34.042831],
198
+ ],
199
+ },
200
+ "sap-center": {
201
+ "source": "way/24169210",
202
+ "read": "2026-10-20",
203
+ "base": "2026-10-20T19:39:36Z",
204
+ "licence": "ODbL-1.0",
205
+ "attribution": "(c) OpenStreetMap contributors, ODbL 1.0, openstreetmap.org/copyright",
206
+ "height": 28.73,
207
+ "axis": { "heading": 90, "basis": "none", "strength": 1.48, "elongation": 1.03, "centre": [-121.901264, 37.332787] },
208
+ "ring": [
209
+ [-121.900672, 37.333382],
210
+ [-121.900548, 37.333293],
211
+ [-121.900539, 37.333163],
212
+ [-121.900479, 37.333023],
213
+ [-121.900461, 37.332909],
214
+ [-121.900472, 37.332784],
215
+ [-121.900503, 37.332684],
216
+ [-121.900479, 37.33236],
217
+ [-121.900645, 37.332212],
218
+ [-121.901046, 37.332196],
219
+ [-121.901233, 37.332144],
220
+ [-121.901403, 37.33213],
221
+ [-121.901654, 37.332166],
222
+ [-121.901815, 37.332158],
223
+ [-121.901938, 37.332246],
224
+ [-121.901948, 37.332377],
225
+ [-121.902011, 37.332522],
226
+ [-121.902116, 37.33252],
227
+ [-121.902124, 37.332617],
228
+ [-121.902044, 37.332621],
229
+ [-121.902051, 37.332706],
230
+ [-121.90213, 37.332702],
231
+ [-121.902137, 37.332798],
232
+ [-121.902009, 37.332802],
233
+ [-121.901984, 37.332869],
234
+ [-121.902006, 37.333179],
235
+ [-121.902167, 37.33317],
236
+ [-121.90217, 37.333258],
237
+ [-121.902088, 37.333235],
238
+ [-121.902065, 37.333257],
239
+ [-121.902125, 37.333301],
240
+ [-121.902003, 37.33341],
241
+ [-121.901942, 37.333367],
242
+ [-121.901918, 37.333388],
243
+ [-121.901956, 37.33345],
244
+ [-121.901856, 37.333451],
245
+ [-121.901841, 37.333328],
246
+ [-121.901452, 37.333346],
247
+ [-121.901374, 37.333373],
248
+ [-121.901424, 37.333471],
249
+ [-121.901201, 37.333579],
250
+ [-121.901081, 37.333412],
251
+ [-121.90083, 37.333376],
252
+ ],
253
+ },
254
+ "climate-pledge-arena": {
255
+ "source": "way/25123756",
256
+ "read": "2026-10-20",
257
+ "base": "2026-10-20T19:40:35Z",
258
+ "licence": "ODbL-1.0",
259
+ "attribution": "(c) OpenStreetMap contributors, ODbL 1.0, openstreetmap.org/copyright",
260
+ "height": 35,
261
+ "axis": { "heading": 0, "basis": "building", "strength": 1.92, "elongation": 1.31, "centre": [-122.354005, 47.622006] },
262
+ "ring": [
263
+ [-122.3548, 47.622659],
264
+ [-122.354019, 47.622657],
265
+ [-122.354018, 47.622796],
266
+ [-122.353958, 47.622795],
267
+ [-122.353959, 47.622657],
268
+ [-122.353164, 47.622653],
269
+ [-122.35317, 47.622115],
270
+ [-122.352964, 47.622114],
271
+ [-122.352964, 47.622073],
272
+ [-122.35317, 47.622074],
273
+ [-122.353177, 47.621539],
274
+ [-122.353274, 47.62154],
275
+ [-122.353271, 47.621365],
276
+ [-122.353996, 47.621278],
277
+ [-122.354722, 47.621372],
278
+ [-122.35472, 47.621546],
279
+ [-122.354813, 47.621546],
280
+ [-122.354807, 47.622083],
281
+ [-122.35499, 47.622084],
282
+ [-122.35499, 47.622124],
283
+ [-122.354806, 47.622124],
284
+ ],
285
+ },
286
+ "rogers-arena": {
287
+ "source": "way/24705911",
288
+ "read": "2026-10-20",
289
+ "base": "2026-10-20T19:40:35Z",
290
+ "licence": "ODbL-1.0",
291
+ "attribution": "(c) OpenStreetMap contributors, ODbL 1.0, openstreetmap.org/copyright",
292
+ "axis": { "heading": 102, "basis": "building", "strength": 1.41, "elongation": 1.8, "centre": [-123.108759, 49.277775] },
293
+ "ring": [
294
+ [-123.109011, 49.278442],
295
+ [-123.108814, 49.278491],
296
+ [-123.108793, 49.278382],
297
+ [-123.108555, 49.278355],
298
+ [-123.108011, 49.278089],
299
+ [-123.107932, 49.277975],
300
+ [-123.107822, 49.277973],
301
+ [-123.107839, 49.277355],
302
+ [-123.108512, 49.277358],
303
+ [-123.109354, 49.27747],
304
+ [-123.109445, 49.2775],
305
+ [-123.109531, 49.277551],
306
+ [-123.109677, 49.277582],
307
+ [-123.110122, 49.277768],
308
+ [-123.110143, 49.277815],
309
+ [-123.110126, 49.277856],
310
+ [-123.110033, 49.277924],
311
+ ],
312
+ },
313
+ "t-mobile-arena": {
314
+ "source": "way/364489406",
315
+ "read": "2026-10-20",
316
+ "base": "2026-10-20T19:41:36Z",
317
+ "licence": "ODbL-1.0",
318
+ "attribution": "(c) OpenStreetMap contributors, ODbL 1.0, openstreetmap.org/copyright",
319
+ "axis": { "heading": 90, "basis": "building", "strength": 1.43, "elongation": 1.16, "centre": [-115.178247, 36.10276] },
320
+ "ring": [
321
+ [-115.17817, 36.102052],
322
+ [-115.177879, 36.102161],
323
+ [-115.177519, 36.102085],
324
+ [-115.177461, 36.102086],
325
+ [-115.177388, 36.10215],
326
+ [-115.177385, 36.102471],
327
+ [-115.177307, 36.102552],
328
+ [-115.177203, 36.102702],
329
+ [-115.177136, 36.102913],
330
+ [-115.177134, 36.103035],
331
+ [-115.177157, 36.103147],
332
+ [-115.177203, 36.103254],
333
+ [-115.177269, 36.103354],
334
+ [-115.177356, 36.103444],
335
+ [-115.177459, 36.103521],
336
+ [-115.177576, 36.103583],
337
+ [-115.177705, 36.103629],
338
+ [-115.177841, 36.103657],
339
+ [-115.177981, 36.103666],
340
+ [-115.178121, 36.103657],
341
+ [-115.178258, 36.103629],
342
+ [-115.178386, 36.103584],
343
+ [-115.178641, 36.10347],
344
+ [-115.178737, 36.103399],
345
+ [-115.178898, 36.103393],
346
+ [-115.179087, 36.103364],
347
+ [-115.179161, 36.103326],
348
+ [-115.179229, 36.103257],
349
+ [-115.179249, 36.10319],
350
+ [-115.179245, 36.103089],
351
+ [-115.179194, 36.102866],
352
+ [-115.179232, 36.102654],
353
+ [-115.179208, 36.102399],
354
+ [-115.179152, 36.102218],
355
+ [-115.179041, 36.101965],
356
+ [-115.178908, 36.101788],
357
+ [-115.178776, 36.101654],
358
+ [-115.178557, 36.101794],
359
+ [-115.178339, 36.101988],
360
+ [-115.178259, 36.102039],
361
+ ],
362
+ },
363
+ };
package/dist/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
1
  /** The package's version: the same as package.json's, and a test holds them to each other. */
2
- export declare const VERSION = "0.24.0";
2
+ export declare const VERSION = "0.27.0";
package/dist/version.js CHANGED
@@ -1,2 +1,2 @@
1
1
  /** The package's version: the same as package.json's, and a test holds them to each other. */
2
- export const VERSION = "0.24.0";
2
+ export const VERSION = "0.27.0";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@johnmorrisdotca/kyogijo-stadiums",
3
- "version": "0.24.0",
3
+ "version": "0.27.0",
4
4
  "description": "Kyogijo Stadiums 競技場, 40 sports' surfaces as SVG, drawn to scale from the rulebooks: NFL, CFL and IFAF football fields, an NHL rink, an NBA court, MLB ballparks, soccer pitches, curling sheets, athletics stadiums, speed skating, short track and figure skating rinks, swimming pools, water polo fields, diving wells, artistic swimming areas, and the courts and fields of tennis, volleyball (indoor, beach and sitting), badminton, pickleball, table tennis, padel, squash, racquetball, sepak takraw, teqball, roundnet, netball, lacrosse, rugby, Australian football, Gaelic games, cricket, field hockey and handball, and the budo of judo, karate, kendo, sumo and kyudo with a dojo of tatami laid as real units, the MMA cage, with each team's name and logo on its side and the score in the middle, stands and a crowd, a pageant of flags, and a 3D view. Light and dark, accessible, a compact badge for lists, a helper for React and a custom element. Zero dependencies.",
5
5
  "keywords": [
6
6
  "sports",
@@ -128,6 +128,21 @@
128
128
  "import": "./dist/arenas-entry.js",
129
129
  "default": "./dist/arenas-entry.js"
130
130
  },
131
+ "./venues": {
132
+ "types": "./dist/venues-entry.d.ts",
133
+ "import": "./dist/venues-entry.js",
134
+ "default": "./dist/venues-entry.js"
135
+ },
136
+ "./stadiums": {
137
+ "types": "./dist/stadiums-entry.d.ts",
138
+ "import": "./dist/stadiums-entry.js",
139
+ "default": "./dist/stadiums-entry.js"
140
+ },
141
+ "./district": {
142
+ "types": "./dist/district-entry.d.ts",
143
+ "import": "./dist/district-entry.js",
144
+ "default": "./dist/district-entry.js"
145
+ },
131
146
  "./grounds": {
132
147
  "types": "./dist/grounds-entry.d.ts",
133
148
  "import": "./dist/grounds-entry.js",
@@ -233,6 +248,11 @@
233
248
  "import": "./dist/turn-entry.js",
234
249
  "default": "./dist/turn-entry.js"
235
250
  },
251
+ "./flythrough": {
252
+ "types": "./dist/flythrough-entry.d.ts",
253
+ "import": "./dist/flythrough-entry.js",
254
+ "default": "./dist/flythrough-entry.js"
255
+ },
236
256
  "./element/define": {
237
257
  "types": "./dist/element-define.d.ts",
238
258
  "import": "./dist/element-define.js",
@@ -279,6 +299,10 @@
279
299
  "arenas": "node scripts/build-arenas.mjs",
280
300
  "arenas:fetch": "node scripts/fetch-arenas.mjs",
281
301
  "arenas:check": "node scripts/check-arenas.mjs",
302
+ "venues": "node scripts/build-venues.mjs",
303
+ "venues:fetch": "node scripts/fetch-venues.mjs",
304
+ "stadiums": "node scripts/build-stadiums.mjs",
305
+ "stadiums:fetch": "node scripts/fetch-stadiums.mjs",
282
306
  "boards": "node scripts/make-boards.mjs",
283
307
  "grounds": "node scripts/build-grounds.mjs",
284
308
  "grounds:check": "node scripts/check-grounds.mjs",