OpenLayers OpenLayers

Changeset 6432

Show
Ignore:
Timestamp:
03/04/08 05:19:24 (10 months ago)
Author:
ahocevar
Message:

typo in ZoomBox. Thanks avlee for spotting this and the patch. r=me (closes #1413)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/openlayers/lib/OpenLayers/Control/ZoomBox.js

    r5796 r6432  
    5555                var zoomFactor = Math.min((this.map.size.h / pixHeight), 
    5656                    (this.map.size.w / pixWidth)); 
    57                 var extent = map.getExtent(); 
     57                var extent = this.map.getExtent(); 
    5858                var center = this.map.getLonLatFromPixel( 
    5959                    position.getCenterPixel());