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 6dc69575ac070a68713cb8d57f7d16e7d9303dec..cfadfe2b5da1a72d3339b013fe057f404da52fed 100644 (file)
@@ -175,6 +175,7 @@ package net.systemeD.potlatch2.collections {
 
                private function moveHandler(event:MapEvent):void {
                        setAttribution();
+                       dispatchEvent(new Event("collection_changed"));
                }
                private function setAttribution():void {
                        var tf:TextField=TextField(_overlay.getChildAt(0));