Module: nagvis
Branch: master
Commit: 4c34a495b79426fc54e73bbe2eee4d41ec6464e7
URL:    
http://nagvis.git.sourceforge.net/git/gitweb.cgi?p=nagvis/nagvis/commit/?id=4c34a495b79426fc54e73bbe2eee4d41ec6464e7

Author: Roman Kyrylych <[email protected]>
Date:   Wed Aug 19 13:08:05 2009 +0300

gmap: Make unselecting a link possible

Signed-off-by: Roman Kyrylych <[email protected]>

---

 .../modules/gmap/view/controls/GMapControl.mxml    |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/uifx/src/modules/gmap/view/controls/GMapControl.mxml 
b/uifx/src/modules/gmap/view/controls/GMapControl.mxml
index 3e77e91..5557b88 100644
--- a/uifx/src/modules/gmap/view/controls/GMapControl.mxml
+++ b/uifx/src/modules/gmap/view/controls/GMapControl.mxml
@@ -26,6 +26,7 @@
 >
        <mx:Script>
                <![CDATA[
+                       import modules.gmap.events.LinkEvent;
                        import modules.gmap.events.LocationEvent;
                        import com.google.maps.MapMouseEvent;
                        import mx.utils.StringUtil;
@@ -74,6 +75,7 @@
                        private function onClick(event : MapMouseEvent) : void
                        {
                                dispatchEvent(new 
LocationEvent(LocationEvent.SELECTED));
+                               dispatchEvent(new 
LinkEvent(LinkEvent.SELECTED));
                        }
                ]]>
        </mx:Script>


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Nagvis-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nagvis-checkins

Reply via email to