Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/add-noto-kml #432

Merged
merged 5 commits into from
Jan 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 15 additions & 27 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -1,33 +1,21 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
// https://zenn.dev/shimiyu/scraps/80c150a0c68796
"version": "0.2.0",
"configurations": [

{
"type": "node",
"request": "launch",
"name": "Launch via NPM",
"runtimeExecutable": "npm",
"runtimeArgs": [
"run-script",
"dev-debug"
],
"port": 9229
},
{
"type": "chrome",
"request": "launch",
"name": "Launch Chrome",
"url": "http://localhost:3000/",
"webRoot": "${workspaceFolder}"
}
{
"type": "chrome",
"request": "launch",
"name": "Nuxtjs: Launch Chrome",
"url": "http://localhost:3000",
"webRoot": "${workspaceFolder}"
}
],
// これを追加
"compounds": [
{
"name": "Full-stack",
"configurations": ["Launch via NPM", "Launch Chrome"]
}
{
"name": "fullstack: nuxt",
"configurations": ["Nuxtjs: Launch Chrome"]
}
]
}
}

61 changes: 61 additions & 0 deletions assets/config/2024-noto-earthquake.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
{
"map_id":"2024-noto-earthquake",
"map_title":"令和6年能登半島地震関連情報",
"map_title_en":"Noto Peninsula Earthquake Information (2024)",
"map_description":"SNSで流れる情報をネットを見れない地域の人にも伝えられるよう、印刷に最適化したマップです。マップを必要な地域のところに調整すると、A4サイズにちょうどよく印刷され、かつ必要な場所の情報がリストとして表示されます。 ぜひ印刷して必要な人に届けてあげてください!",
"map_image": "",
"sources": [
{
"id" : "noto",
"url" : "/data/kml/2024-noto.kml",
"type" : "kml",
"title" : "避難所",
"show" : true
}
],
"default_hash": "37.47529547606749,136.86173646804122-37.23376666876564,137.36853736803096",
"center" : [137.11023611290682,37.36081513528843],
"type":"KML",
"layer_settings":{
"能登町": {
"name": "能登町",
"name_en": "Noto Town",
"color": "#992222",
"bg_color": "#CA9491",
"icon_class": "fa-solid fa-1",
"class": "layer_gs_ok"
},
"能登町避難所": {
"name": "能登町避難所",
"name_en": "Evacuation center in Noto Town",
"color": "#4F4F5A",
"bg_color": "#B7B7BE",
"icon_class": "fa-solid fa-2",
"class": "layer_gs_undefined"
},
"他自治体": {
"name": "他自治体",
"name_en": "Other municipalities",
"color": "#285797",
"bg_color": "#A3BBDA",
"icon_class": "fa-solid fa-3",
"class": "layer_water_chibacity"
},
"SNS情報": {
"name": "SNS情報",
"name_en": "SNS information",
"color": "#276445",
"bg_color": "#A4C1B0",
"icon_class": "fas fa-street-view",
"class": "layer_temporary_houses"
},
"通行可能道路(1/3 10:30)": {
"name": "通行可能道路(1/3 10:30)",
"name_en": "Passable roads (1/3 10:30)",
"color": "#6D4615",
"bg_color": "#C1B17E",
"icon_class": "fas fa-plug",
"class": "layer_charger"
}
}
}
5 changes: 2 additions & 3 deletions assets/config/list.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
[
"2019-typhoon-19.json",
"2019-chiba-typhoon-15.json",
"2021-shizuoka-izusan.json"
"2024-noto-earthquake.json",
"2019-chiba-typhoon-15.json"
]
Loading
Loading