@maplat/ui 0.10.6 → 0.11.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 (176) hide show
  1. package/LICENSE +223 -223
  2. package/README.md +128 -91
  3. package/assets/locales/de/translation.json +71 -0
  4. package/{locales → assets/locales}/en/translation.json +70 -64
  5. package/{locales → assets/locales}/ja/translation.json +70 -64
  6. package/{locales → assets/locales}/ko/translation.json +71 -65
  7. package/assets/locales/vi/translation.json +71 -0
  8. package/{locales → assets/locales}/zh/translation.json +71 -65
  9. package/{locales → assets/locales}/zh-TW/translation.json +71 -65
  10. package/assets/parts/attr.png +0 -0
  11. package/assets/parts/border.png +0 -0
  12. package/assets/parts/compass.png +0 -0
  13. package/assets/parts/gps.png +0 -0
  14. package/assets/parts/help.png +0 -0
  15. package/assets/parts/hide_marker.png +0 -0
  16. package/assets/parts/home.png +0 -0
  17. package/assets/parts/marker_list.png +0 -0
  18. package/assets/parts/share.png +0 -0
  19. package/dist/absolute_url.d.ts +1 -0
  20. package/dist/assets/locales/de/translation.json +71 -0
  21. package/dist/assets/locales/en/translation.json +70 -64
  22. package/dist/assets/locales/ja/translation.json +70 -64
  23. package/dist/assets/locales/ko/translation.json +71 -65
  24. package/dist/assets/locales/vi/translation.json +71 -0
  25. package/dist/assets/locales/zh/translation.json +71 -65
  26. package/dist/assets/locales/zh-TW/translation.json +71 -65
  27. package/dist/contextmenu.d.ts +5 -0
  28. package/dist/function.d.ts +2 -0
  29. package/dist/icons.d.ts +7 -0
  30. package/dist/index.d.ts +64 -0
  31. package/dist/maplat-ui.es.js +9383 -0
  32. package/dist/maplat-ui.umd.js +205 -0
  33. package/dist/maplat_control.d.ts +55 -0
  34. package/dist/pointer_images.d.ts +2 -0
  35. package/dist/swiper_ex.d.ts +2 -0
  36. package/dist/types.d.ts +173 -0
  37. package/dist/ui_init.d.ts +4 -0
  38. package/dist/ui_marker.d.ts +9 -0
  39. package/dist/ui_utils.d.ts +9 -0
  40. package/less/bootstrap.less +7010 -7010
  41. package/less/contextmenu.css +8 -0
  42. package/less/font-awesome.less +51 -31
  43. package/less/iziToast.less +1732 -1732
  44. package/less/maplat-specific.less +1038 -652
  45. package/less/swiper4.css +715 -0
  46. package/less/ui.less +11 -11
  47. package/less/ui_packed.less +10 -10
  48. package/package.json +80 -79
  49. package/src/{absolute_url.js → absolute_url.ts} +1 -1
  50. package/src/contextmenu/base.ts +170 -0
  51. package/src/contextmenu/constants.ts +66 -0
  52. package/src/contextmenu/cssVars.ts +13 -0
  53. package/src/contextmenu/helpers/dom.ts +295 -0
  54. package/src/contextmenu/helpers/mix.ts +120 -0
  55. package/src/contextmenu/html.ts +161 -0
  56. package/src/contextmenu/internal.ts +293 -0
  57. package/src/contextmenu.ts +40 -0
  58. package/src/function.ts +36 -0
  59. package/src/icons.ts +46 -0
  60. package/src/index.ts +520 -0
  61. package/src/maplat_control.ts +686 -0
  62. package/src/pointer_images.ts +101 -0
  63. package/src/{service-worker.js → service-worker/index.ts} +5 -6
  64. package/src/swiper_augment.d.ts +13 -0
  65. package/src/{swiper_ex.js → swiper_ex.ts} +14 -10
  66. package/src/types.d.ts +31 -0
  67. package/src/types.ts +202 -0
  68. package/src/ui_init.ts +1066 -0
  69. package/src/ui_marker.ts +376 -0
  70. package/src/ui_utils.ts +87 -0
  71. package/dist/assets/fonts/a8c0074cf70b152b56105e6c4b227bd8.woff +0 -0
  72. package/dist/assets/fonts/cfeff2e898a64ebe7e6b5ec078b174c3.woff +0 -0
  73. package/dist/assets/images/09c3ce5a86d600e24f8e85de3a019853.png +0 -0
  74. package/dist/assets/images/0beac2cb41dfab43ddfd9df80b32b85d.png +0 -0
  75. package/dist/assets/images/1354b4f40dd58bb0f2a4871cb4ff81d8.png +0 -0
  76. package/dist/assets/images/2a61e310e46b50b5f8ddd5e905ba9db9.png +0 -0
  77. package/dist/assets/images/3131423d782cd3ea89a81247065e7f9d.png +0 -0
  78. package/dist/assets/images/41b2cf0fa604d3f196ca52337d238219.jpg +0 -0
  79. package/dist/assets/images/558bc7e8b9b6c5f41a7141cddb8cdb5e.png +0 -0
  80. package/dist/assets/images/56f7003805ed02f8a21199947651db2e.png +0 -0
  81. package/dist/assets/images/5ba349e3596aca094c41c56966b45dc7.png +0 -0
  82. package/dist/assets/images/6111b8076a2cf81c73f0e46f41a3af60.png +0 -0
  83. package/dist/assets/images/6345ee67d554fbfbf484ba4035ad19d9.jpg +0 -0
  84. package/dist/assets/images/649fce122b354de2ac725ba5f2661955.png +0 -0
  85. package/dist/assets/images/6a580287dea82c2fb9b214321a375145.png +0 -0
  86. package/dist/assets/images/6c5dba7f7d76e74c3a8c7c5b1c3fc544.png +0 -0
  87. package/dist/assets/images/6e1f2f2f6fed3c5cddeb925e7ae75aba.png +0 -0
  88. package/dist/assets/images/799a0177b0dc540682fa4a2e349a8f4f.png +0 -0
  89. package/dist/assets/images/7bef6f357e921c43f4f800cfcb757872.png +0 -0
  90. package/dist/assets/images/7d9d643a903df6f57b8b7386316021e5.png +0 -0
  91. package/dist/assets/images/7df82bae917b68159f84998182f2fdc6.png +0 -0
  92. package/dist/assets/images/8e5d0335f6598b8d874ba23ea9fb295f.png +0 -0
  93. package/dist/assets/images/90c32e751366be22777f3fe40a53fe06.png +0 -0
  94. package/dist/assets/images/9247459937b9c882303962e42bd8d989.png +0 -0
  95. package/dist/assets/images/927c34e7b9b2f95c82ba477993117eaf.png +0 -0
  96. package/dist/assets/images/95e9ca8285131f8ccb6da5052093173c.png +0 -0
  97. package/dist/assets/images/9a243e0cb0fc43e2a016d5d3aaa330d5.png +0 -0
  98. package/dist/assets/images/9ac6d81f417d6a5626b7c8d5a087c32b.png +0 -0
  99. package/dist/assets/images/9d3a01c866095b8b3e8e63f9cf11dd51.png +0 -0
  100. package/dist/assets/images/9df733bcb29a746cb16b47eedea9fc3a.png +0 -0
  101. package/dist/assets/images/acc6eab0ba9c470ae20fb4b74135e865.png +0 -0
  102. package/dist/assets/images/b9ae27f0a01228380dff76a33b605707.jpg +0 -0
  103. package/dist/assets/images/ba48b220f61a6e1028f1854326f43acd.png +0 -0
  104. package/dist/assets/images/bf67cc860289b85c0402a4d4f890a3bd.png +0 -0
  105. package/dist/assets/images/c49f2344772e33256ba24d64b59b20d1.png +0 -0
  106. package/dist/assets/images/ca6b77b234b18e7bb9b1ccda774da286.png +0 -0
  107. package/dist/assets/images/cd213169df16398b0017450e31788d73.png +0 -0
  108. package/dist/assets/images/f101a0974972eeab41189185a5c5b225.png +0 -0
  109. package/dist/assets/images/f115726e6249018905cca51653e1262c.png +0 -0
  110. package/dist/assets/images/f7acb820d978ab2dd69e8bf695c574d1.png +0 -0
  111. package/dist/assets/images/ffea4dd10bf2506aa1e0cd4c61426b42.png +0 -0
  112. package/dist/assets/maplat.css +0 -19
  113. package/dist/assets/maplat.css.map +0 -1
  114. package/dist/assets/maplat.js +0 -3
  115. package/dist/assets/maplat.js.LICENSE.txt +0 -43
  116. package/dist/assets/maplat.js.map +0 -1
  117. package/dist/index.html +0 -125
  118. package/dist/service-worker.js +0 -3
  119. package/dist/service-worker.js.LICENSE.txt +0 -1
  120. package/dist/service-worker.js.map +0 -1
  121. package/fonts/clarenbd-webfont.woff +0 -0
  122. package/fonts/fontawesome-webfont.woff +0 -0
  123. package/legacy/bootstrap-native.js +0 -1935
  124. package/legacy/detect-element-resize.js +0 -153
  125. package/legacy/iziToast.js +0 -1301
  126. package/legacy/page.js +0 -1153
  127. package/legacy/qrcode.js +0 -616
  128. package/legacy/sprintf.js +0 -285
  129. package/less/font-face.less +0 -11
  130. package/less/font-face_packed.less +0 -11
  131. package/parts/attr.png +0 -0
  132. package/parts/blue_marker.png +0 -0
  133. package/parts/bluedot.png +0 -0
  134. package/parts/bluedot_small.png +0 -0
  135. package/parts/bluedot_transparent.png +0 -0
  136. package/parts/border.png +0 -0
  137. package/parts/compass.png +0 -0
  138. package/parts/defaultpin.png +0 -0
  139. package/parts/defaultpin_selected.png +0 -0
  140. package/parts/gps.png +0 -0
  141. package/parts/gsi.jpg +0 -0
  142. package/parts/gsi_ortho.jpg +0 -0
  143. package/parts/help.png +0 -0
  144. package/parts/hide_marker.png +0 -0
  145. package/parts/home.png +0 -0
  146. package/parts/osm.jpg +0 -0
  147. package/parts/red_marker.png +0 -0
  148. package/parts/redcircle.png +0 -0
  149. package/parts/share.png +0 -0
  150. package/src/contextmenu.js +0 -29
  151. package/src/freeze_locales.js +0 -337
  152. package/src/function.js +0 -22
  153. package/src/index.js +0 -1778
  154. package/src/index_packed.js +0 -8
  155. package/src/maplat_control.js +0 -808
  156. package/src/pointer_images.js +0 -81
  157. /package/{parts → assets/parts}/Maplat.png +0 -0
  158. /package/{parts → assets/parts}/all_right_reserved.png +0 -0
  159. /package/{parts → assets/parts}/basemap.png +0 -0
  160. /package/{parts → assets/parts}/cc0.png +0 -0
  161. /package/{parts → assets/parts}/cc_by-nc-nd.png +0 -0
  162. /package/{parts → assets/parts}/cc_by-nc-sa.png +0 -0
  163. /package/{parts → assets/parts}/cc_by-nc.png +0 -0
  164. /package/{parts → assets/parts}/cc_by-nd.png +0 -0
  165. /package/{parts → assets/parts}/cc_by-sa.png +0 -0
  166. /package/{parts → assets/parts}/cc_by.png +0 -0
  167. /package/{parts → assets/parts}/favicon.png +0 -0
  168. /package/{parts → assets/parts}/fullscreen.png +0 -0
  169. /package/{parts → assets/parts}/loading.png +0 -0
  170. /package/{parts → assets/parts}/loading_image.png +0 -0
  171. /package/{parts → assets/parts}/minus.png +0 -0
  172. /package/{parts → assets/parts}/no_image.png +0 -0
  173. /package/{parts → assets/parts}/overlay.png +0 -0
  174. /package/{parts → assets/parts}/pd.png +0 -0
  175. /package/{parts → assets/parts}/plus.png +0 -0
  176. /package/{parts → assets/parts}/slider.png +0 -0
package/README.md CHANGED
@@ -1,91 +1,128 @@
1
- ![Maplat Logo](https://code4history.github.io/Maplat/page_imgs/maplat.png)
2
- ![Maplat Catch Phrase](https://code4history.github.io/Maplat/page_imgs/homeomorphic.png)
3
-
4
- # 新聞記事を見て来られた方へ
5
- 見てみたい内容で以下の遷移先へどうぞ!
6
- * 奈良の古地図アプリを見てみたい方は、[ぷらっと奈良](https://s.maplat.jp/r/naramap/)へ
7
- * Maplat技術の特徴を知りたい方は、[技術紹介pdf](https://code4history.github.io/maplat_flyer_ja.pdf)へ
8
- * Maplatライブラリの使い方を知りたい方は、[Qiitaの記事群](https://qiita.com/tags/maplat)へ
9
- * 開発元であるCode for Historyの活動を知りたい方は、[Code for Historyのページ](https://code4history.github.io/index_ja.html)へ
10
-
11
- Maplat is the cool Historical Map/Illustrated Map Viewer.
12
- It can transform each map coordinates with nonlinear but homeomorphic projection and makes possible that the maps can collaborate with GPS/accurate maps, without distorting original maps.
13
- Data editor of this solution is provided as another project, [MaplatEditor](https://github.com/code4history/MaplatEditor/).
14
- This project won Grand Prize / Educational Effectiveness Prize / Visitors Selection Prize on Geo-Activity Contest 2018 held by Ministry of Land, Infrastructure, Transport and Tourism.
15
-
16
- Maplatは古地図/絵地図を歪める事なくGPSや正確な地図と連携させられるオープンソースプラットフォームです。  
17
- 他のソリューションにない特徴として、各地図の座標変換において非線形かつ同相な投影変換が定義可能という点が挙げられます。
18
- このプロジェクトは国土交通省主催の2018年ジオアクティビティコンテストにおいて、最優秀賞、教育効果賞、来場者賞をいただきました。
19
-
20
- # Introduction slide (In English, ICC Tokyo 2019)
21
- <a href="https://www.slideshare.net/kokogiko/maplat-historical-map-viewer-technology-that-guarantees-nonlinear-bijective-conversion-without-distortion">![Introduction of Maplat](https://code4history.github.io/Maplat/page_imgs/maplat_slide.png)</a>
22
-
23
- # <a href="https://www.slideshare.net/kokogiko/maplat-historical-viewer-technology-that-guarantees-nonlinear-bijective-conversion-without-distortion">ICC Tokyo 2019 paper</a>
24
-
25
- # Introduction slide (In Japanese, FOSS4G Tokyo 2017)
26
- <a href="https://www.slideshare.net/kokogiko/maplat">![Introduction of Maplat](https://code4history.github.io/Maplat/page_imgs/maplat_slide.png)</a>
27
-
28
- # Data Editor
29
- Please use [MaplatEditor](https://github.com/code4history/MaplatEditor/) for data creation.
30
-
31
- データの作成には[MaplatEditor](https://github.com/code4history/MaplatEditor/)を利用してください。
32
-
33
- # Latest result
34
- Latest result is shown below:
35
- * https://s.maplat.jp/r/naramap/ (Maplat Nara)
36
- * https://s.maplat.jp/r/aizumap/ (Maplat Aizuwakamatsu)
37
- * https://s.maplat.jp/r/iwakimap/ (Maplat Iwaki)
38
- * https://s.maplat.jp/r/tatebayashimap/ (Maplat Tatebayashi)
39
- * https://s.maplat.jp/r/chuokumap/ (Maplat Tokyo Chuo-ku)
40
- * https://s.maplat.jp/r/uedamap/ (Ueda city)
41
- * https://s.maplat.jp/r/moriokamap/ (Morioka city)
42
- * https://s.maplat.jp/r/sabaemap/ (Sabae city)
43
- * https://s.maplat.jp/r/nobeokamap/ (Nobeoka city)
44
-
45
- Documentation is undergoing.
46
-
47
- 最新の成果物は以下で確認できます。
48
- * https://s.maplat.jp/r/naramap/ (ぷらっと奈良)
49
- * https://s.maplat.jp/r/aizumap/ (ぷらっと会津若松)
50
- * https://s.maplat.jp/r/iwakimap/ (ぷらっといわき)
51
- * https://s.maplat.jp/r/tatebayashimap/ (ぷらっと館林)
52
- * https://s.maplat.jp/r/chuokumap/ (ぷらっと東京中央区)
53
- * https://s.maplat.jp/r/uedamap/ (上田市版)
54
- * https://s.maplat.jp/r/moriokamap/ (盛岡市版)
55
- * https://s.maplat.jp/r/sabaemap/ (鯖江市版)
56
- * https://s.maplat.jp/r/nobeokamap/ (延岡市版)
57
-
58
- 成果物を他人がコンテンツ作れる形でまとめられていないですが、おいおい整理します。
59
-
60
- # Collaboration demo with Jizo project
61
- Code 4 NaraからUrban data challenge 2016に応募中のMaplatと[地蔵プロジェクト](https://github.com/code4history/JizoProject/wiki)をコラボレーションさせたデモを作りました。
62
- * https://s.maplat.jp/r/narajizomap/
63
-
64
- ## Contributors
65
-
66
- This project exists thanks to all the people who contribute. <!--[[Contribute](CONTRIBUTING.md)].-->
67
- <a href="https://github.com/code4history/Maplat/graphs/contributors"><img src="https://opencollective.com/maplat/contributors.svg?width=890&button=false" /></a>
68
-
69
-
70
- ## Backers
71
-
72
- Thank you to all our backers! 🙏 [[Become a backer](https://opencollective.com/maplat#backer)]
73
-
74
- <a href="https://opencollective.com/maplat#backers" target="_blank"><img src="https://opencollective.com/maplat/backers.svg?width=890"></a>
75
-
76
-
77
- ## Sponsors
78
- Maplat is supported by
79
- <a href="https://www.jetbrains.com/" target="_blank"><img src="https://code4history.github.io/Maplat/img/jetbrains-variant-4.png" width="150"></a>
80
- <a href="https://www.locazing.com/" target="_blank"><img src="https://code4history.github.io/Maplat/img/locazing.png" width="150"></a>
81
- <a href="https://www.thedesignium.com/" target="_blank"><img src="https://code4history.github.io/Maplat/img/logo_TheDesignium.png" width="150"></a>
82
- <a href="https://www.browserstack.com/" target="_blank"><img src="https://code4history.github.io/Maplat/img/browserstack-logo-600x315.png" width="150"></a>
83
- <a href="https://zender.co.jp/" target="_blank"><img src="https://code4history.github.io/Maplat/img/Zender_logo_y_color.png" width="150"></a>
84
- <a href="https://www.webimpact.co.jp/" target="_blank"><img src="https://code4history.github.io/Maplat/img/webimpact.jpg" width="150"></a>
85
-
86
- Support this project by becoming a sponsor. Your logo will show up here with a link to your website. [[Become a sponsor](https://opencollective.com/maplat#sponsor)]
87
-
88
-
89
-
90
-
91
-
1
+ ![Maplat Logo](https://code4history.github.io/Maplat/page_imgs/maplat.png)
2
+
3
+ # 新聞記事を見て来られた方へ
4
+ 見てみたい内容で以下の遷移先へどうぞ!
5
+ * 奈良の古地図アプリを見てみたい方は、[ぷらっと奈良](https://s.maplat.jp/r/naramap/)へ
6
+ * Maplat技術の特徴を知りたい方は、[技術紹介pdf](https://code4history.github.io/maplat_flyer_ja.pdf)へ
7
+ * Maplatライブラリの使い方を知りたい方は、[Qiitaの記事群](https://qiita.com/tags/maplat)へ
8
+ * 開発元であるCode for Historyの活動を知りたい方は、[Code for Historyのページ](https://code4history.github.io/index_ja.html)へ
9
+
10
+ Maplat is the cool Historical Map/Illustrated Map Viewer.
11
+ It can transform each map coordinates with nonlinear but homeomorphic projection and makes possible that the maps can collaborate with GPS/accurate maps, without distorting original maps.
12
+ Data editor of this solution is provided as another project, [MaplatEditor](https://github.com/code4history/MaplatEditor/).
13
+ This project won Grand Prize / Educational Effectiveness Prize / Visitors Selection Prize on Geo-Activity Contest 2018 held by Ministry of Land, Infrastructure, Transport and Tourism.
14
+
15
+ Maplatは古地図/絵地図を歪める事なくGPSや正確な地図と連携させられるオープンソースプラットフォームです。  
16
+ 他のソリューションにない特徴として、各地図の座標変換において非線形かつ同相な投影変換が定義可能という点が挙げられます。
17
+ このプロジェクトは国土交通省主催の2018年ジオアクティビティコンテストにおいて、最優秀賞、教育効果賞、来場者賞をいただきました。
18
+
19
+ # Introduction slide (In English, ICC Tokyo 2019)
20
+ <a href="https://www.slideshare.net/kokogiko/maplat-historical-map-viewer-technology-that-guarantees-nonlinear-bijective-conversion-without-distortion">![Introduction of Maplat](https://code4history.github.io/Maplat/page_imgs/maplat_slide.png)</a>
21
+
22
+ # <a href="https://www.slideshare.net/kokogiko/maplat-historical-viewer-technology-that-guarantees-nonlinear-bijective-conversion-without-distortion">ICC Tokyo 2019 paper</a>
23
+
24
+ # Introduction slide (In Japanese, FOSS4G Tokyo 2017)
25
+ <a href="https://www.slideshare.net/kokogiko/maplat">![Introduction of Maplat](https://code4history.github.io/Maplat/page_imgs/maplat_slide.png)</a>
26
+
27
+ # Data Editor
28
+ Please use [MaplatEditor](https://github.com/code4history/MaplatEditor/) for data creation.
29
+
30
+ データの作成には[MaplatEditor](https://github.com/code4history/MaplatEditor/)を利用してください。
31
+
32
+ # Development
33
+
34
+ ## Prerequisites
35
+ - Node.js 20 or 22
36
+ - pnpm 9.0.0 or higher
37
+
38
+ ## Build Commands
39
+
40
+ This project supports separate builds for the npm package and the demo application:
41
+
42
+ ### Development
43
+ ```bash
44
+ pnpm dev # Start development server with hot reload
45
+ ```
46
+ The dev server will be accessible at `http://localhost:5173/`
47
+
48
+ ### Building
49
+
50
+ ```bash
51
+ pnpm build # Build the npm package (output: dist/)
52
+ pnpm build:demo # Build the demo app (output: dist-demo/)
53
+ ```
54
+
55
+ **Build outputs:**
56
+ - **`dist/`** - npm package files (ES/UMD modules, TypeScript definitions, locales)
57
+ - **`dist-demo/`** - Demo application for GitHub Pages deployment
58
+
59
+ ### Testing & Quality
60
+ ```bash
61
+ pnpm test # Run tests
62
+ pnpm typecheck # Run TypeScript type checking
63
+ pnpm lint # Run linter and formatter
64
+ ```
65
+
66
+ ## CI/CD
67
+ The project uses GitHub Actions for automated testing:
68
+ - **All branches**: Runs tests, linting, type checking, and builds on Node 20 & 22
69
+
70
+ # Latest result
71
+ Latest result is shown below:
72
+ * https://s.maplat.jp/r/naramap/ (Maplat Nara)
73
+ * https://s.maplat.jp/r/aizumap/ (Maplat Aizuwakamatsu)
74
+ * https://s.maplat.jp/r/iwakimap/ (Maplat Iwaki)
75
+ * https://s.maplat.jp/r/tatebayashimap/ (Maplat Tatebayashi)
76
+ * https://s.maplat.jp/r/chuokumap/ (Maplat Tokyo Chuo-ku)
77
+ * https://s.maplat.jp/r/uedamap/ (Ueda city)
78
+ * https://s.maplat.jp/r/moriokamap/ (Morioka city)
79
+ * https://s.maplat.jp/r/sabaemap/ (Sabae city)
80
+ * https://s.maplat.jp/r/nobeokamap/ (Nobeoka city)
81
+
82
+ Documentation is undergoing.
83
+
84
+ 最新の成果物は以下で確認できます。
85
+ * https://s.maplat.jp/r/naramap/ (ぷらっと奈良)
86
+ * https://s.maplat.jp/r/aizumap/ (ぷらっと会津若松)
87
+ * https://s.maplat.jp/r/iwakimap/ (ぷらっといわき)
88
+ * https://s.maplat.jp/r/tatebayashimap/ (ぷらっと館林)
89
+ * https://s.maplat.jp/r/chuokumap/ (ぷらっと東京中央区)
90
+ * https://s.maplat.jp/r/uedamap/ (上田市版)
91
+ * https://s.maplat.jp/r/moriokamap/ (盛岡市版)
92
+ * https://s.maplat.jp/r/sabaemap/ (鯖江市版)
93
+ * https://s.maplat.jp/r/nobeokamap/ (延岡市版)
94
+
95
+ 成果物を他人がコンテンツ作れる形でまとめられていないですが、おいおい整理します。
96
+
97
+ # Collaboration demo with Jizo project
98
+ Code 4 NaraからUrban data challenge 2016に応募中のMaplatと[地蔵プロジェクト](https://github.com/code4history/JizoProject/wiki)をコラボレーションさせたデモを作りました。
99
+ * https://s.maplat.jp/r/narajizomap/
100
+
101
+ ## Contributors
102
+
103
+ This project exists thanks to all the people who contribute. <!--[[Contribute](CONTRIBUTING.md)].-->
104
+ <a href="https://github.com/code4history/Maplat/graphs/contributors"><img src="https://opencollective.com/maplat/contributors.svg?width=890&button=false" /></a>
105
+
106
+
107
+ ## Backers
108
+
109
+ Thank you to all our backers! 🙏 [[Become a backer](https://opencollective.com/maplat#backer)]
110
+
111
+ <a href="https://opencollective.com/maplat#backers" target="_blank"><img src="https://opencollective.com/maplat/backers.svg?width=890"></a>
112
+
113
+
114
+ ## Sponsors
115
+ Maplat is supported by
116
+ <a href="https://www.jetbrains.com/" target="_blank"><img src="https://code4history.github.io/Maplat/img/jetbrains-variant-4.png" width="150"></a>
117
+ <a href="https://www.locazing.com/" target="_blank"><img src="https://code4history.github.io/Maplat/img/locazing.png" width="150"></a>
118
+ <a href="https://www.thedesignium.com/" target="_blank"><img src="https://code4history.github.io/Maplat/img/logo_TheDesignium.png" width="150"></a>
119
+ <a href="https://www.browserstack.com/" target="_blank"><img src="https://code4history.github.io/Maplat/img/browserstack-logo-600x315.png" width="150"></a>
120
+ <a href="https://zender.co.jp/" target="_blank"><img src="https://code4history.github.io/Maplat/img/Zender_logo_y_color.png" width="150"></a>
121
+ <a href="https://www.webimpact.co.jp/" target="_blank"><img src="https://code4history.github.io/Maplat/img/webimpact.jpg" width="150"></a>
122
+
123
+ Support this project by becoming a sponsor. Your logo will show up here with a link to your website. [[Become a sponsor](https://opencollective.com/maplat#sponsor)]
124
+
125
+
126
+
127
+
128
+
@@ -0,0 +1,71 @@
1
+ {
2
+ "control": {
3
+ "compass": "Rotation zurücksetzen",
4
+ "info": "Karteninformationen anzeigen",
5
+ "zoom": "Kartenzoom ändern",
6
+ "gps": "GPS-Position erfassen",
7
+ "home": "Zur Startposition",
8
+ "help": "Hilfe anzeigen",
9
+ "trans": "Karten-Transparenz ändern",
10
+ "share": "Teilen",
11
+ "hide_marker": "Marker ausblenden",
12
+ "marker_list": "Markerliste",
13
+ "border": "Kartenrand anzeigen"
14
+ },
15
+ "html": {
16
+ "close": "Schließen",
17
+ "app_loading_body": "Anwendung wird geladen...",
18
+ "acquiring_gps": "GPS wird erfasst",
19
+ "author": "Autor",
20
+ "createdAt": "Erstellungsdatum",
21
+ "era": "Zeitraum",
22
+ "contributor": "Beitragender",
23
+ "mapper": "Kartograph",
24
+ "license": "Kartenlizenz",
25
+ "dataLicense": "Datenlizenz",
26
+ "attr": "Kartenurheberrecht",
27
+ "dataAttr": "Datenurheberrecht",
28
+ "reference": "Quelle",
29
+ "description": "Beschreibung",
30
+ "cache_handle": "Kartencache-Größe",
31
+ "cache_delete": "Cache löschen",
32
+ "cache_fetch": "Massen-Download",
33
+ "cache_cancel": "Download abbrechen",
34
+ "cache_processing": "Verarbeitung...",
35
+ "help_title": "Maplat Hilfe",
36
+ "help_using_maplat": "Diese Website wurde mit dem Open-Source-Karten- und historischen Kartenbetrachter <a href='https://www.maplat.jp/' target='_blank'>Maplat</a> erstellt.",
37
+ "help_operation_title": "Bedienung der Karte",
38
+ "help_operation_content": "Die Karte kann auf einem PC durch Ziehen mit der Maus, auf einem Smartphone durch Wischen verschoben werden.<br>Die Vergrößerung der Karte erfolgt auf dem PC mit den Schaltflächen <img src='${plus.png}'> <img src='${minus.png}'> oben links oder auf dem Smartphone durch Ein- und Auszoomen mit zwei Fingern.<br>Auf dem Smartphone können Sie die Karte durch Drehen mit zwei Fingern rotieren.<br>Mit der <img src='${home.png}'>-Taste oben links kehren Sie zur Startposition der Karte zurück.<br>Der Kompass auf der <img src='${compass.png}'>-Taste zeigt die aktuelle Nordrichtung an und durch Drücken dieser Taste kann die Kartenrotation auf die normale Position zurückgesetzt werden.<br>Während des Kartenverschiebens verschwinden die Schaltflächen, um die gesamte Karte anzuzeigen. Um die ausgeblendeten Schaltflächen wieder einzublenden, warten Sie bitte einen Moment oder klicken/tippen Sie einmal auf den Bildschirm.",
39
+ "help_selection_title": "Kartenwechsel",
40
+ "help_selection_content": "In der unteren linken und unteren rechten Ecke des Bildschirms werden zwei Schieberegler mit Thumbnails wie <Img src='${overlay.png}'> angezeigt, mit denen Sie die anzuzeigende Karte auswählen können.<br>Schieben Sie den Regler, um die gewünschte Karte auszuwählen, und klicken Sie auf das Thumbnail, dann wechselt die Karte.<br>Der Kartenregler unten links dient zur Auswahl von Basiskarten (genaue Karten), der Regler unten rechts zur Auswahl von historischen oder illustrierten Karten.",
41
+ "help_gps_title": "Aktuelle Position auf der Karte anzeigen",
42
+ "help_gps_content": "Wenn Sie die <img src='${gps.png}'>-Taste drücken, wird die GPS-Funktion aktiviert und die aktuelle Position des Benutzers wird auf der Karte als <img src='${bluedot.png}'> angezeigt.<br>Wenn Sie die Taste erneut drücken, wird die GPS-Funktion deaktiviert.<br>Falls sich die aktuelle Position des Benutzers nicht auf der angezeigten Karte befindet, wird eine Meldung angezeigt und die GPS-Funktion wird automatisch deaktiviert.",
43
+ "help_poi_title": "Standortinformationen anzeigen",
44
+ "help_poi_content": "Marker wie <img src='${defaultpin.png}'> können auf der Karte angezeigt werden, an diesen Stellen sind Standortinformationen verfügbar.<br>Klicken oder tippen Sie auf den Marker, um Standortinformationen anzuzeigen.",
45
+ "help_etc_title": "Weitere Funktionen",
46
+ "help_etc_attr": "<img src='${attr.png}'>-Taste: Zeigt verschiedene Informationen (wie Ersteller, Beitragender oder Lizenz) zur aktuell angezeigten Karte an.",
47
+ "help_etc_help": "<img src='${help.png}'>-Taste: Zeigt diese Hilfe an.",
48
+ "help_share_help": "<img src='${share.png}'>-Taste: Sie können diese Anwendung auf sozialen Netzwerken usw. teilen.",
49
+ "help_etc_border": "<img src='${border.png}'>-Taste: Zeigt die Kartenrandlinien an.<br>Sie können die Karte auch wechseln, indem Sie innerhalb der Grenze klicken.<br>Auf einem PC wählen Sie eine Karte mit der Maus aus und wechseln sie durch einen Klick, auf einem Smartphone wählen Sie eine Karte durch einen Klick aus und wechseln sie durch einen weiteren Klick.",
50
+ "help_etc_hide_marker": "<img src='${hide_marker.png}'>-Taste: Blendet die Marker ein/aus.",
51
+ "help_etc_marker_list": "<img src='${marker_list.png}'>-Taste: Zeigt einen Bildschirm an, um das Ein-/Ausblenden für jede Markerebene anzuzeigen.",
52
+ "help_etc_slider": "<img src='${slider.png}'>-Schieberegler: Ändert die Transparenz der angezeigten Karte, sodass die Hintergrundkarte sichtbar wird.<br>Dies funktioniert nur bei der Anzeige von historischen oder illustrierten Karten, bei der Anzeige von Basiskarten funktioniert es nicht.",
53
+ "share_title": "Teilen",
54
+ "share_app_title": "Diese Anwendung teilen",
55
+ "share_state_title": "Aktuellen Standpunkt teilen",
56
+ "share_copy": "Kopieren",
57
+ "marker_list_title": "Markerliste"
58
+ },
59
+ "app": {
60
+ "fake_explanation": "Hinweis: Wenn das GPS-Ergebnis mehr als %2$f km von %1$s entfernt ist, wird ein Pseudo-Koordinat um %1$s ausgegeben.",
61
+ "acquiring_gps_desc": "GPS wird erfasst.",
62
+ "out_of_map": "Außerhalb der Karte",
63
+ "out_of_map_desc": "GPS-Ergebnis ist außerhalb der Karte. GPS-Funktion wird deaktiviert.",
64
+ "out_of_map_area": "Angezeigter Bereich ist außerhalb der Karte. Die Karte wird auf die Standardposition verschoben.",
65
+ "copy_toast": "In die Zwischenablage kopiert",
66
+ "gps_error": "Standortinformationen sind nicht verfügbar",
67
+ "user_gps_deny": "Um den aktuellen Standort anzuzeigen, aktivieren Sie bitte \"Standort verwenden\" in Ihrem Webbrowser und scannen Sie den QR-Code oder die URL erneut.",
68
+ "gps_miss": "System konnte den Standort nicht erfassen. Bitte versuchen Sie es an einem Ort, an dem GPS-Satellitensignale leicht empfangen werden können.",
69
+ "gps_timeout": "Der Standorterfassungsprozess ist zeitüberschritten. Bitte versuchen Sie es an einem Ort, an dem GPS-Satellitensignale leicht empfangen werden können."
70
+ }
71
+ }
@@ -1,65 +1,71 @@
1
- {
2
- "control": {
3
- "compass": "Reset Rotation",
4
- "info": "Show Map Information",
5
- "zoom": "Change Map Zoom",
6
- "gps": "Acquire GPS Position",
7
- "home": "Go Home Position",
8
- "help": "Show Help",
9
- "trans": "Change Map Transparency",
10
- "share": "Share",
11
- "hide_marker": "Hide Markers",
12
- "border": "Show Map Border"
13
- },
14
- "html": {
15
- "close": "Close",
16
- "app_loading_body": "Now loading application...",
17
- "acquiring_gps": "Acquiring GPS",
18
- "author": "Author",
19
- "createdAt": "Created at",
20
- "era": "Era",
21
- "contributor": "Contributor",
22
- "mapper": "Mapper",
23
- "license": "Map license",
24
- "dataLicense": "Data license",
25
- "attr": "Map attribution",
26
- "dataAttr": "Data attribution",
27
- "reference": "Reference",
28
- "description": "Description",
29
- "cache_handle": "Size of map cache",
30
- "cache_delete": "Clear cache",
31
- "cache_fetch": "Bulk download",
32
- "cache_cancel": "Cancel download",
33
- "cache_processing": "Processing...",
34
- "help_title": "Maplat Help",
35
- "help_using_maplat": "This site is built with open source historical map viewer <a href='https://github.com/code4history/Maplat/wiki' target='_blank'>Maplat</a>.",
36
- "help_operation_title": "How to operate the map",
37
- "help_operation_content": "Move the map by dragging the mouse in case of PC, swiping action with finger in case of smartphone.<br>Scaling the map can be done with the upper left <img src='${plus.png}'> <img src='${minus.png}'> buttons in case of PC, with pinch in/out actions with two fingers in case of smartphone.<br>On smartphone, you can rotate the map by twisting with two fingers.<br>By Using the <img src='${home.png}'> button at the upper left, you can move to the home position of the map being displayed.<br>The compass displayed on <img src='${compass.png}'> button indicates the current north direction, and by pressing this button, the rotation state of the map can be returned to the normal position.",
38
- "help_selection_title": "How to change the map",
39
- "help_selection_content": "The two sliders with thumbnail like <Img src='${overlay.png}'> are displayed in the lower left and the lower right of the screen, you can select the map to display with them.<br> Slide the slider to select the map you want, and click the thumbnail, then the map changed.<br>The lower left map slider is to choose base maps (accurate maps), the lower right map slider is to choose historical/illustrated maps.",
40
- "help_gps_title": "Showing current position on the map",
41
- "help_gps_content": "When you press the <img src='${gps.png}'> button, the GPS function turns on and the user's current location is displayed on the map as <img src='${bluedot.png}'>. <br>If you press the button again, the GPS function turns off. <br>If the user's current location is not on the map being displayed, a message will be displayed and the GPS function will be turned off automatically.",
42
- "help_poi_title": "Showing spot information",
43
- "help_poi_content": "Pins such as <img src='${defaultpin.png}'> may be displayed on the map, these are where the spot information are provided. <br>Click or tap the pin to display spot information.",
44
- "help_etc_title": "Others",
45
- "help_etc_attr": "<img src='${attr.png}'> Button: Various information (such as creator, contributor or license, etc.) of the currently displayed map are displayed.",
46
- "help_etc_help": "<img src='${help.png}'> Button: Showing this help.",
47
- "help_share_help": "<img src='${share.png}'> Button: You can share this application to SNS etc.",
48
- "help_etc_border": "<img src='${border.png}'> Button: Showing map border lines.<br>You can also switch the map by clicking inside the boundary. <br> On a PC, select a map with a mouse over and switch the map with a click, on a smartphone, select a map with a click and switch the map with one more click.",
49
- "help_etc_hide_marker": "<img src='${hide_marker.png}'> Button: Toggles the display / hide of markers.<br>When you press and hold the button, a screen to display / hide for each marker layer is displayed.",
50
- "help_etc_slider": "<img src='${slider.png}'> Slider: Switch the transparency of the displayed map so that the background map can be seen through. <br>It operates only while displaying the historical/illustrated maps, it does not work when displaying the base maps.",
51
- "share_title": "Share",
52
- "share_app_title": "Share this application",
53
- "share_state_title": "Share current viewpoint",
54
- "share_copy": "Copy",
55
- "hide_marker_title": "Toggle marker layer display / hide"
56
- },
57
- "app" : {
58
- "fake_explanation": "NOTE: If GPS result is more than %2$f km away from %1$s, the system issue a pseudo-coordinate around %1$s.",
59
- "acquiring_gps_desc": "Now acquiring GPS.",
60
- "out_of_map": "Out of map",
61
- "out_of_map_desc": "GPS result is out of map. GPS function turns off.",
62
- "out_of_map_area": "Showing area is out of map. The area moves to default position.",
63
- "copy_toast": "Copied to clipboard"
64
- }
1
+ {
2
+ "control": {
3
+ "compass": "Reset Rotation",
4
+ "info": "Show Map Information",
5
+ "zoom": "Change Map Zoom",
6
+ "gps": "Acquire GPS Position",
7
+ "home": "Go Home Position",
8
+ "help": "Show Help",
9
+ "trans": "Change Map Transparency",
10
+ "share": "Share",
11
+ "hide_marker": "Hide Markers",
12
+ "marker_list": "Marker list",
13
+ "border": "Show Map Border"
14
+ },
15
+ "html": {
16
+ "close": "Close",
17
+ "app_loading_body": "Now loading application...",
18
+ "acquiring_gps": "Acquiring GPS",
19
+ "author": "Author",
20
+ "createdAt": "Created at",
21
+ "era": "Era",
22
+ "contributor": "Contributor",
23
+ "mapper": "Mapper",
24
+ "license": "Map license",
25
+ "dataLicense": "Data license",
26
+ "attr": "Map attribution",
27
+ "dataAttr": "Data attribution",
28
+ "reference": "Reference",
29
+ "description": "Description",
30
+ "cache_handle": "Size of map cache",
31
+ "cache_delete": "Clear cache",
32
+ "cache_fetch": "Bulk download",
33
+ "cache_cancel": "Cancel download",
34
+ "cache_processing": "Processing...",
35
+ "help_title": "Maplat Help",
36
+ "help_using_maplat": "This site is built with open-source pictorial and historical map viewer <a href='https://www.maplat.jp/' target='_blank'>Maplat</a>.",
37
+ "help_operation_title": "How to operate the map",
38
+ "help_operation_content": "Move the map by dragging the mouse in case of PC, swiping action with finger in case of smartphone.<br>Scaling the map can be done with the upper left <img src='${plus.png}'> <img src='${minus.png}'> buttons in case of PC, with pinch in/out actions with two fingers in case of smartphone.<br>On smartphone, you can rotate the map by twisting with two fingers.<br>By Using the <img src='${home.png}'> button at the upper left, you can move to the home position of the map being displayed.<br>The compass displayed on <img src='${compass.png}'> button indicates the current north direction, and by pressing this button, the rotation state of the map can be returned to the normal position.<br>While moving the map, buttons disappear to display the entire map, but to bring back the hidden buttons, please wait a moment or click/tap the screen once.",
39
+ "help_selection_title": "How to change the map",
40
+ "help_selection_content": "The two sliders with thumbnail like <Img src='${overlay.png}'> are displayed in the lower left and the lower right of the screen, you can select the map to display with them.<br> Slide the slider to select the map you want, and click the thumbnail, then the map changed.<br>The lower left map slider is to choose base maps (accurate maps), the lower right map slider is to choose historical/illustrated maps.",
41
+ "help_gps_title": "Showing current position on the map",
42
+ "help_gps_content": "When you press the <img src='${gps.png}'> button, the GPS function turns on and the user's current location is displayed on the map as <img src='${bluedot.png}'>. <br>If you press the button again, the GPS function turns off. <br>If the user's current location is not on the map being displayed, a message will be displayed and the GPS function will be turned off automatically.",
43
+ "help_poi_title": "Showing spot information",
44
+ "help_poi_content": "Markers such as <img src='${defaultpin.png}'> may be displayed on the map, these are where the spot information is provided. <br>Click or tap the marker to display spot information.",
45
+ "help_etc_title": "Others",
46
+ "help_etc_attr": "<img src='${attr.png}'> Button: Various information (such as creator, contributor or license, etc.) of the currently displayed map are displayed.",
47
+ "help_etc_help": "<img src='${help.png}'> Button: Showing this help.",
48
+ "help_share_help": "<img src='${share.png}'> Button: You can share this application to SNS etc.",
49
+ "help_etc_border": "<img src='${border.png}'> Button: Showing map border lines.<br>You can also switch the map by clicking inside the boundary. <br> On a PC, select a map with a mouse over and switch the map with a click, on a smartphone, select a map with a click and switch the map with one more click.",
50
+ "help_etc_hide_marker": "<img src='${hide_marker.png}'> Button: Toggles the display / hide of markers.",
51
+ "help_etc_marker_list": "<img src='${marker_list.png}'> Button: A screen to display / hide for each marker layer is displayed.",
52
+ "help_etc_slider": "<img src='${slider.png}'> Slider: Switch the transparency of the displayed map so that the background map can be seen through. <br>It operates only while displaying the historical/illustrated maps, it does not work when displaying the base maps.",
53
+ "share_title": "Share",
54
+ "share_app_title": "Share this application",
55
+ "share_state_title": "Share current viewpoint",
56
+ "share_copy": "Copy",
57
+ "marker_list_title": "Marker list"
58
+ },
59
+ "app" : {
60
+ "fake_explanation": "NOTE: If GPS result is more than %2$f km away from %1$s, the system issue a pseudo-coordinate around %1$s.",
61
+ "acquiring_gps_desc": "Now acquiring GPS.",
62
+ "out_of_map": "Out of map",
63
+ "out_of_map_desc": "GPS result is out of map. GPS function turns off.",
64
+ "out_of_map_area": "Showing area is out of map. The area moves to default position.",
65
+ "copy_toast": "Copied to clipboard",
66
+ "gps_error": "Location information is not available",
67
+ "user_gps_deny": "To display the current location, please enable \"Use Location\" in your web browser and read the QR code or URL again.",
68
+ "gps_miss": "System failed to acquire location. Please try again at a place where you can receive GPS satellite signals easily.",
69
+ "gps_timeout": "Position acquisition process timed out. Please try again at a place where you can receive GPS satellite signals easily."
70
+ }
65
71
  }