-
Notifications
You must be signed in to change notification settings - Fork 24
/
ChangeGeoJsonFormat.html
80 lines (71 loc) · 2.38 KB
/
ChangeGeoJsonFormat.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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>ChangeGeoJSONFormatSample</title>
<script src="https://resource.mapray.com/mapray-js/v0.9.5/mapray.min.js"></script>
<link rel="stylesheet" href="https://resource.mapray.com/styles/v1/mapray.css">
<script src="ChangeGeoJsonFormat.js" charset="utf-8"></script>
<style>
html, body {
height: 100%;
margin: 0;
background-color: #E0E0E0;
}
select{
height:22px;
vertical-align:middle;
font-size:13px;
margin-left:10px;
}
p{
font-size:13px;
margin-left:5px;
}
input{
margin-left:10px;
}
div#mapray-container {
display: flex;
position: relative;
height: calc(100% - 34px);
}
div#LineWidthBox {
display: flex;
background-color: #E0E0E0;
height: 32px;
width: 135px;
float: left;
border: inset 1px #000000;
align-items: center;
}
div#LineColorBox {
display: flex;
background-color: #E0E0E0;
height: 32px;
width: 145px;
float: left;
border: inset 1px #000000;
align-items: center;
}
</style>
</head>
<body onload="CreateChangeGeoJSONFormatInstance('mapray-container');">
<div id="mapray-container"></div>
<div id="LineWidthBox">
<p>Line Width</p>
<select name="LineWidthPullDown" id="LineWidthPullDown" onchange="LineWidthValueChanged()">
<option value=1>1</option>
<option value=3 selected>3</option>
<option value=7>7</option>
<option value=13>13</option>
<option value=17>17</option>
<option value=21>21</option>
</select>
</div>
<div id="LineColorBox">
<p>Line Color</p>
<input type="color" id="LineColorPallet" name="LineColorPallet" value="#0000ff" onchange="LineColorValueChanged()">
</div>
</body>
</html>