-
Notifications
You must be signed in to change notification settings - Fork 849
/
Copy pathchange_tilelayers.html
executable file
·68 lines (66 loc) · 3.14 KB
/
change_tilelayers.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
<!DOCTYPE html>
<html>
<head>
<title>Map API Demo: Change Tile Layers</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width">
<script type="text/javascript" src="https://elocation.oracle.com/mapviewer/jslib/v2.3/oraclemapsv2.js"></script>
<script type="text/javascript" src="js/change_tilelayers.js"></script>
<script type="text/javascript">
$(document).ready( function(){
showMap();
});
</script>
</head>
<body>
<div style=" position: absolute; left:0px; top:0px; width:100%; height:800px; overflow:hidden;">
<table style="width:100%">
<tr>
<td width="100%">
<div id="map" style="width:100%;height:600px"></div>
</td>
</tr>
<tr>
<td height="20%">
<!--a nested table-->
<table style="width:100%">
<tr>
<th align="">Tile Layer</th>
<th>Vector Layer</th>
</tr>
<tr>
<td height="20%">
<div id="selection3">
<fieldset id="group3">
Select tile layer as basemap<br>
<input type="radio" id="radioBtn31" name="group3" onmouseup="radio_selTileLayer(this);" /> Oracle Maps<br>
<input type="radio" id="radioBtn32" name="group3" onmouseup="radio_selTileLayer(this);" /> BI World Maps<br>
<input type="radio" id="radioBtn33" name="group3" onmouseup="radio_selTileLayer(this);" /> OSM Positron<br>
<input type="radio" id="radioBtn34" name="group3" onmouseup="radio_selTileLayer(this);" /> OSM Dark<br>
</fieldset>
</div>
</td>
<td height="20%">
<div id="selection2">
<fieldset id="group2">
Select vector layer<br>
<input type="checkBox" id="checkBox21" name="group2" onmouseup="checkBox_Toggle(this);" /> States<br>
<input type="checkBox" id="checkBox22" name="group2" onmouseup="checkBox_Toggle(this);" /> Counties<br>
<input type="checkBox" id="checkBox23" name="group2" onmouseup="checkBox_Toggle(this);" /> Cities<br>
<input type="checkBox" id="checkBox24" name="group2" onmouseup="checkBox_Toggle(this);" /> Customers<br>
</fieldset>
</div>
</td>
</tr>
<tr>
<td>
This demo illustrates how to change the tile layers as basemaps.
</td>
</tr>
</table>
</td>
</tr>
</table>
</div>
</body>
</html>