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

Author: Roman Kyrylych <[email protected]>
Date:   Wed Aug 19 12:31:04 2009 +0300

gmap: Allow location creation by manually specifying coordinates

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

---

 uifx/src/modules/gmap/view/DialogLocation.mxml |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/uifx/src/modules/gmap/view/DialogLocation.mxml 
b/uifx/src/modules/gmap/view/DialogLocation.mxml
index ee58a27..7df58f4 100644
--- a/uifx/src/modules/gmap/view/DialogLocation.mxml
+++ b/uifx/src/modules/gmap/view/DialogLocation.mxml
@@ -160,7 +160,7 @@
                        {
                                var ul : Location = new Location();
 
-                               ul.id = _location.id;
+                               ul.id = (_location)? _location.id : '';
                                ul.point = new LatLng(parseFloat(locLat.text), 
parseFloat(locLng.text)).toUrlValue(16);
                                ul.label = locName.text;
                                ul.address = locAddress.text;


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