This repository has been archived by the owner on Sep 23, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
56 lines (56 loc) · 3.33 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
<!DOCTYPE html>
<html lang="ja">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<script src="https://unpkg.com/[email protected]/dist/leaflet.js"></script>
<link rel="stylesheet" href="https://unpkg.com/[email protected]/dist/leaflet.css" />
<!-- <script src="https://unpkg.com/[email protected]/dist/leaflet.label.js"></script> -->
<script src="https://unpkg.com/@ngageoint/[email protected]/dist/geopackage-browser.js"></script>
<script src="https://unpkg.com/@ngageoint/[email protected]/dist/leaflet-geopackage.js"></script>
<link rel="preconnect" href="https://fonts.gstatic.com">
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;900&display=swap">
<link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons">
<link rel="stylesheet" href="style.css">
<title>ミズリーチ</title>
</head>
<body id="app">
<div id="control">
<header>
<h1>ミズリーチ</h1>
<div class="description">
<p>断水エリアとオープンデータ(人口、標高、避難所の位置)を組み合わせて可視化し、給水所開設の優先順位の決定を支援します。</p>
<p><a href="https://github.com/pal4de/ghp2020-c">GitHub</a></p>
</div>
</header>
<section id="gpkg-control">
<h6>GeoPackageファイル</h6>
<div id="gpkg-selector-container">
<input type="file" accept=".gpkg" id="gpkg-selector" onchange="handleGeoPackage(this.files)">
<div id="gpkg-selector-loading-text">読み込み中...</div>
</div>
<button id="load-sample-button" onclick="loadGpkgfromServer()">サンプルデータを読み込む</button>
</section>
<section id="layer-control-panel" style="display: none;">
<label><input type="checkbox" id="toggle-complementals">補足レイヤーを表示</label>
<div class="subtext">人口レイヤー・標高レイヤー・避難所レイヤー・ボロノイ分析結果レイヤーをまとめて表示/非表示出来ます。配置の参考にしてください。</div>
</section>
<section id="layer-control-container">
</section>
<template id="layer-control-template">
<div class="layer-control-unit">
<h6><div class="subtext"></div></h6>
<p>
<button class="material-icons layer-control-mover" data-direction="up">arrow_upward</button>
<button class="material-icons layer-control-mover" data-direction="down">arrow_downward</button>
<input type="checkbox" class="layer-visibility material-icons">
</p>
</div>
</template>
</div>
<div id="map"></div>
<div id="fader" onclick="L.Control.ControlToggler.prototype.toggle(false)"></div>
<script src="app.js"></script>
</body>
</html>