Changeset 615

Show
Ignore:
Timestamp:
07/17/08 16:18:42 (2 months ago)
Author:
tom
Message:

the previous change wasn't quite right, this one should take account of enforceBounds issues with marker clip

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/tom-tweenlite/lib/com/modestmaps/core/TileGrid.as

    r614 r615  
    266266                        var boundsEnforced:Boolean = enforceBounds(); 
    267267 
    268                         if ((zooming && panning) || boundsEnforced) { 
     268                        if ((zooming && panning)) { 
    269269                                map.onExtentChanged(map.getExtent()); 
    270270                        }  
     
    283283                zoomEvent.zoomLevel = zoomLevel; 
    284284                dispatchEvent(zoomEvent); 
     285                        } 
     286                        else if (boundsEnforced) { 
     287                                map.onExtentChanged(map.getExtent()); 
    285288                        } 
    286289