-
Notifications
You must be signed in to change notification settings - Fork 0
/
map.html
56 lines (52 loc) · 1.39 KB
/
map.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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Vector Map</title>
<style>
#map
{
height: 500px;
cursor: url(openhand.cur), default;
}
#map.grabbing
{
cursor: url(closedhand.cur), default;
}
.jvectormap-zoomin, .jvectormap-zoomout
{
position: absolute;
-moz-border-radius: 3px;
border-radius:3px;
background: #292929;
padding: 3px;
color: white;
width: 10px;
height: 10px;
cursor: pointer;
line-height: 10px;
text-align: center;
font-weight: bold;
}
.jvectormap-zoomin
{
left: 10px;
top: 10px;
}
.jvectormap-zoomout
{
left: 10px;
top: 30px;
}
</style>
</head>
<body>
<div id="map"></div>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js"></script>
<script src="jquery.vector-map.js"></script>
<script src="world.js"></script>
<script>
$('#map').vectorMap();
</script>
</body>
</html>