OpenLayers OpenLayers

Changeset 2128

Show
Ignore:
Timestamp:
01/08/07 05:35:01 (2 years ago)
Author:
pgiraud
Message:

uncommented line in getLonLatFromLayerPx() method
fixed a pan problem on untiled WMS layer

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • sandbox/vector/lib/OpenLayers/Map.js

    r2127 r2128  
    12051205    getLonLatFromLayerPx: function (px) { 
    12061206       //adjust for displacement of layerContainerDiv 
    1207        px = this.getViewPortPxFromLayerPx(px); 
    1208        return this.getLonLatFromViewPortPx(px);          
     1207       var px = this.getViewPortPxFromLayerPx(px); 
     1208       return this.getLonLatFromViewPortPx(px); 
    12091209    }, 
    12101210