Merge branch 'master' into flex4
[potlatch2.git] / net / systemeD / potlatch2 / find / FindDialog.mxml
index 1faf0bb27d9c7f18822e26ed326a3d827f73e215..887aa9947936b16a51252d79816dcfe8f7a8397a 100644 (file)
@@ -76,8 +76,7 @@
         }
         
         private function goToSelected():void {
-            FlexGlobals.topLevelApplication.theMap.updateCoordsFromLatLon(selectedResult.lat, selectedResult.lon);
-            FlexGlobals.topLevelApplication.theMap.download();
+            FlexGlobals.topLevelApplication.theMap.moveMapFromLatLon(selectedResult.lat, selectedResult.lon);
             //FlexGlobals.topLevelApplication.theMap.redraw();
             PopUpManager.removePopUp(this);
         }