Recalculate what imagery is available when the map is moved.
authorTom Hughes <tom@compton.nu>
Tue, 14 Dec 2010 12:05:39 +0000 (12:05 +0000)
committerTom Hughes <tom@compton.nu>
Tue, 14 Dec 2010 12:05:39 +0000 (12:05 +0000)
net/systemeD/potlatch2/collections/Imagery.as

index 6dc6957..cfadfe2 100644 (file)
@@ -175,6 +175,7 @@ package net.systemeD.potlatch2.collections {
 
                private function moveHandler(event:MapEvent):void {
                        setAttribution();
 
                private function moveHandler(event:MapEvent):void {
                        setAttribution();
+                       dispatchEvent(new Event("collection_changed"));
                }
                private function setAttribution():void {
                        var tf:TextField=TextField(_overlay.getChildAt(0));
                }
                private function setAttribution():void {
                        var tf:TextField=TextField(_overlay.getChildAt(0));