draw function is not defined in the standard Tile class. it is meant to be implemented by subclasses. no reason to call it.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@513 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -32,7 +32,6 @@ OpenLayers.Tile.Image.prototype =
|
|||||||
/**
|
/**
|
||||||
*/
|
*/
|
||||||
draw:function() {
|
draw:function() {
|
||||||
OpenLayers.Tile.prototype.draw.apply(this, arguments);
|
|
||||||
this.img = OpenLayers.Util.createImage(null,
|
this.img = OpenLayers.Util.createImage(null,
|
||||||
this.position,
|
this.position,
|
||||||
this.size,
|
this.size,
|
||||||
|
|||||||
@@ -38,7 +38,6 @@ OpenLayers.Tile.WFS.prototype =
|
|||||||
/**
|
/**
|
||||||
*/
|
*/
|
||||||
draw:function() {
|
draw:function() {
|
||||||
OpenLayers.Tile.prototype.draw.apply(this, arguments);
|
|
||||||
this.loadFeaturesForRegion(this.requestSuccess);
|
this.loadFeaturesForRegion(this.requestSuccess);
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user