-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathNC_Map.html
More file actions
73 lines (54 loc) · 1.92 KB
/
NC_Map.html
File metadata and controls
73 lines (54 loc) · 1.92 KB
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
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>NC State Counties </title>
<h1> EXPLORE NORTH CAROLINA
<img src="images/NC_Seal.jpg" width="70" height="75" style="float:right;">
<div class="legend">
Tap on a county to see its name.
</div>
</h1>
<link rel="stylesheet" href="County_css.css" type="text/css">
<script src="ammap.js" type="text/javascript"></script>
<!-- check ammap/maps/js/ folder to see all available countries -->
<!-- map file should be included after ammap.js -->
<script src="counties.js" type="text/javascript"></script>
<script type="text/javascript">
var map;
AmCharts.ready(function() {
map = new AmCharts.AmMap();
map.pathToImages = "images/";
map.panEventsEnabled = true; // this line enables pinch-zooming and dragging on touch devices
map.balloon.color = "#000000";
var dataProvider = {
mapVar: AmCharts.maps.usaHigh,
getAreasFromMap:true
};
map.dataProvider = dataProvider;
map.areasSettings = {
autoZoom: true,
unlistedAreasColor: "#DDDDDD",
rollOverOutlineColor: "#FFFFFF",
rollOverColor: "#6495ed",
selectedColor: "#CC0000"
};
map.write("mapdiv");
});
function btnnext_onclick()
{
window.location.href = "selectvisualization.html";
}
</script>
</head>
<body >
<center>
<div id="mapdiv" style="width: 1200px; height: 400px;">
</div>
</center>
<!--
<button onclick="btnnext_onclick()" style="float:right;"> NEXT </button>
-->
<input type="image" src="images/Demo.png" name="image" width="100" height="60" style="float:right;" onclick="btnnext_onclick();" />
</body>
</html>