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

Author: Roman Kyrylych <[email protected]>
Date:   Wed Aug 12 15:53:34 2009 +0300

gmap: Simplified marker options change

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

---

 .../modules/gmap/view/controls/LocationMarker.as   |    6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/uifx/src/modules/gmap/view/controls/LocationMarker.as 
b/uifx/src/modules/gmap/view/controls/LocationMarker.as
index bcd3cbe..d18a542 100644
--- a/uifx/src/modules/gmap/view/controls/LocationMarker.as
+++ b/uifx/src/modules/gmap/view/controls/LocationMarker.as
@@ -62,8 +62,8 @@ package modules.gmap.view.controls
                {

                        if(location.id && location.id.length > 0)

                        {

-                               var options : MarkerOptions = new 
MarkerOptions();

-

+                               var options : MarkerOptions = this.getOptions();

+                               

                                switch (_location.state)

                                {

                                        case Location.STATE_OK:

@@ -82,8 +82,6 @@ package modules.gmap.view.controls
                                        default:

                                                options.icon = new 
unknownIcon();

                                }

-                               options.iconAlignment = 
MarkerOptions.ALIGN_HORIZONTAL_CENTER || MarkerOptions.ALIGN_VERTICAL_CENTER;

-                               options.hasShadow = false;

                                

                                this.setOptions(options);

                        }



------------------------------------------------------------------------------
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