Skip to content

Commit

Permalink
up
Browse files Browse the repository at this point in the history
  • Loading branch information
linkevery2s committed Sep 14, 2024
1 parent 716cf07 commit 9ba75ac
Show file tree
Hide file tree
Showing 9 changed files with 87 additions and 14 deletions.
Binary file modified .DS_Store
Binary file not shown.
10 changes: 10 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"configurations": [
{
"type": "chrome",
"name": "http://127.0.0.1:3000/docs/index.html",
"request": "launch",
"url": "http://127.0.0.1:3000/docs/index.html"
}
]
}
Binary file modified docs/.DS_Store
Binary file not shown.
2 changes: 1 addition & 1 deletion docs/bosaimap.html
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@

let gps_button = L.easyButton('fa-location-arrow', function () { GPS(); }, { position: 'topright' }).addTo(map);

const tiles = L.tileLayer('https://tile.openstreetmap.jp/styles/maptiler-basic-ja/{z}/{x}/{y}.png', {
const tiles = L.tileLayer('https://tile.openstreetmap.jp/styles/osm-bright-ja/{z}/{x}/{y}.png', {
maxZoom: 19,
attribution: '&copy; <a href="https://openmaptiles.org/" target="_blank">OpenMapTiles</a><br>&copy; <a href="http://www.openstreetmap.org/copyright" target="_blank">OpenStreetMap contributors</a>'
}).addTo(map);
Expand Down
4 changes: 2 additions & 2 deletions docs/data/aed.geojson
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ const aed = {
"geometry": {
"type": "Point",
"coordinates": [
"136.96938",
"35.20257"
"136.96689",
"35.2007"
]
},
"properties": {
Expand Down
12 changes: 6 additions & 6 deletions docs/data/refuge.geojson
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ const refuge = {
"geometry": {
"type": "Point",
"coordinates": [
"136.95669",
"35.19793"
"136.9569006",
"35.19760022"
]
},
"properties": {
Expand All @@ -27,8 +27,8 @@ const refuge = {
"geometry": {
"type": "Point",
"coordinates": [
"136.96932",
"35.20258"
"136.96675",
"35.20073"
]
},
"properties": {
Expand All @@ -49,8 +49,8 @@ const refuge = {
"geometry": {
"type": "Point",
"coordinates": [
"136.96462",
"35.20142"
"136.964987",
"35.2015754"
]
},
"properties": {
Expand Down
65 changes: 64 additions & 1 deletion docs/data/toilet.geojson
Original file line number Diff line number Diff line change
@@ -1 +1,64 @@
const toilet = {"features": [{"type": "Feature", "geometry": {"type": "Point", "coordinates": ["136.9647", "35.2012"]}, "properties": {"name": "守山小学校", "address": "守山区西島町6−27", "place": "正門前の道路(南側)"}}, {"type": "Feature", "geometry": {"type": "Point", "coordinates": ["136.9661", "35.2033"]}, "properties": {"name": "守山中学校", "address": "守山区大屋敷13−63", "place": "通用門付近(南側)"}}, {"type": "Feature", "geometry": {"type": "Point", "coordinates": ["136.96937", "35.20264"]}, "properties": {"name": "守山会館", "address": "守山区西島町19−14", "place": "正面入り口 血圧計横"}}, {"type": "Feature", "geometry": {"type": "Point", "coordinates": ["136.95681", "35.19798"]}, "properties": {"name": "守山生涯学習センター", "address": "守山区守山3丁目2−6", "place": "1階事務室"}}]};
const toilet = {
"features": [
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
"136.9647",
"35.2012"
]
},
"properties": {
"name": "守山小学校",
"address": "守山区西島町6−27",
"place": "正門前の道路(南側)"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
"136.9661",
"35.2033"
]
},
"properties": {
"name": "守山中学校",
"address": "守山区大屋敷13−63",
"place": "通用門付近(南側)"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
"136.96683",
"35.20064"
]
},
"properties": {
"name": "守山会館",
"address": "守山区西島町19−14",
"place": "正面入り口 血圧計横"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
"136.95681",
"35.19798"
]
},
"properties": {
"name": "守山生涯学習センター",
"address": "守山区守山3丁目2−6",
"place": "1階事務室"
}
}
]
};
6 changes: 3 additions & 3 deletions docs/moriyamaku_map.html
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@

let fpv_button = L.easyButton('fa-male', function () { fpv(); }, { position: 'topright' }).addTo(map);

const tiles = L.tileLayer('https://tile.openstreetmap.jp/styles/maptiler-basic-ja/{z}/{x}/{y}.png', {
const tiles = L.tileLayer('https://tile.openstreetmap.jp/styles/osm-bright-ja/{z}/{x}/{y}.png', {
maxZoom: 19,
attribution: '&copy; <a href="https://openmaptiles.org/" target="_blank">OpenMapTiles</a><br>&copy; <a href="http://www.openstreetmap.org/copyright" target="_blank">OpenStreetMap contributors</a>'
}).addTo(map);
Expand Down Expand Up @@ -458,11 +458,11 @@
let popup_refuge = (feature, layer) => {
let popup;
if (feature.properties && feature.properties.Name) {
popup = "名称:" + feature.properties.Name;
popup = "<h1 class='text-lg mb-3'>指定緊急避難場所</h1>" + feature.properties.Name;
}

if (feature.properties && feature.properties.Jusho) {
popup += '<br>住所:' + feature.properties.Jusho;
popup += "<br>" + feature.properties.Jusho;
}

if (feature.properties && feature.properties.kouzui) {
Expand Down
2 changes: 1 addition & 1 deletion docs/postmap.html
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@
/* コントロールボタン */
L.control.zoom( { position: 'topright' } ).addTo( map );

const tiles = L.tileLayer('https://tile.openstreetmap.jp/styles/maptiler-basic-ja/{z}/{x}/{y}.png', {
const tiles = L.tileLayer('https://tile.openstreetmap.jp/styles/osm-bright-ja/{z}/{x}/{y}.png', {
maxZoom: 19,
attribution: '&copy; <a href="https://openmaptiles.org/" target="_blank">OpenMapTiles</a><br>&copy; <a href="http://www.openstreetmap.org/copyright" target="_blank">OpenStreetMap contributors</a>'
}).addTo(map);
Expand Down

0 comments on commit 9ba75ac

Please sign in to comment.