Skip to content

Commit

Permalink
Merge pull request mapstraction#131 from brunob/hotfixes
Browse files Browse the repository at this point in the history
fix issue mapstraction#128 for resizeTo() with leaflet
  • Loading branch information
brunob committed Apr 6, 2012
2 parents 678547e + 06224f9 commit 7aa51f6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions source/mxn.leaflet.core.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ Mapstraction: {
resizeTo: function(width, height){
this.currentElement.style.width = width;
this.currentElement.style.height = height;
this.maps[this.api].invalidateSize();
},

addControls: function(args) {
Expand Down

0 comments on commit 7aa51f6

Please sign in to comment.