OpenLayers OpenLayers

Changeset 2869

Show
Ignore:
Timestamp:
03/23/07 11:36:25 (2 years ago)
Author:
emanuel
Message:

ie workaround zoomanimationActive; slideWait=1

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • sandbox/emanuel/animatedZooming/lib/OpenLayers/Layer.js

    r2866 r2869  
    925925     */ 
    926926    setLoadendVisibility: function() { 
     927        // set flag that zoom animation finished 
     928        this.map.zoomanimationActive = false; 
     929 
    927930        // function for map only; not for overviewmap! 
    928931        if (this.map.div.id == "map") {         
     
    933936            } 
    934937        } 
    935         // set flag that zoom animation finished 
    936         this.map.zoomanimationActive = false; 
     938 
    937939    }, 
    938940 
  • sandbox/emanuel/animatedZooming/lib/OpenLayers/Map.js

    r2846 r2869  
    145145     *  
    146146     * @type int */ 
    147     slideWait: 0
     147    slideWait: 1
    148148 
    149149    /** power used to calculate width of slide steps 
     
    14021402 
    14031403        // set zoomanimation flag to false _manually_  
    1404         // (only for baselayers without onimageload events, f.e. imagelayer); 
     1404        // (only for baselayers without onimageload events, f.e. imagelayer 
     1405        // and for ie, where the loadend event doesn't works correctly); 
    14051406        // for all other layers it calls automatically from 
    14061407        // loadendevent in layers.js 
    1407         if (this.baseLayer.CLASS_NAME.match("OpenLayers.Layer.Image")){ 
     1408        if (this.baseLayer.CLASS_NAME.match("OpenLayers.Layer.Image") || 
     1409            (navigator.appName == "Microsoft Internet Explorer") ){ 
    14081410            this.zoomanimationActive = false; 
    14091411        } 
    1410          
    14111412    }, 
    14121413