Skip to content

Commit

Permalink
Added Indonesia (10bestdesign#298)
Browse files Browse the repository at this point in the history
  • Loading branch information
aa-lubis authored and manifestinteractive committed Aug 12, 2017
1 parent 0cb1515 commit a457127
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 0 deletions.
5 changes: 5 additions & 0 deletions dist/maps/jquery.vmap.indonesia.js

Large diffs are not rendered by default.

28 changes: 28 additions & 0 deletions examples/indonesia.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<?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 - Indonesia Map</title>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<link href="../dist/jqvmap.css" media="screen" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="vmap" style="width: 900px; height: 400px;"></div>
</body>
<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.indonesia.js" charset="utf-8"></script>
<script>
jQuery(document).ready(function () {
jQuery('#vmap').vectorMap({
map: 'indonesia_id',
enableZoom: true,
showTooltip: true,
selectedColor: null,
onRegionClick: function(event, code, region){
event.preventDefault();
}
});
});
</script>
</html>

0 comments on commit a457127

Please sign in to comment.