code fixes for [180]. smack me again
git-svn-id: http://svn.openlayers.org/trunk/openlayers@183 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -64,7 +64,7 @@ OpenLayers.Layer.WFS.prototype =
|
|||||||
addTile:function(bounds, position) {
|
addTile:function(bounds, position) {
|
||||||
url = this.getFullRequestString(
|
url = this.getFullRequestString(
|
||||||
{ bbox:bounds.toBBOX() });
|
{ bbox:bounds.toBBOX() });
|
||||||
var tile = new OpenLayers.Tile.WFS(bounds, url, this.tileSize);
|
var tile = new OpenLayers.Tile.WFS(this, bounds, url, this.tileSize);
|
||||||
tile.draw();
|
tile.draw();
|
||||||
tile.setPosition(position);
|
tile.setPosition(position);
|
||||||
this.div.appendChild(tile.img);
|
this.div.appendChild(tile.img);
|
||||||
|
|||||||
@@ -58,7 +58,7 @@ OpenLayers.Layer.WMS.prototype =
|
|||||||
{bbox:bounds.toBBOX(),
|
{bbox:bounds.toBBOX(),
|
||||||
width:this.tileSize.w,
|
width:this.tileSize.w,
|
||||||
height:this.tileSize.h});
|
height:this.tileSize.h});
|
||||||
var tile = new OpenLayers.Tile.Image(bounds, url, this.tileSize);
|
var tile = new OpenLayers.Tile.Image(this, bounds, url, this.tileSize);
|
||||||
tile.draw();
|
tile.draw();
|
||||||
tile.setPosition(position);
|
tile.setPosition(position);
|
||||||
this.div.appendChild(tile.img);
|
this.div.appendChild(tile.img);
|
||||||
|
|||||||
Reference in New Issue
Block a user