wfs doesnt take width and height parameters
git-svn-id: http://svn.openlayers.org/trunk/openlayers@164 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -52,9 +52,7 @@ OpenLayers.Layer.WFS.prototype =
|
||||
*/
|
||||
addTile:function(bounds, position) {
|
||||
url = this.getFullRequestString(
|
||||
{bbox:bounds.toBBOX(),
|
||||
width:this.tileSize.w,
|
||||
height:this.tileSize.h});
|
||||
{ bbox:bounds.toBBOX() });
|
||||
var tile = new OpenLayers.Tile.Image(bounds, url, this.tileSize);
|
||||
tile.draw();
|
||||
tile.setPosition(position);
|
||||
@@ -65,7 +63,7 @@ OpenLayers.Layer.WFS.prototype =
|
||||
/** clear out the layer's main div
|
||||
*/
|
||||
_initTiles: function() {
|
||||
this.div.innerHTML="";
|
||||
this.div.innerHTML = "";
|
||||
OpenLayers.Layer.Grid.prototype._initTiles.apply(this, arguments);
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user