-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b3ad8e0
commit d40b69d
Showing
67 changed files
with
6,690 additions
and
0 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,100 @@ | ||
reearth.ui.show(` | ||
<style> | ||
html,body { | ||
margin: 0; | ||
width:180px; | ||
min-width: fit-content; | ||
} | ||
button{ | ||
display: flex; | ||
align-items: center; | ||
padding: 8px 16px; | ||
min-height: 38px; | ||
background: #00BEBE; | ||
box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.15); | ||
border:none; | ||
border-radius: 4px; | ||
color:#fff; | ||
} | ||
</style> | ||
<body> | ||
<div class="btn-wrapper"> | ||
<button class="btn-link" onclick="onClickButton()"> | ||
<span class="title">Button Title</span> | ||
</button> | ||
</div> | ||
</body> | ||
<script> | ||
let url, bgColor,textColor,property,reearth; | ||
function onClickButton(){ | ||
if(!property.default.linkType || property.default.linkType === "normal"){ | ||
url = property.default.url; | ||
}else if(property.default.linkType === "geojsonio"){ | ||
let lat = reearth.visualizer.camera.position.lat; | ||
let lng = reearth.visualizer.camera.position.lng; | ||
url = "https://geojson.io/#map=14/" + lat + "/" + lng; | ||
}else if(property.default.linkType === "gsi"){ | ||
let lat = reearth.visualizer.camera.position.lat; | ||
let lng = reearth.visualizer.camera.position.lng; | ||
url = "https://maps.gsi.go.jp/#14/" + lat + "/" + lng; | ||
} | ||
// URLの遷移(新しいページを開く) | ||
window.open( url, "_blank" ); | ||
} | ||
window.addEventListener("message", e => { | ||
if (e.source !== parent) return; | ||
property = e.data.property; | ||
reearth = e.source.reearth; | ||
if("bgColor" in property.default === true){ | ||
document.getElementsByClassName('btn-link')[0].style.backgroundColor = property.default.bgColor; | ||
}else{ | ||
document.getElementsByClassName('btn-link')[0].style.backgroundColor = "#00BEBE"; | ||
} | ||
if("textColor" in property.default === true){ | ||
document.getElementsByClassName('title')[0].style.color = property.default.textColor; | ||
}else{ | ||
document.getElementsByClassName('title')[0].style.color = "#FFF"; | ||
} | ||
if("title" in property.default === true){ | ||
document.getElementsByClassName('title')[0].innerHTML = property.default.title; | ||
}else{ | ||
document.getElementsByClassName('title')[0].innerHTML = "Button Title"; | ||
} | ||
}); | ||
</script> | ||
`); | ||
|
||
|
||
|
||
|
||
reearth.on("update", send); | ||
send(); | ||
|
||
function send() { | ||
reearth.ui.postMessage({ | ||
property: reearth.widget.property | ||
}); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,157 @@ | ||
id: reearth-PLATEAU-disaster-support-plugin | ||
name: PLTEAU 地域防災プラグイン | ||
version: 1.0.0 | ||
extensions: | ||
- id: disastersupport | ||
type: widget | ||
name: 地域防災支援プラグイン | ||
schema: | ||
groups: | ||
- id: kanren | ||
title: 防災関連施設 | ||
list: true | ||
fields: | ||
- id: lyrName | ||
type: string | ||
title: Layer name | ||
- id: tagName | ||
type: string | ||
title: Tag Name | ||
- id: url | ||
type: url | ||
title: Icon | ||
- id: view | ||
type: bool | ||
title: Default view | ||
- id: facility | ||
title: 多くの人が集まる施設 | ||
list: true | ||
fields: | ||
- id: lyrName | ||
type: string | ||
title: Layer name | ||
- id: tagName | ||
type: string | ||
title: Tag Name | ||
- id: url | ||
type: url | ||
title: Icon | ||
- id: view | ||
type: bool | ||
title: Default view | ||
- id: helpful | ||
title: 災害時に役立つ設備等 | ||
list: true | ||
fields: | ||
- id: lyrName | ||
type: string | ||
title: Layer name | ||
- id: tagName | ||
type: string | ||
title: Tag Name | ||
- id: url | ||
type: url | ||
title: Icon | ||
- id: view | ||
type: bool | ||
title: Default view | ||
- id: barrier | ||
title: 災害時に障害になる設備等 | ||
list: true | ||
fields: | ||
- id: lyrName | ||
type: string | ||
title: Layer name | ||
- id: tagName | ||
type: string | ||
title: Tag Name | ||
- id: url | ||
type: url | ||
title: Icon | ||
- id: view | ||
type: bool | ||
title: Default view | ||
- id: dosyasaigai | ||
title: 土砂災害警戒区域等 | ||
list: true | ||
fields: | ||
- id: lyrName | ||
type: string | ||
title: Layer name | ||
- id: tagName | ||
type: string | ||
title: Tag Name | ||
- id: url | ||
type: url | ||
title: Icon | ||
- id: view | ||
type: bool | ||
title: Default view | ||
- id: shinsui | ||
title: 洪水浸水想定区域 | ||
list: true | ||
fields: | ||
- id: lyrName | ||
type: string | ||
title: Layer name | ||
- id: tagName | ||
type: string | ||
title: Tag Name | ||
- id: url | ||
type: url | ||
title: Icon | ||
- id: view | ||
type: bool | ||
title: Default view | ||
- id: route | ||
title: 避難ルート | ||
list: true | ||
fields: | ||
- id: lyrName | ||
type: string | ||
title: Layer name | ||
- id: tagName | ||
type: string | ||
title: Tag Name | ||
- id: url | ||
type: url | ||
title: Icon | ||
- id: view | ||
type: bool | ||
title: Default view | ||
- id: linkbtn | ||
type: widget | ||
name: link Button Widget | ||
schema: | ||
groups: | ||
- id: default | ||
fields: | ||
- id: title | ||
type: string | ||
title: Button title | ||
- id: bgColor | ||
type: string | ||
title: Background Color | ||
ui: color | ||
- id: textColor | ||
type: string | ||
title: Text Color | ||
ui: color | ||
- id: linkType | ||
type: string | ||
title: リンクタイプ | ||
defaultValue: normal | ||
choices: | ||
- key: normal | ||
label: 通常サイト | ||
- key: gsi | ||
label: 地理院地図 | ||
- key: geojsonio | ||
label: GeoJSON.io | ||
- id: url | ||
type: string | ||
title: URL | ||
availableIf: | ||
field: linkType | ||
type: string | ||
value: normal |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
施設種別,名称,写真,概要説明,所在地,lat,lng,種別,面積(m2),施設管理者,連絡先,最大収容人数,想定浸水深(m),建物高さ(m),建物階数,建物構造,指定緊急避難場所との重複,備考 | ||
避難所,湖山小学校,https://static.reearth.io/assets/01gghc0e59r4tk752kkq5r7nm9.jpg,自宅が被災して帰宅できない場合などに、被災者が一定期間宿泊・滞在する避難所のうち、市があらかじめ指定する施設。指定緊急避難場所のうち、想定される災害に対して比較的安全な(災害の種類にかかわらず使用できる)施設であり、災害発生当初から開設するものではなく、災害の状況を考慮した上で、開設することとしている。,鳥取県鳥取市湖山町南1-656,35.51617617,134.1773712,指定避難所,1750,鳥取市,0857-28-1020,"1,060",ー,15.5,3,堅ろう建物,○,ー | ||
避難所,湖東中学校,https://static.reearth.io/assets/01gghbz5crvg0nh1bqc6v14z1t.jpg,自宅が被災して帰宅できない場合などに、被災者が一定期間宿泊・滞在する避難所のうち、市があらかじめ指定する施設。指定緊急避難場所のうち、想定される災害に対して比較的安全な(災害の種類にかかわらず使用できる)施設であり、災害発生当初から開設するものではなく、災害の状況を考慮した上で、開設することとしている。,鳥取県鳥取市湖山町北6-323,35.519873,134.182465,指定避難所,3070,鳥取市,0857-28-1064,"1,950",ー,11.7,3,堅ろう建物,○,ー | ||
避難所,学習・交流センター鳥取(国際交流プラザ)(湖山西地区公民館),https://static.reearth.io/assets/01gghbz6b40a7b4ddaxjcjy2mw.jpg,自宅が被災して帰宅できない場合などに、被災者が一定期間宿泊・滞在する避難所のうち、市があらかじめ指定する施設。指定緊急避難場所のうち、想定される災害に対して比較的安全な(災害の種類にかかわらず使用できる)施設であり、災害発生当初から開設するものではなく、災害の状況を考慮した上で、開設することとしている。,鳥取県鳥取市湖山町西1-512,35.52183364,134.1695189,指定避難所,1480,鳥取市,0857-31-3253,410,ー,12.5,1,堅ろう建物,○,ー | ||
避難所,湖山西体育館,https://static.reearth.io/assets/01gghbzx1z02zkjgj72jm12wq4.jpg,自宅が被災して帰宅できない場合などに、被災者が一定期間宿泊・滞在する避難所のうち、市があらかじめ指定する施設。指定緊急避難場所のうち、想定される災害に対して比較的安全な(災害の種類にかかわらず使用できる)施設であり、災害発生当初から開設するものではなく、災害の状況を考慮した上で、開設することとしている。,鳥取県鳥取市湖山町西1-512,35.52173403,134.1690063,指定避難所,835,鳥取市,0857-31-3581,270,ー,11.3,1,堅ろう建物,○,ー | ||
避難所,湖山西小学校,https://static.reearth.io/assets/01gghc0r0rby0ppkz3yg4cprm9.jpg,自宅が被災して帰宅できない場合などに、被災者が一定期間宿泊・滞在する避難所のうち、市があらかじめ指定する施設。指定緊急避難場所のうち、想定される災害に対して比較的安全な(災害の種類にかかわらず使用できる)施設であり、災害発生当初から開設するものではなく、災害の状況を考慮した上で、開設することとしている。,鳥取県鳥取市湖山町西1-541,35.52212806,134.1706105,指定避難所,3040,鳥取市,0857-28-8900,"1,140",ー,17.8,3,堅ろう建物,○,ー | ||
避難所,鳥取商業高等学校,https://static.reearth.io/assets/01gghbz5tp1xgbs7dtg6t73qtj.jpg,自宅が被災して帰宅できない場合などに、被災者が一定期間宿泊・滞在する避難所のうち、市があらかじめ指定する施設。指定緊急避難場所のうち、想定される災害に対して比較的安全な(災害の種類にかかわらず使用できる)施設であり、災害発生当初から開設するものではなく、災害の状況を考慮した上で、開設することとしている。,鳥取県鳥取市湖山町北2-401,35.51950348,134.1755879,指定避難所,5280,鳥取県,0857-28-0156,"1,960",ー,18.4,3,堅ろう建物,○,ー | ||
避難所,鳥取湖陵高等学校,https://static.reearth.io/assets/01gghc71fkmd6z4zsm4ffn6021.jpg,自宅が被災して帰宅できない場合などに、被災者が一定期間宿泊・滞在する避難所のうち、市があらかじめ指定する施設。指定緊急避難場所のうち、想定される災害に対して比較的安全な(災害の種類にかかわらず使用できる)施設であり、災害発生当初から開設するものではなく、災害の状況を考慮した上で、開設することとしている。,鳥取県鳥取市湖山町北3-250,35.52147825,134.1763655,指定避難所,7600,鳥取県,0857-28-0250,"1,650",ー,13.2,3,堅ろう建物,○,ー | ||
避難所,知的障害者授産施設 うぶみ苑,https://static.reearth.io/assets/01gghc75d6ghvwae6v1khkrkgg.jpg,避難所での生活が必要となった方のうち、要配慮者等(高齢者や障がいのある方等)で、避難所での生活に特別な配慮を必要とする方が滞在する施設です。,鳥取県鳥取市湖山町西1丁目516-3,35.52133435,134.1700574,福祉避難所,ー,社会福祉法人鳥取福祉会,0857-28-5741,ー,ー,5.7,1,普通建物,ー,ー |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
施設種別,名称,写真,所在地,lat,lng,営業時間 | ||
商業施設,エスマート湖山店,https://static.reearth.io/assets/01gghc7yhh7pbxfrv05t3atf9y.jpg,鳥取県鳥取市湖山町北6丁目262,35.51973522,134.179904,9時~22時 | ||
商業施設,MARUI湖山店,https://static.reearth.io/assets/01gghc7xj46jt0qcajg5zjf62r.jpg,鳥取県鳥取市湖山町東1丁目122−1,35.51688608,134.1833052,24時間営業 | ||
商業施設,サンマート 湖山店,https://static.reearth.io/assets/01gghc7zgsqw1c55s5tbqje57m.jpg,鳥取県鳥取市湖山町東2丁目133,35.51769383,134.1847397,9時~21時 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
施設種別,内容,写真,lat,lng,備考 | ||
避難経路,避難場所の看板,https://static.reearth.io/assets/01gghmqdbda63f6pv1zafaqqza.jpg,35.51677525,134.179744,避難場所(湖山地区公民館)を提示 | ||
避難経路,避難場所の看板,https://static.reearth.io/assets/01gghmrd94xyse9b6mssbfpyzh.jpg,35.5236733,134.1871862,周辺の避難場所等を提示 | ||
避難経路,避難場所の看板,https://static.reearth.io/assets/01gghmtnmgjwgf9e1p68t0ffd8.jpg,35.51021906,134.1778432,避難場所(鳥取緑風高校)を提示 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
施設種別,内容,写真,lat,lng,備考 | ||
避難経路のバリア,,https://static.reearth.io/assets/01gghc1j2g2y18atkh415rzays.jpg,35.51674303,134.1802201,幅員が狭く傾斜が急な道路 | ||
避難経路のバリア,,https://static.reearth.io/assets/01gghc1qa5mrb7a0edsh3re3pe.jpg,35.53053376,134.1935151,幅員が狭く傾斜が急な道路。途中から階段になっている。 | ||
避難経路のバリア,,https://static.reearth.io/assets/01gghc20dbbkbb5b2qmhp3e806.jpg,35.53049618,134.193431,幅員が狭い階段通路。手すりは設置されている。 | ||
避難経路のバリア,,https://static.reearth.io/assets/01gghc28gjh03n1yvaanepfnrs.jpg,35.51387749,134.1828619,少し勾配が急な道。車いす等で通る場合、負担がある。 | ||
避難経路のバリア,溝,https://static.reearth.io/assets/01gghc2d4yk4rt72bw51qyd68c.jpg,35.5133119,134.182282,夜間の避難などの際、転落等に注意が必要 | ||
避難経路のバリア,,https://static.reearth.io/assets/01gghc32fbpjarhjcy5r5th247.jpg,35.51122137,134.1812797,傾斜があり、かつ表面がガタガタしているため、車いす等で通る場合、負担がある。 | ||
避難経路のバリア,,https://static.reearth.io/assets/01gghc2tx7pt3efbn8067dp6na.jpg,35.50822875,134.1810363,傾斜が急な道。車いす等で通る場合、負担がある。 | ||
避難経路のバリア,段差,https://static.reearth.io/assets/01gghc3crvb7eegw4mkwzaqpq0.jpg,35.50721212,134.1805208, | ||
避難経路のバリア,,https://static.reearth.io/assets/01gghc2ngra2p0rkanj7k633rz.jpg,35.50620981,134.1787739,傾斜が急な道。車いす等で通る場合、負担がある。 | ||
避難経路のバリア,,https://static.reearth.io/assets/01gghc3sth6csre82z3rm78cpa.jpg,35.5067396,134.1785592,かつ表面がガタガタしているため、車いす等で通る場合、負担がある。 | ||
避難経路のバリア,,https://static.reearth.io/assets/01gghc3t9cbta8j88erbgbpb37.jpg,35.50725508,134.1776571,傾斜があるため、車いす等で通る場合、負担がある。 | ||
避難経路のバリア,溝,https://static.reearth.io/assets/01gghc44c4pcwy1xesc1n0sghx.jpg,35.50844353,134.1776284,夜間の避難などの際、転落等に注意が必要 | ||
避難経路のバリア,溝,https://static.reearth.io/assets/01gghc46fkvkwfza963js8q8t4.jpg,35.50924538,134.1782298,夜間の避難などの際、転落等に注意が必要 | ||
避難経路のバリア,,https://static.reearth.io/assets/01gghc4e7qdj0bfktgb523nhja.jpg,35.51533085,134.1786451,傾斜が急な道。車いす等で通る場合、負担がある。 | ||
避難経路のバリア,,https://static.reearth.io/assets/01gghc4w6cjw7dafxkmmt9qnwv.jpg,35.51533085,134.1784016,傾斜が急な道。車いす等で通る場合、負担がある。 |
Oops, something went wrong.