Module: nagvis Branch: master Commit: 4b703eaaa86d22559798c31be1a5d54efe656782 URL: http://nagvis.git.sourceforge.net/git/gitweb.cgi?p=nagvis/nagvis/commit/?id=4b703eaaa86d22559798c31be1a5d54efe656782
Author: Roman Kyrylych <[email protected]> Date: Wed Aug 12 16:12:47 2009 +0300 gmap: Fixed markers not being centered Signed-off-by: Roman Kyrylych <[email protected]> --- .../modules/gmap/view/controls/LocationMarker.as | 4 +--- 1 files changed, 1 insertions(+), 3 deletions(-) diff --git a/uifx/src/modules/gmap/view/controls/LocationMarker.as b/uifx/src/modules/gmap/view/controls/LocationMarker.as index d18a542..e3643c8 100644 --- a/uifx/src/modules/gmap/view/controls/LocationMarker.as +++ b/uifx/src/modules/gmap/view/controls/LocationMarker.as @@ -5,8 +5,6 @@ package modules.gmap.view.controls import com.google.maps.overlays.Marker; import com.google.maps.overlays.MarkerOptions; - import flash.events.Event; - import modules.gmap.domain.Location; import modules.gmap.events.LocationEvent; @@ -39,7 +37,7 @@ package modules.gmap.view.controls { options = new MarkerOptions(); options.icon = new okIcon(); - options.iconAlignment = MarkerOptions.ALIGN_HORIZONTAL_CENTER || MarkerOptions.ALIGN_VERTICAL_CENTER; + options.iconAlignment = MarkerOptions.ALIGN_HORIZONTAL_CENTER | MarkerOptions.ALIGN_VERTICAL_CENTER; options.hasShadow = false; } ------------------------------------------------------------------------------ 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
