You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
42 lines
1.0 KiB
42 lines
1.0 KiB
1 year ago
|
<!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>amMap example</title>
|
||
|
|
||
|
<link rel="stylesheet" href="../ammap/ammap.css" type="text/css">
|
||
|
<script src="../ammap/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="../ammap/maps/js/japanLow.js" type="text/javascript"></script>
|
||
|
<script>
|
||
|
var map = AmCharts.makeChart("mapdiv", {
|
||
|
type: "map",
|
||
|
|
||
|
|
||
|
|
||
|
balloon: {
|
||
|
color: "#000000"
|
||
|
},
|
||
|
|
||
|
dataProvider: {
|
||
|
map: "japanLow",
|
||
|
getAreasFromMap: true
|
||
|
},
|
||
|
|
||
|
areasSettings: {
|
||
|
autoZoom: true,
|
||
|
selectedColor: "#CC0000"
|
||
|
},
|
||
|
|
||
|
smallMap: {}
|
||
|
});
|
||
|
</script>
|
||
|
</head>
|
||
|
|
||
|
<body>
|
||
|
<div id="mapdiv" style="width: 800px; background-color:#EEEEEE; height: 500px;"></div>
|
||
|
</body>
|
||
|
|
||
|
</html>
|