[OpenLayers-Trac] Re: [OpenLayers] #2828: Map Disappears Resizing
Google V3 Layer
OpenLayers
trac-20090302 at openlayers.org
Wed May 16 10:45:41 EDT 2012
#2828: Map Disappears Resizing Google V3 Layer
------------------------------+---------------------------------------------
Reporter: atogle | Owner:
Type: bug | Status: reopened
Priority: major | Milestone: 2.11 Release
Component: Layer.Google.v3 | Version: 2.10
Resolution: | Keywords:
State: Needs More Work |
------------------------------+---------------------------------------------
Comment(by milosh):
the following patch seems to work for me:
{{{
Index: lib/OpenLayers/Layer/Google/v3.js
===================================================================
--- lib/OpenLayers/Layer/Google/v3.js (revision 8649)
+++ lib/OpenLayers/Layer/Google/v3.js (working copy)
@@ -210,7 +210,7 @@
for (var i=layers.length-1; i>=0; --i) {
layer = layers[i];
if (layer instanceof OpenLayers.Layer.Google &&
- layer.visibility === true && layer.inRange
=== true) {
+ layer.visibility === true &&
layer.calculateInRange() === true) {
type = layer.type;
visible = true;
break;
}}}
--
Ticket URL: <http://trac.openlayers.org/ticket/2828#comment:7>
OpenLayers <http://openlayers.org/>
A free AJAX map viewer
More information about the Trac
mailing list