gentelella/vendors/jqvmap/examples/mobile.html
2016-06-10 01:01:58 +08:00

60 lines
1.7 KiB
HTML

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>JQVMap - Europe Map</title>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<!-- Mobile Specific Meta Tags -->
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<link href="../dist/jqvmap.css" media="screen" rel="stylesheet" type="text/css">
<style>
html, body {
padding: 0;
margin: 0;
width: 100%;
height: 100%;
}
#vmap {
width: 100%;
height: 100%;
background-color: red;
-webkit-tap-highlight-color: rgba(0,0,0,0);
}
.jqvmap-zoomin {
width: 30px;
height: 30px;
line-height: 30px;
}
.jqvmap-zoomout {
width: 30px;
height: 30px;
top: 55px;
line-height: 30px;
}
</style>
<script type="text/javascript" src="http://code.jquery.com/jquery-1.11.3.min.js"></script>
<script type="text/javascript" src="../dist/jquery.vmap.js"></script>
<script type="text/javascript" src="../dist/maps/jquery.vmap.usa.js" charset="utf-8"></script>
<script type="text/javascript">
jQuery(document).ready(function () {
jQuery('#vmap').vectorMap({
map: 'usa_en',
enableZoom: true,
showTooltip: true
});
});
</script>
</head>
<body>
<div id="vmap"></div>
</body>
</html>