@trailstash/ultra 3.0.0-dev

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 (415) hide show
  1. package/.gitlab-ci.yml +15 -0
  2. package/Examples/alt-bbox-format.ultra +9 -0
  3. package/Examples/atp-usps-dropboxes.ultra +68 -0
  4. package/Examples/bike-infra.ultra +111 -0
  5. package/Examples/contribution-heatmap.ultra +17 -0
  6. package/Examples/custom-style.ultra +114 -0
  7. package/Examples/glow-effect.ultra +27 -0
  8. package/Examples/index.md +7 -0
  9. package/Examples/landmarks-prototype.ultra +68 -0
  10. package/Examples/minimalist-ski-map.ultra +55 -0
  11. package/Examples/opentrailstash-3d.ultra +40 -0
  12. package/Examples/overture-landcover-plus-hillshade.ultra +45 -0
  13. package/Examples/overture-places-and-osm.ultra +29 -0
  14. package/Examples/trees.ultra +60 -0
  15. package/Examples/wikidata-photo.ultra +28 -0
  16. package/Examples/within-bounds.ultra +12 -0
  17. package/LICENSE +23 -0
  18. package/MapLibre-Examples/3d-buildings.ultra +43 -0
  19. package/MapLibre-Examples/3d-extrusion-floorplan.ultra +28 -0
  20. package/MapLibre-Examples/3d-terrain.ultra +39 -0
  21. package/MapLibre-Examples/add-image.ultra +26 -0
  22. package/MapLibre-Examples/attribution-position.ultra +12 -0
  23. package/MapLibre-Examples/change-case-of-labels.ultra +26 -0
  24. package/MapLibre-Examples/cluster.ultra +59 -0
  25. package/MapLibre-Examples/cooperative-gestures.ultra +11 -0
  26. package/MapLibre-Examples/custom-marker-icons.ultra +65 -0
  27. package/MapLibre-Examples/data-driven-lines.ultra +169 -0
  28. package/MapLibre-Examples/disable-rotation.ultra +11 -0
  29. package/MapLibre-Examples/disable-scroll-zoom.ultra +9 -0
  30. package/MapLibre-Examples/display-and-style-rich-text-labels.ultra +22 -0
  31. package/MapLibre-Examples/fill-pattern.ultra +43 -0
  32. package/MapLibre-Examples/fullscreen.ultra +10 -0
  33. package/MapLibre-Examples/geojson-layer-in-stack.ultra +23 -0
  34. package/MapLibre-Examples/geojson-line.ultra +114 -0
  35. package/MapLibre-Examples/geojson-markers.ultra +217 -0
  36. package/MapLibre-Examples/geojson-polygon.ultra +104 -0
  37. package/MapLibre-Examples/heatmap-layer.ultra +111 -0
  38. package/MapLibre-Examples/index.md +4 -0
  39. package/MapLibre-Examples/locate-user.ultra +14 -0
  40. package/MapLibre-Examples/map-tiles.ultra +9 -0
  41. package/MapLibre-Examples/pmtiles.ultra +25 -0
  42. package/MapLibre-Examples/wms.ultra +14 -0
  43. package/README.md +46 -0
  44. package/bin/dev.cmd +3 -0
  45. package/bin/dev.js +6 -0
  46. package/bin/run.cmd +3 -0
  47. package/bin/run.js +5 -0
  48. package/build-examples-docs.js +104 -0
  49. package/build-examples-images.js +87 -0
  50. package/build-sprites.sh +30 -0
  51. package/cli/build.js +53 -0
  52. package/cli/serve.js +34 -0
  53. package/components/button-modal.js +111 -0
  54. package/components/button.css +22 -0
  55. package/components/button.js +6 -0
  56. package/components/code-editor.js +87 -0
  57. package/components/download-button.js +69 -0
  58. package/components/fontawesome-icon.js +80 -0
  59. package/components/fs-button.js +52 -0
  60. package/components/help-modal.js +98 -0
  61. package/components/map-popup.js +57 -0
  62. package/components/nav-bar.js +76 -0
  63. package/components/run-button.js +78 -0
  64. package/components/share-button.js +35 -0
  65. package/components/share-modal.js +139 -0
  66. package/components/style-picker.js +47 -0
  67. package/components/ultra-ide.js +298 -0
  68. package/components/ultra-loader.js +60 -0
  69. package/components/ultra-map.js +312 -0
  70. package/configs/minimal.js +9 -0
  71. package/configs/overpass-ultra.js +185 -0
  72. package/docs/assets/Examples/alt-bbox-format.png +0 -0
  73. package/docs/assets/Examples/atp-usps-dropboxes.png +0 -0
  74. package/docs/assets/Examples/bike-infra.png +0 -0
  75. package/docs/assets/Examples/contribution-heatmap.png +0 -0
  76. package/docs/assets/Examples/custom-style.png +0 -0
  77. package/docs/assets/Examples/glow-effect.png +0 -0
  78. package/docs/assets/Examples/landmarks-prototype.png +0 -0
  79. package/docs/assets/Examples/minimalist-ski-map.png +0 -0
  80. package/docs/assets/Examples/opentrailstash-3d.png +0 -0
  81. package/docs/assets/Examples/overture-landcover-plus-hillshade.png +0 -0
  82. package/docs/assets/Examples/overture-places-and-osm.png +0 -0
  83. package/docs/assets/Examples/trees.png +0 -0
  84. package/docs/assets/Examples/wikidata-photo.png +0 -0
  85. package/docs/assets/Examples/within-bounds.png +0 -0
  86. package/docs/assets/MapLibre-Examples/3d-buildings.png +0 -0
  87. package/docs/assets/MapLibre-Examples/3d-extrusion-floorplan.png +0 -0
  88. package/docs/assets/MapLibre-Examples/3d-terrain.png +0 -0
  89. package/docs/assets/MapLibre-Examples/add-image.png +0 -0
  90. package/docs/assets/MapLibre-Examples/attribution-position.png +0 -0
  91. package/docs/assets/MapLibre-Examples/change-case-of-labels.png +0 -0
  92. package/docs/assets/MapLibre-Examples/cluster.png +0 -0
  93. package/docs/assets/MapLibre-Examples/cooperative-gestures.png +0 -0
  94. package/docs/assets/MapLibre-Examples/custom-marker-icons.png +0 -0
  95. package/docs/assets/MapLibre-Examples/data-driven-lines.png +0 -0
  96. package/docs/assets/MapLibre-Examples/disable-rotation.png +0 -0
  97. package/docs/assets/MapLibre-Examples/disable-scroll-zoom.png +0 -0
  98. package/docs/assets/MapLibre-Examples/display-and-style-rich-text-labels.png +0 -0
  99. package/docs/assets/MapLibre-Examples/fill-pattern.png +0 -0
  100. package/docs/assets/MapLibre-Examples/fullscreen.png +0 -0
  101. package/docs/assets/MapLibre-Examples/geojson-layer-in-stack.png +0 -0
  102. package/docs/assets/MapLibre-Examples/geojson-line.png +0 -0
  103. package/docs/assets/MapLibre-Examples/geojson-markers.png +0 -0
  104. package/docs/assets/MapLibre-Examples/geojson-polygon.png +0 -0
  105. package/docs/assets/MapLibre-Examples/heatmap-layer.png +0 -0
  106. package/docs/assets/MapLibre-Examples/locate-user.png +0 -0
  107. package/docs/assets/MapLibre-Examples/map-tiles.png +0 -0
  108. package/docs/assets/MapLibre-Examples/pmtiles.png +0 -0
  109. package/docs/assets/MapLibre-Examples/wms.png +0 -0
  110. package/docs/assets/data/Examples/atp_usps_collection_boxes.geojson +1 -0
  111. package/docs/further-reading.md +15 -0
  112. package/docs/index.md +55 -0
  113. package/docs/overrides/partials/integrations/analytics/custom.html +11 -0
  114. package/docs/query-shortcuts.md +21 -0
  115. package/docs/style.md +120 -0
  116. package/docs/url-parameters.md +45 -0
  117. package/docs/yaml.md +117 -0
  118. package/index.js +53 -0
  119. package/lib/base.css +12 -0
  120. package/lib/bounds.js +8 -0
  121. package/lib/dom.js +21 -0
  122. package/lib/glyphFallback.js +31 -0
  123. package/lib/localStorage.js +34 -0
  124. package/lib/normalize.js +5 -0
  125. package/lib/queryMap.js +50 -0
  126. package/lib/queryParams.js +142 -0
  127. package/lib/queryProviders/auto.js +47 -0
  128. package/lib/queryProviders/geojson.js +134 -0
  129. package/lib/queryProviders/gpx.js +101 -0
  130. package/lib/queryProviders/index.js +22 -0
  131. package/lib/queryProviders/kml.js +132 -0
  132. package/lib/queryProviders/osm.js +199 -0
  133. package/lib/queryProviders/overpass.js +162 -0
  134. package/lib/queryProviders/raster.js +23 -0
  135. package/lib/queryProviders/tcx.js +105 -0
  136. package/lib/queryProviders/vector.js +13 -0
  137. package/lib/settings.js +72 -0
  138. package/lib/sprites.js +18 -0
  139. package/lib/style.js +222 -0
  140. package/mkdocs.yml +26 -0
  141. package/package.json +80 -0
  142. package/screenshot.png +0 -0
  143. package/static/embed.js +18 -0
  144. package/static/font/0-255.pbf +0 -0
  145. package/static/font/1024-1279.pbf +0 -0
  146. package/static/font/10240-10495.pbf +3 -0
  147. package/static/font/10496-10751.pbf +0 -0
  148. package/static/font/10752-11007.pbf +3 -0
  149. package/static/font/11008-11263.pbf +0 -0
  150. package/static/font/11264-11519.pbf +0 -0
  151. package/static/font/11520-11775.pbf +0 -0
  152. package/static/font/11776-12031.pbf +0 -0
  153. package/static/font/12032-12287.pbf +0 -0
  154. package/static/font/12288-12543.pbf +0 -0
  155. package/static/font/12544-12799.pbf +0 -0
  156. package/static/font/1280-1535.pbf +0 -0
  157. package/static/font/12800-13055.pbf +0 -0
  158. package/static/font/13056-13311.pbf +0 -0
  159. package/static/font/13312-13567.pbf +0 -0
  160. package/static/font/13568-13823.pbf +0 -0
  161. package/static/font/13824-14079.pbf +0 -0
  162. package/static/font/14080-14335.pbf +0 -0
  163. package/static/font/14336-14591.pbf +0 -0
  164. package/static/font/14592-14847.pbf +0 -0
  165. package/static/font/14848-15103.pbf +0 -0
  166. package/static/font/15104-15359.pbf +0 -0
  167. package/static/font/1536-1791.pbf +0 -0
  168. package/static/font/15360-15615.pbf +0 -0
  169. package/static/font/15616-15871.pbf +0 -0
  170. package/static/font/15872-16127.pbf +0 -0
  171. package/static/font/16128-16383.pbf +0 -0
  172. package/static/font/16384-16639.pbf +0 -0
  173. package/static/font/16640-16895.pbf +0 -0
  174. package/static/font/16896-17151.pbf +0 -0
  175. package/static/font/17152-17407.pbf +0 -0
  176. package/static/font/17408-17663.pbf +0 -0
  177. package/static/font/17664-17919.pbf +0 -0
  178. package/static/font/1792-2047.pbf +0 -0
  179. package/static/font/17920-18175.pbf +0 -0
  180. package/static/font/18176-18431.pbf +0 -0
  181. package/static/font/18432-18687.pbf +0 -0
  182. package/static/font/18688-18943.pbf +0 -0
  183. package/static/font/18944-19199.pbf +0 -0
  184. package/static/font/19200-19455.pbf +0 -0
  185. package/static/font/19456-19711.pbf +0 -0
  186. package/static/font/19712-19967.pbf +0 -0
  187. package/static/font/19968-20223.pbf +0 -0
  188. package/static/font/20224-20479.pbf +0 -0
  189. package/static/font/2048-2303.pbf +0 -0
  190. package/static/font/20480-20735.pbf +0 -0
  191. package/static/font/20736-20991.pbf +0 -0
  192. package/static/font/20992-21247.pbf +0 -0
  193. package/static/font/21248-21503.pbf +0 -0
  194. package/static/font/21504-21759.pbf +0 -0
  195. package/static/font/21760-22015.pbf +0 -0
  196. package/static/font/22016-22271.pbf +0 -0
  197. package/static/font/22272-22527.pbf +192 -26
  198. package/static/font/22528-22783.pbf +0 -0
  199. package/static/font/22784-23039.pbf +0 -0
  200. package/static/font/2304-2559.pbf +0 -0
  201. package/static/font/23040-23295.pbf +0 -0
  202. package/static/font/23296-23551.pbf +0 -0
  203. package/static/font/23552-23807.pbf +0 -0
  204. package/static/font/23808-24063.pbf +0 -0
  205. package/static/font/24064-24319.pbf +0 -0
  206. package/static/font/24320-24575.pbf +0 -0
  207. package/static/font/24576-24831.pbf +0 -0
  208. package/static/font/24832-25087.pbf +0 -0
  209. package/static/font/25088-25343.pbf +0 -0
  210. package/static/font/25344-25599.pbf +0 -0
  211. package/static/font/256-511.pbf +0 -0
  212. package/static/font/2560-2815.pbf +0 -0
  213. package/static/font/25600-25855.pbf +0 -0
  214. package/static/font/25856-26111.pbf +0 -0
  215. package/static/font/26112-26367.pbf +0 -0
  216. package/static/font/26368-26623.pbf +0 -0
  217. package/static/font/26624-26879.pbf +0 -0
  218. package/static/font/26880-27135.pbf +0 -0
  219. package/static/font/27136-27391.pbf +0 -0
  220. package/static/font/27392-27647.pbf +0 -0
  221. package/static/font/27648-27903.pbf +0 -0
  222. package/static/font/27904-28159.pbf +0 -0
  223. package/static/font/2816-3071.pbf +0 -0
  224. package/static/font/28160-28415.pbf +0 -0
  225. package/static/font/28416-28671.pbf +0 -0
  226. package/static/font/28672-28927.pbf +0 -0
  227. package/static/font/28928-29183.pbf +0 -0
  228. package/static/font/29184-29439.pbf +0 -0
  229. package/static/font/29440-29695.pbf +0 -0
  230. package/static/font/29696-29951.pbf +0 -0
  231. package/static/font/29952-30207.pbf +0 -0
  232. package/static/font/30208-30463.pbf +0 -0
  233. package/static/font/30464-30719.pbf +0 -0
  234. package/static/font/3072-3327.pbf +0 -0
  235. package/static/font/30720-30975.pbf +0 -0
  236. package/static/font/30976-31231.pbf +0 -0
  237. package/static/font/31232-31487.pbf +0 -0
  238. package/static/font/31488-31743.pbf +0 -0
  239. package/static/font/31744-31999.pbf +0 -0
  240. package/static/font/32000-32255.pbf +0 -0
  241. package/static/font/32256-32511.pbf +0 -0
  242. package/static/font/32512-32767.pbf +0 -0
  243. package/static/font/32768-33023.pbf +0 -0
  244. package/static/font/33024-33279.pbf +0 -0
  245. package/static/font/3328-3583.pbf +0 -0
  246. package/static/font/33280-33535.pbf +0 -0
  247. package/static/font/33536-33791.pbf +0 -0
  248. package/static/font/33792-34047.pbf +0 -0
  249. package/static/font/34048-34303.pbf +0 -0
  250. package/static/font/34304-34559.pbf +0 -0
  251. package/static/font/34560-34815.pbf +0 -0
  252. package/static/font/34816-35071.pbf +0 -0
  253. package/static/font/35072-35327.pbf +0 -0
  254. package/static/font/35328-35583.pbf +0 -0
  255. package/static/font/35584-35839.pbf +0 -0
  256. package/static/font/3584-3839.pbf +0 -0
  257. package/static/font/35840-36095.pbf +0 -0
  258. package/static/font/36096-36351.pbf +0 -0
  259. package/static/font/36352-36607.pbf +0 -0
  260. package/static/font/36608-36863.pbf +0 -0
  261. package/static/font/36864-37119.pbf +0 -0
  262. package/static/font/37120-37375.pbf +0 -0
  263. package/static/font/37376-37631.pbf +0 -0
  264. package/static/font/37632-37887.pbf +0 -0
  265. package/static/font/37888-38143.pbf +0 -0
  266. package/static/font/38144-38399.pbf +0 -0
  267. package/static/font/3840-4095.pbf +0 -0
  268. package/static/font/38400-38655.pbf +45 -4
  269. package/static/font/38656-38911.pbf +0 -0
  270. package/static/font/38912-39167.pbf +0 -0
  271. package/static/font/39168-39423.pbf +0 -0
  272. package/static/font/39424-39679.pbf +0 -0
  273. package/static/font/39680-39935.pbf +0 -0
  274. package/static/font/39936-40191.pbf +0 -0
  275. package/static/font/40192-40447.pbf +0 -0
  276. package/static/font/40448-40703.pbf +0 -0
  277. package/static/font/40704-40959.pbf +0 -0
  278. package/static/font/4096-4351.pbf +0 -0
  279. package/static/font/40960-41215.pbf +3 -0
  280. package/static/font/41216-41471.pbf +3 -0
  281. package/static/font/41472-41727.pbf +3 -0
  282. package/static/font/41728-41983.pbf +3 -0
  283. package/static/font/41984-42239.pbf +3 -0
  284. package/static/font/42240-42495.pbf +3 -0
  285. package/static/font/42496-42751.pbf +3 -0
  286. package/static/font/42752-43007.pbf +0 -0
  287. package/static/font/43008-43263.pbf +0 -0
  288. package/static/font/43264-43519.pbf +0 -0
  289. package/static/font/4352-4607.pbf +0 -0
  290. package/static/font/43520-43775.pbf +0 -0
  291. package/static/font/43776-44031.pbf +0 -0
  292. package/static/font/44032-44287.pbf +0 -0
  293. package/static/font/44288-44543.pbf +0 -0
  294. package/static/font/44544-44799.pbf +0 -0
  295. package/static/font/44800-45055.pbf +0 -0
  296. package/static/font/45056-45311.pbf +0 -0
  297. package/static/font/45312-45567.pbf +0 -0
  298. package/static/font/45568-45823.pbf +0 -0
  299. package/static/font/45824-46079.pbf +0 -0
  300. package/static/font/4608-4863.pbf +0 -0
  301. package/static/font/46080-46335.pbf +0 -0
  302. package/static/font/46336-46591.pbf +0 -0
  303. package/static/font/46592-46847.pbf +0 -0
  304. package/static/font/46848-47103.pbf +0 -0
  305. package/static/font/47104-47359.pbf +0 -0
  306. package/static/font/47360-47615.pbf +0 -0
  307. package/static/font/47616-47871.pbf +0 -0
  308. package/static/font/47872-48127.pbf +0 -0
  309. package/static/font/48128-48383.pbf +0 -0
  310. package/static/font/48384-48639.pbf +0 -0
  311. package/static/font/4864-5119.pbf +0 -0
  312. package/static/font/48640-48895.pbf +0 -0
  313. package/static/font/48896-49151.pbf +0 -0
  314. package/static/font/49152-49407.pbf +0 -0
  315. package/static/font/49408-49663.pbf +0 -0
  316. package/static/font/49664-49919.pbf +0 -0
  317. package/static/font/49920-50175.pbf +0 -0
  318. package/static/font/50176-50431.pbf +0 -0
  319. package/static/font/50432-50687.pbf +0 -0
  320. package/static/font/50688-50943.pbf +0 -0
  321. package/static/font/50944-51199.pbf +0 -0
  322. package/static/font/512-767.pbf +0 -0
  323. package/static/font/5120-5375.pbf +3 -0
  324. package/static/font/51200-51455.pbf +0 -0
  325. package/static/font/51456-51711.pbf +0 -0
  326. package/static/font/51712-51967.pbf +0 -0
  327. package/static/font/51968-52223.pbf +0 -0
  328. package/static/font/52224-52479.pbf +0 -0
  329. package/static/font/52480-52735.pbf +0 -0
  330. package/static/font/52736-52991.pbf +0 -0
  331. package/static/font/52992-53247.pbf +0 -0
  332. package/static/font/53248-53503.pbf +0 -0
  333. package/static/font/53504-53759.pbf +0 -0
  334. package/static/font/5376-5631.pbf +3 -0
  335. package/static/font/53760-54015.pbf +0 -0
  336. package/static/font/54016-54271.pbf +0 -0
  337. package/static/font/54272-54527.pbf +0 -0
  338. package/static/font/54528-54783.pbf +0 -0
  339. package/static/font/54784-55039.pbf +0 -0
  340. package/static/font/55040-55295.pbf +0 -0
  341. package/static/font/55296-55551.pbf +3 -0
  342. package/static/font/55552-55807.pbf +3 -0
  343. package/static/font/55808-56063.pbf +3 -0
  344. package/static/font/56064-56319.pbf +3 -0
  345. package/static/font/5632-5887.pbf +3 -0
  346. package/static/font/56320-56575.pbf +3 -0
  347. package/static/font/56576-56831.pbf +3 -0
  348. package/static/font/56832-57087.pbf +3 -0
  349. package/static/font/57088-57343.pbf +3 -0
  350. package/static/font/57344-57599.pbf +3 -0
  351. package/static/font/57600-57855.pbf +3 -0
  352. package/static/font/57856-58111.pbf +3 -0
  353. package/static/font/58112-58367.pbf +3 -0
  354. package/static/font/58368-58623.pbf +3 -0
  355. package/static/font/58624-58879.pbf +3 -0
  356. package/static/font/5888-6143.pbf +0 -0
  357. package/static/font/58880-59135.pbf +3 -0
  358. package/static/font/59136-59391.pbf +3 -0
  359. package/static/font/59392-59647.pbf +3 -0
  360. package/static/font/59648-59903.pbf +3 -0
  361. package/static/font/59904-60159.pbf +3 -0
  362. package/static/font/60160-60415.pbf +3 -0
  363. package/static/font/60416-60671.pbf +3 -0
  364. package/static/font/60672-60927.pbf +3 -0
  365. package/static/font/60928-61183.pbf +3 -0
  366. package/static/font/61184-61439.pbf +3 -0
  367. package/static/font/6144-6399.pbf +0 -0
  368. package/static/font/61440-61695.pbf +3 -0
  369. package/static/font/61696-61951.pbf +3 -0
  370. package/static/font/61952-62207.pbf +3 -0
  371. package/static/font/62208-62463.pbf +3 -0
  372. package/static/font/62464-62719.pbf +3 -0
  373. package/static/font/62720-62975.pbf +3 -0
  374. package/static/font/62976-63231.pbf +3 -0
  375. package/static/font/63232-63487.pbf +3 -0
  376. package/static/font/63488-63743.pbf +3 -0
  377. package/static/font/63744-63999.pbf +0 -0
  378. package/static/font/6400-6655.pbf +0 -0
  379. package/static/font/64000-64255.pbf +0 -0
  380. package/static/font/64256-64511.pbf +0 -0
  381. package/static/font/64512-64767.pbf +0 -0
  382. package/static/font/64768-65023.pbf +0 -0
  383. package/static/font/65024-65279.pbf +0 -0
  384. package/static/font/65280-65535.pbf +0 -0
  385. package/static/font/6656-6911.pbf +3 -0
  386. package/static/font/6912-7167.pbf +0 -0
  387. package/static/font/7168-7423.pbf +0 -0
  388. package/static/font/7424-7679.pbf +0 -0
  389. package/static/font/768-1023.pbf +0 -0
  390. package/static/font/7680-7935.pbf +0 -0
  391. package/static/font/7936-8191.pbf +0 -0
  392. package/static/font/8192-8447.pbf +0 -0
  393. package/static/font/8448-8703.pbf +0 -0
  394. package/static/font/8704-8959.pbf +0 -0
  395. package/static/font/8960-9215.pbf +0 -0
  396. package/static/font/9216-9471.pbf +0 -0
  397. package/static/font/9472-9727.pbf +0 -0
  398. package/static/font/9728-9983.pbf +0 -0
  399. package/static/font/9984-10239.pbf +0 -0
  400. package/static/index.html +59 -0
  401. package/static/logo.png +0 -0
  402. package/static/logo.svg +78 -0
  403. package/static/mapbox-gl-rtl-text@0.2.3.js +9851 -0
  404. package/static/minimal.js +9 -0
  405. package/static/minimal.json +7 -0
  406. package/static/sprites/maki.json +1706 -0
  407. package/static/sprites/maki.license +116 -0
  408. package/static/sprites/maki.png +0 -0
  409. package/static/sprites/maki@2x.json +1706 -0
  410. package/static/sprites/maki@2x.png +0 -0
  411. package/static/sprites/temaki.json +4306 -0
  412. package/static/sprites/temaki.license +118 -0
  413. package/static/sprites/temaki.png +0 -0
  414. package/static/sprites/temaki@2x.json +4306 -0
  415. package/static/sprites/temaki@2x.png +0 -0
@@ -0,0 +1,114 @@
1
+ ---
2
+ title: Add a GeoJSON line
3
+ description: Add a GeoJSON line to a map using addSource, then style it using addLayer’s paint properties.
4
+ type: geojson
5
+ options:
6
+ zoom: 15
7
+ center: [ -122.486052, 37.83034 ]
8
+ style:
9
+ extends: https://styles.trailsta.sh/osm-liberty.json
10
+ layers:
11
+ - type: line
12
+ line-color: '#888'
13
+ line-width: 8
14
+ line-cap: round
15
+ line-join: round
16
+ ---
17
+ {
18
+ "type": "FeatureCollection",
19
+ "features": [
20
+ {
21
+ "type": "Feature",
22
+ "properties": {},
23
+ "geometry": {
24
+ "type": "LineString",
25
+ "coordinates": [
26
+ [
27
+ -122.48369693756104,
28
+ 37.83381888486939
29
+ ],
30
+ [
31
+ -122.48348236083984,
32
+ 37.83317489144141
33
+ ],
34
+ [
35
+ -122.48339653015138,
36
+ 37.83270036637107
37
+ ],
38
+ [
39
+ -122.48356819152832,
40
+ 37.832056363179625
41
+ ],
42
+ [
43
+ -122.48404026031496,
44
+ 37.83114119107971
45
+ ],
46
+ [
47
+ -122.48404026031496,
48
+ 37.83049717427869
49
+ ],
50
+ [
51
+ -122.48348236083984,
52
+ 37.829920943955045
53
+ ],
54
+ [
55
+ -122.48356819152832,
56
+ 37.82954808664175
57
+ ],
58
+ [
59
+ -122.48507022857666,
60
+ 37.82944639795659
61
+ ],
62
+ [
63
+ -122.48610019683838,
64
+ 37.82880236636284
65
+ ],
66
+ [
67
+ -122.48695850372314,
68
+ 37.82931081282506
69
+ ],
70
+ [
71
+ -122.48700141906738,
72
+ 37.83080223556934
73
+ ],
74
+ [
75
+ -122.48751640319824,
76
+ 37.83168351665737
77
+ ],
78
+ [
79
+ -122.48803138732912,
80
+ 37.832158048267786
81
+ ],
82
+ [
83
+ -122.48888969421387,
84
+ 37.83297152392784
85
+ ],
86
+ [
87
+ -122.48987674713133,
88
+ 37.83263257682617
89
+ ],
90
+ [
91
+ -122.49043464660643,
92
+ 37.832937629287755
93
+ ],
94
+ [
95
+ -122.49125003814696,
96
+ 37.832429207817725
97
+ ],
98
+ [
99
+ -122.49163627624512,
100
+ 37.832564787218985
101
+ ],
102
+ [
103
+ -122.49223709106445,
104
+ 37.83337825839438
105
+ ],
106
+ [
107
+ -122.49378204345702,
108
+ 37.83368330777276
109
+ ]
110
+ ]
111
+ }
112
+ }
113
+ ]
114
+ }
@@ -0,0 +1,217 @@
1
+ ---
2
+ title: Draw GeoJSON points
3
+ description: Draw points from a GeoJSON collection to a map.
4
+ type: geojson
5
+ options:
6
+ zoom: 1
7
+ center: [ 0, 0 ]
8
+ style:
9
+ extends: https://styles.trailsta.sh/positron.json
10
+ layers:
11
+ - type: symbol
12
+ icon-image: https://maplibre.org/maplibre-gl-js/docs/assets/osgeo-logo.png
13
+ text-field: [get, year]
14
+ text-offset: [0, 1.25]
15
+ text-font: [Open Sans Semibold]
16
+ text-anchor: top
17
+ ---
18
+ {
19
+ "type": "FeatureCollection",
20
+ "features": [
21
+ {
22
+ "type": "Feature",
23
+ "geometry": {
24
+ "type": "Point",
25
+ "coordinates": [
26
+ 100.4933,
27
+ 13.7551
28
+ ]
29
+ },
30
+ "properties": {
31
+ "year": "2004"
32
+ }
33
+ },
34
+ {
35
+ "type": "Feature",
36
+ "geometry": {
37
+ "type": "Point",
38
+ "coordinates": [
39
+ 6.6523,
40
+ 46.5535
41
+ ]
42
+ },
43
+ "properties": {
44
+ "year": "2006"
45
+ }
46
+ },
47
+ {
48
+ "type": "Feature",
49
+ "geometry": {
50
+ "type": "Point",
51
+ "coordinates": [
52
+ -123.3596,
53
+ 48.4268
54
+ ]
55
+ },
56
+ "properties": {
57
+ "year": "2007"
58
+ }
59
+ },
60
+ {
61
+ "type": "Feature",
62
+ "geometry": {
63
+ "type": "Point",
64
+ "coordinates": [
65
+ 18.4264,
66
+ -33.9224
67
+ ]
68
+ },
69
+ "properties": {
70
+ "year": "2008"
71
+ }
72
+ },
73
+ {
74
+ "type": "Feature",
75
+ "geometry": {
76
+ "type": "Point",
77
+ "coordinates": [
78
+ 151.195,
79
+ -33.8552
80
+ ]
81
+ },
82
+ "properties": {
83
+ "year": "2009"
84
+ }
85
+ },
86
+ {
87
+ "type": "Feature",
88
+ "geometry": {
89
+ "type": "Point",
90
+ "coordinates": [
91
+ 2.1404,
92
+ 41.3925
93
+ ]
94
+ },
95
+ "properties": {
96
+ "year": "2010"
97
+ }
98
+ },
99
+ {
100
+ "type": "Feature",
101
+ "geometry": {
102
+ "type": "Point",
103
+ "coordinates": [
104
+ -104.8548,
105
+ 39.7644
106
+ ]
107
+ },
108
+ "properties": {
109
+ "year": "2011"
110
+ }
111
+ },
112
+ {
113
+ "type": "Feature",
114
+ "geometry": {
115
+ "type": "Point",
116
+ "coordinates": [
117
+ -1.1665,
118
+ 52.9539
119
+ ]
120
+ },
121
+ "properties": {
122
+ "year": "2013"
123
+ }
124
+ },
125
+ {
126
+ "type": "Feature",
127
+ "geometry": {
128
+ "type": "Point",
129
+ "coordinates": [
130
+ -122.6544,
131
+ 45.5428
132
+ ]
133
+ },
134
+ "properties": {
135
+ "year": "2014"
136
+ }
137
+ },
138
+ {
139
+ "type": "Feature",
140
+ "geometry": {
141
+ "type": "Point",
142
+ "coordinates": [
143
+ 126.974,
144
+ 37.5651
145
+ ]
146
+ },
147
+ "properties": {
148
+ "year": "2015"
149
+ }
150
+ },
151
+ {
152
+ "type": "Feature",
153
+ "geometry": {
154
+ "type": "Point",
155
+ "coordinates": [
156
+ 7.1112,
157
+ 50.7255
158
+ ]
159
+ },
160
+ "properties": {
161
+ "year": "2016"
162
+ }
163
+ },
164
+ {
165
+ "type": "Feature",
166
+ "geometry": {
167
+ "type": "Point",
168
+ "coordinates": [
169
+ -71.0314,
170
+ 42.3539
171
+ ]
172
+ },
173
+ "properties": {
174
+ "year": "2017"
175
+ }
176
+ },
177
+ {
178
+ "type": "Feature",
179
+ "geometry": {
180
+ "type": "Point",
181
+ "coordinates": [
182
+ 39.2794,
183
+ -6.8173
184
+ ]
185
+ },
186
+ "properties": {
187
+ "year": "2018"
188
+ }
189
+ },
190
+ {
191
+ "type": "Feature",
192
+ "geometry": {
193
+ "type": "Point",
194
+ "coordinates": [
195
+ 26.0961,
196
+ 44.4379
197
+ ]
198
+ },
199
+ "properties": {
200
+ "year": "2019"
201
+ }
202
+ },
203
+ {
204
+ "type": "Feature",
205
+ "geometry": {
206
+ "type": "Point",
207
+ "coordinates": [
208
+ -114.0879,
209
+ 51.0279
210
+ ]
211
+ },
212
+ "properties": {
213
+ "year": "2020"
214
+ }
215
+ }
216
+ ]
217
+ }
@@ -0,0 +1,104 @@
1
+ ---
2
+ title: Add a GeoJSON polygon
3
+ description: Style a polygon with the fill layer type.
4
+ type: geojson
5
+ options:
6
+ zoom: 5
7
+ center: [ -68.13734351262877, 45.137451890638886 ]
8
+ style:
9
+ extends: https://styles.trailsta.sh/osm-liberty.json
10
+ layers:
11
+ - type: fill
12
+ fill-color: '#088'
13
+ fill-opacity: 0.8
14
+ ---
15
+ {
16
+ "type": "Feature",
17
+ "geometry": {
18
+ "type": "Polygon",
19
+ "coordinates": [
20
+ [
21
+ [
22
+ -67.13734351262877,
23
+ 45.137451890638886
24
+ ],
25
+ [
26
+ -66.96466,
27
+ 44.8097
28
+ ],
29
+ [
30
+ -68.03252,
31
+ 44.3252
32
+ ],
33
+ [
34
+ -69.06,
35
+ 43.98
36
+ ],
37
+ [
38
+ -70.11617,
39
+ 43.68405
40
+ ],
41
+ [
42
+ -70.64573401557249,
43
+ 43.090083319667144
44
+ ],
45
+ [
46
+ -70.75102474636725,
47
+ 43.08003225358635
48
+ ],
49
+ [
50
+ -70.79761105007827,
51
+ 43.21973948828747
52
+ ],
53
+ [
54
+ -70.98176001655037,
55
+ 43.36789581966826
56
+ ],
57
+ [
58
+ -70.94416541205806,
59
+ 43.46633942318431
60
+ ],
61
+ [
62
+ -71.08482,
63
+ 45.3052400000002
64
+ ],
65
+ [
66
+ -70.6600225491012,
67
+ 45.46022288673396
68
+ ],
69
+ [
70
+ -70.30495378282376,
71
+ 45.914794623389355
72
+ ],
73
+ [
74
+ -70.00014034695016,
75
+ 46.69317088478567
76
+ ],
77
+ [
78
+ -69.23708614772835,
79
+ 47.44777598732787
80
+ ],
81
+ [
82
+ -68.90478084987546,
83
+ 47.184794623394396
84
+ ],
85
+ [
86
+ -68.23430497910454,
87
+ 47.35462921812177
88
+ ],
89
+ [
90
+ -67.79035274928509,
91
+ 47.066248887716995
92
+ ],
93
+ [
94
+ -67.79141211614706,
95
+ 45.702585354182816
96
+ ],
97
+ [
98
+ -67.13734351262877,
99
+ 45.137451890638886
100
+ ]
101
+ ]
102
+ ]
103
+ }
104
+ }
@@ -0,0 +1,111 @@
1
+ ---
2
+ title: Create a heatmap layer
3
+ description: Visualize earthquake frequency by location using a heatmap layer.
4
+ type: geojson
5
+ options:
6
+ zoom: 2
7
+ center: [ -120, 50 ]
8
+ style:
9
+ extends: https://styles.trailsta.sh/maptiler-basic.json
10
+ layers:
11
+ - type: heatmap
12
+ beforeLayerId: waterway
13
+ maxzoom: 9
14
+ # Increase the heatmap weight based on frequency and property magnitude
15
+ heatmap-weight:
16
+ - interpolate
17
+ - [ linear ]
18
+ - [ get, mag ]
19
+ - 0
20
+ - 0
21
+ - 6
22
+ - 1
23
+ # Increase the heatmap color weight weight by zoom level
24
+ # heatmap-intensity is a multiplier on top of heatmap-weight
25
+ heatmap-intensity:
26
+ - interpolate
27
+ - [ linear ]
28
+ - [ zoom ]
29
+ - 0
30
+ - 1
31
+ - 9
32
+ - 3
33
+ # Color ramp for heatmap. Domain is 0 (low) to 1 (high).
34
+ # Begin color ramp at 0-stop with a 0-transparency color
35
+ # to create a blur-like effect.
36
+ heatmap-color:
37
+ - interpolate
38
+ - [ linear ]
39
+ - [ heatmap-density ]
40
+ - 0
41
+ - rgba(33,102,172,0)
42
+ - 0.2
43
+ - rgb(103,169,207)
44
+ - 0.4
45
+ - rgb(209,229,240)
46
+ - 0.6
47
+ - rgb(253,219,199)
48
+ - 0.8
49
+ - rgb(239,138,98)
50
+ - 1
51
+ - rgb(178,24,43)
52
+ # Adjust the heatmap radius by zoom level
53
+ heatmap-radius:
54
+ - interpolate
55
+ - [ linear ]
56
+ - [ zoom ]
57
+ - 0
58
+ - 2
59
+ - 9
60
+ - 20
61
+ # Transition from heatmap to circle layer by zoom level
62
+ heatmap-opacity:
63
+ - interpolate
64
+ - [ linear ]
65
+ - [ zoom ]
66
+ - 7
67
+ - 1
68
+ - 9
69
+ - 0
70
+ - type: circle
71
+ beforeLayerId: waterway
72
+ minzoom: 7
73
+ # Size circle radius by earthquake magnitude and zoom level
74
+ circle-radius:
75
+ - interpolate
76
+ - [linear]
77
+ - [zoom]
78
+ - 7
79
+ - [interpolate, [linear], [get, mag], 1, 1, 6, 4]
80
+ - 16
81
+ - [interpolate, [linear], [get, mag], 1, 5, 6, 50]
82
+ # Color circle by earthquake magnitude
83
+ circle-color:
84
+ - interpolate
85
+ - [linear]
86
+ - [get, mag]
87
+ - 1
88
+ - rgba(33,102,172,0)
89
+ - 2
90
+ - rgb(103,169,207)
91
+ - 3
92
+ - rgb(209,229,240)
93
+ - 4
94
+ - rgb(253,219,199)
95
+ - 5
96
+ - rgb(239,138,98)
97
+ - 6
98
+ - rgb(178,24,43)
99
+ circle-stroke-color: white
100
+ circle-stroke-width: 1
101
+ # Transition from heatmap to circle layer by zoom level
102
+ circle-opacity:
103
+ - interpolate
104
+ - [linear]
105
+ - [zoom]
106
+ - 7
107
+ - 0
108
+ - 8
109
+ - 1
110
+ ---
111
+ https://maplibre.org/maplibre-gl-js/docs/assets/earthquakes.geojson
@@ -0,0 +1,4 @@
1
+ # Overview
2
+
3
+ These examples aim to replicate as much of the [MapLibre GL JS
4
+ Examples](https://maplibre.org/maplibre-gl-js/docs/examples/) as possible.
@@ -0,0 +1,14 @@
1
+ ---
2
+ title: Locate the user
3
+ description: Geolocate the user and then track their current location on the map using the GeolocateControl.
4
+ options:
5
+ zoom: 3
6
+ center: [ -96, 37.8 ]
7
+ style: https://styles.trailsta.sh/osm-liberty.json
8
+ controls:
9
+ - type: GeolocateControl
10
+ options:
11
+ positionOptions:
12
+ enableHighAccuracy: true
13
+ trackUserLocation: true
14
+ ---
@@ -0,0 +1,9 @@
1
+ ---
2
+ title: Add a raster tile source
3
+ description: Add a third-party raster source to the map.
4
+ options:
5
+ zoom: 2
6
+ center: [ -74.5, 40 ]
7
+ type: raster
8
+ ---
9
+ https://watercolormaps.collection.cooperhewitt.org/tile/watercolor/{z}/{x}/{y}.jpg
@@ -0,0 +1,25 @@
1
+ ---
2
+ title: PMTiles source and protocol
3
+ description: Uses the PMTiles plugin and protocol to present a map.
4
+ # Overpass Ultra has built-in support for PMTiles
5
+ type: vector
6
+ options:
7
+ zoom: 12
8
+ center: [ 11.2414827, 43.779779 ]
9
+ attributionControl:
10
+ compact: true
11
+ # Setting custom attribution bc the tiles don't seem to include it.
12
+ customAttribution: '© <a href="https://openstreetmap.org">OpenStreetMap</a>'
13
+ style:
14
+ version: 8
15
+ layers:
16
+ - type: fill
17
+ source-layer: landuse
18
+ fill-color: steelblue
19
+ - type: line
20
+ source-layer: roads
21
+ - type: fill
22
+ source-layer: mask
23
+ fill-color: white
24
+ ---
25
+ pmtiles://https://pmtiles.io/protomaps(vector)ODbL_firenze.pmtiles
@@ -0,0 +1,14 @@
1
+ ---
2
+ title: Add a WMS source
3
+ description: Add an external Web Map Service raster layer to the map using addSource's tiles option.
4
+ type: raster
5
+ options:
6
+ center: [-74.5447, 40.6892]
7
+ zoom: 8
8
+ style:
9
+ extends: https://styles.trailsta.sh/osm-liberty.json
10
+ layers:
11
+ - type: raster
12
+ beforeLayerId: aeroway_fill
13
+ ---
14
+ https://img.nj.gov/imagerywms/Natural2015?bbox={bbox-epsg-3857}&format=image/png&service=WMS&version=1.1.1&request=GetMap&srs=EPSG:3857&transparent=true&width=512&height=512&layers=Natural2015
package/README.md ADDED
@@ -0,0 +1,46 @@
1
+ # Introduction
2
+
3
+ Ultra is a web-application made to simplify making maps with [MapLibre GL
4
+ JS](https://maplibre.org).
5
+
6
+ [Overpass Ultra](https://overpass-ultra.us) is the main deployment of Ultra.
7
+
8
+ The customization of the map comply with an [extended](https://overpass-ultra.us/docs/style#ultra-maplibre-styles) version
9
+ of the the [MapLibre Style Spec](https://maplibre.org/maplibre-style-spec/).
10
+
11
+ ## Documentation
12
+
13
+ The documentation for Overpass Ultra is available at <a target="_blank" href="https://overpass-ultra.us/docs/">overpass-ultra.us/docs</a>.
14
+ The only difference between the base Ultra configuration and Overpass Ultra is that Overpass Ultra
15
+ defaults to `type: overpass`.
16
+
17
+ ## Configuration
18
+
19
+ Various aspects of Ultra, such as styling, can be
20
+ configured via [YAML front-matter](https://overpass-ultra.us/docs/yaml).
21
+
22
+ ## Styling
23
+
24
+ Ultra supports styling using the [MapLibre Style
25
+ Specification](https://maplibre.org/maplibre-style-spec/).
26
+
27
+ See the [Styling](https://overpass-ultra.us/docs/style) section for more information.
28
+
29
+ ## About
30
+
31
+ Ultra is built by Daniel Schep.
32
+
33
+ You can contact me on [Mastodon](https://mapstodon.space/@trailstash).
34
+
35
+ ## Feedback, Bug Reports, Feature Requests
36
+
37
+ While Ultra has been in development for a while, it should still be considered
38
+ experimental.
39
+
40
+ If you would like to report a bug or provide other feedback, please do so in the project's
41
+ [Issue Tracker](https://gitlab.com/trailstash/ultra/-/issues).
42
+
43
+ ## Source Code</h4>
44
+
45
+ The [source code](https://gitlab.com/trailstash/ultra) of this application is released under the
46
+ [MIT license](https://gitlab.com/trailstash/ultra/-/blob/master/LICENSE).
package/bin/dev.cmd ADDED
@@ -0,0 +1,3 @@
1
+ @echo off
2
+
3
+ node --loader ts-node/esm --no-warnings=ExperimentalWarning "%~dp0\dev" %*
package/bin/dev.js ADDED
@@ -0,0 +1,6 @@
1
+ #!/usr/bin/env -S node
2
+
3
+ // eslint-disable-next-line n/shebang
4
+ import { execute } from "@oclif/core";
5
+
6
+ await execute({ development: true, dir: import.meta.url });
package/bin/run.cmd ADDED
@@ -0,0 +1,3 @@
1
+ @echo off
2
+
3
+ node "%~dp0\run" %*
package/bin/run.js ADDED
@@ -0,0 +1,5 @@
1
+ #!/usr/bin/env node
2
+
3
+ import { execute } from "@oclif/core";
4
+
5
+ await execute({ dir: import.meta.url });