diff --git a/GPS/area.json b/GPS/area.json index bfafe55..a762754 100644 --- a/GPS/area.json +++ b/GPS/area.json @@ -1,11 +1,35 @@ { - "iimoriyama": { - "name": "飯森山", + "team-1-2": { + "name": "松・梅", "map": "img/iimori.png", "bounds": [[38.894762, 139.818293], [38.888378, 139.826495]], - "geojson": "data/iimoriyama.geojson" + "geojson": "data/team-1-2.geojson" }, - "yuza": { + "team-3-4": { + "name": "桜・藤", + "map": "img/iimori.png", + "bounds": [[38.894762, 139.818293], [38.888378, 139.826495]], + "geojson": "data/team-3-4.geojson" + }, + "team-5-6": { + "name": "菖蒲・牡丹", + "map": "img/iimori.png", + "bounds": [[38.894762, 139.818293], [38.888378, 139.826495]], + "geojson": "data/team-5-6.geojson" + }, + "team-7-8": { + "name": "萩・芒", + "map": "img/iimori.png", + "bounds": [[38.894762, 139.818293], [38.888378, 139.826495]], + "geojson": "data/team-7" + }, + "team-9-10": { + "name": "菊・紅葉", + "map": "img/iimori.png", + "bounds": [[38.894762, 139.818293], [38.888378, 139.826495]], + "geojson": "data/team-9-10.geojson" + }, + ".yuza": { "name": "遊佐", "map": "img/yuza.png", "bounds": [[39.017937, 139.93102], [39.013269, 139.937029]], diff --git a/GPS/gps.js b/GPS/gps.js index c57d9db..91af7ef 100644 --- a/GPS/gps.js +++ b/GPS/gps.js @@ -93,6 +93,7 @@ area = json; console.log(`area = ${area}`); for (var a of Object.keys(area)) { + if (a.startsWith(".")) continue; let btn = document.createElement("button"); btn.innerText = area[a].name; console.log(area[a].name);