this.img, not img
git-svn-id: http://svn.openlayers.org/trunk/openlayers@97 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -18,7 +18,7 @@ OpenLayers.Tile.Image.prototype =
|
||||
* @param OpenLayers.Pixel
|
||||
*/
|
||||
setPosition:function(point) {
|
||||
if (img) {
|
||||
if (this.img) {
|
||||
this.img.style.top = point.y+"px";
|
||||
this.img.style.left = point.x+"px";
|
||||
this.img.style.position = "absolute";
|
||||
|
||||
Reference in New Issue
Block a user