resizing the map quickly messes up tile load events (singleTile). Thanks bartvde for the patch. r=me (closes #1417)
git-svn-id: http://svn.openlayers.org/trunk/openlayers@6436 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -700,7 +700,6 @@ OpenLayers.Layer.Grid = OpenLayers.Class(OpenLayers.Layer.HTTPRequest, {
|
|||||||
*/
|
*/
|
||||||
onMapResize: function() {
|
onMapResize: function() {
|
||||||
if (this.singleTile) {
|
if (this.singleTile) {
|
||||||
this.clearGrid();
|
|
||||||
this.setTileSize();
|
this.setTileSize();
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user