Permalink
Browse files

Added regression tests for markers

  • Loading branch information...
bjornd committed May 1, 2012
1 parent 273e376 commit 09572b95ca913e7f6e94670f90d526d481198ba8

Large diffs are not rendered by default.

Oops, something went wrong.

Large diffs are not rendered by default.

Oops, something went wrong.

Large diffs are not rendered by default.

Oops, something went wrong.
View
@@ -0,0 +1,27 @@
+<!DOCTYPE html>
+<html>
+<head>
+ <meta charset="utf-8"/>
+ <title>Maps</title>
+ <link rel="stylesheet" media="all" href="../jquery-jvectormap.css"/>
+ <script src="assets/jquery-1.7.2.min.js"></script>
+ <script src="../jquery-jvectormap.js"></script>
+ <script src="assets/jquery-jvectormap-us-en.js"></script>
+ <script>
+ $(function(){
+ $('.map').vectorMap({
+ map: 'us_en',
+ markers: [
+ [-61.18, -149.53],
+ [-21.18, -157.49],
+ [-41.52, -87.37],
+ [-40.39, -73.56]
+ ]
+ });
+ });
+ </script>
+</head>
+<body>
+ <div class="map" style="width: 1000px; height: 400px"></div>
+</body>
+</html>
View
@@ -0,0 +1,26 @@
+<!DOCTYPE html>
+<html>
+<head>
+ <meta charset="utf-8"/>
+ <title>Maps</title>
+ <link rel="stylesheet" media="all" href="../jquery-jvectormap.css"/>
+ <script src="assets/jquery-1.7.2.min.js"></script>
+ <script src="../jquery-jvectormap.js"></script>
+ <script src="assets/jquery-jvectormap-world-en.js"></script>
+ <script>
+ $(function(){
+ $('.map').vectorMap({
+ map: 'world_en',
+ markers: [
+ [0, 0],
+ [-48.51, 2.21],
+ [33.51, 151.12]
+ ]
+ });
+ });
+ </script>
+</head>
+<body>
+ <div class="map" style="width: 1000px; height: 400px"></div>
+</body>
+</html>
View
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<html>
+<head>
+ <title>jVectorMap demo</title>
+ <link rel="stylesheet" media="all" href="../jquery-jvectormap.css"/>
+ <script src="assets/jquery-1.7.2.min.js"></script>
+ <script src="../jquery-jvectormap.js"></script>
+ <script src="assets/jquery-jvectormap-world-en.js"></script>
+ <script>
+ $(function(){
+ $('#map').vectorMap({map: 'world_en', markers: []});
+ })
+ </script>
+</head>
+<body>
+ <div id="map" style="width: 600px; height: 400px"></div>
+</body>
+</html>

0 comments on commit 09572b9

Please sign in to comment.