Skip to content

Commit

Permalink
Merge branch 'hotfix/0.2.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
bjornd committed May 18, 2012
2 parents 119df09 + 9990236 commit 1d4537a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion converter/converter.py
@@ -1,5 +1,5 @@
#
# jVectorMap version 0.2
# jVectorMap version 0.2.1
#
# Copyright 2011-2012, Kirill Lebedev
# Licensed under the MIT license.
Expand Down
6 changes: 4 additions & 2 deletions jquery-jvectormap.js
@@ -1,5 +1,5 @@
/**
* jVectorMap version 0.2
* jVectorMap version 0.2.1
*
* Copyright 2011-2012, Kirill Lebedev
* Licensed under the MIT license.
Expand Down Expand Up @@ -589,7 +589,9 @@

this.canvas.applyTransformParams(this.scale, this.transX, this.transY);

this.repositionMarkers();
if (this.markers) {
this.repositionMarkers();
}
},

makeDraggable: function(){
Expand Down
2 changes: 1 addition & 1 deletion tests/world-map.html
Expand Up @@ -8,7 +8,7 @@
<script src="assets/jquery-jvectormap-world-en.js"></script>
<script>
$(function(){
$('#map').vectorMap({map: 'world_en', markers: []});
$('#map').vectorMap({map: 'world_en'});
})
</script>
</head>
Expand Down

0 comments on commit 1d4537a

Please sign in to comment.