[fusion-trac] #333: Bing: Map with Bing maps doesn't refresh
when browser maximize
Fusion
trac_fusion at osgeo.org
Wed Dec 9 15:36:26 EST 2009
#333: Bing: Map with Bing maps doesn't refresh when browser maximize
---------------------+------------------------------------------------------
Reporter: jennyhe | Owner: madair
Type: defect | Status: new
Priority: P2 | Milestone: Future
Component: Widgets | Version: 1.1.1
Severity: Major | Resolution:
Keywords: | External_id: 1279971
State: New | Browser: All
Os: All |
---------------------+------------------------------------------------------
Comment (by chrisclaydon):
This problem occurs because the class OpenLayers.Layer.VirtualEarth in the
version of OpenLayers.js used by Fusion does not contain an override of
the base class onMapResize() method (which does nothing).
The version of this class in the trunk stream of OpenLayers does implement
the method as follows:
{{{
/**
* Method: onMapResize
*/
onMapResize: function() {
this.mapObject.Resize(this.map.size.w, this.map.size.h);
},
}}}
Pasting this into the OpenLayers.js used by Fusion resolves this defect. I
will attach a patch for this.
--
Ticket URL: <http://trac.osgeo.org/fusion/ticket/333#comment:1>
Fusion <http://trac.osgeo.org/fusion>
Fusion is a web-mapping application development framework for MapServer and MapGuide OS.
More information about the fusion-trac
mailing list