OpenLayers OpenLayers

Changeset 6698

Show
Ignore:
Timestamp:
03/28/08 22:12:15 (10 months ago)
Author:
euzuro
Message:

when we show a popup, pan it into view (if we roll like that)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • sandbox/euzuro/pop/lib/OpenLayers/Popup.js

    r6697 r6698  
    369369    show: function() { 
    370370        OpenLayers.Element.show(this.div); 
     371 
     372        if (this.panMapIfOutOfView) { 
     373            this.panIntoView(); 
     374        }     
    371375    }, 
    372376