Skip to content

Commit

Permalink
Add method to resize map.
Browse files Browse the repository at this point in the history
  • Loading branch information
mrubinsk committed Sep 22, 2015
1 parent 8b92c00 commit 005865a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions framework/Core/js/map/horde.js
Original file line number Diff line number Diff line change
Expand Up @@ -388,6 +388,12 @@ HordeMap.Map.Horde = Class.create({
return this.map;
},

updateMapSize: function()
{
this.map.updateSize();
this.map.calculateBounds();
},

getMapNodeId: function()
{
return this.opts.elt;
Expand Down

0 comments on commit 005865a

Please sign in to comment.