codesite-noreply at google.com
2009-Sep-24 18:48 UTC
[Mapstraction] [mapstraction] r35 committed - ...
Revision: 35
Author: freyfogle
Date: Thu Sep 24 11:47:43 2009
Log:
patch from jokie36688 Tom
in resizeTo use google.maps.event.trigger(map,''resize''); not
checkResize
http://code.google.com/p/mapstraction/source/detail?r=35
Modified:
/trunk/source/mxn.googlev3.core.js
======================================--- /trunk/source/mxn.googlev3.core.js Mon
Sep 21 00:21:06 2009
+++ /trunk/source/mxn.googlev3.core.js Thu Sep 24 11:47:43 2009
@@ -47,7 +47,8 @@
resizeTo: function(width, height){
this.currentElement.style.width = width;
this.currentElement.style.height = height;
- this.maps[this.api].checkResize();
+ var map = this.maps[this.api];
+ google.maps.event.trigger(map,''resize'');
},
addControls: function( args ) {