Module: nagvis
Branch: master
Commit: c8dca53194bc1f6d3b97f8af02f99e3528a5f096
URL:    
http://nagvis.git.sourceforge.net/git/gitweb.cgi?p=nagvis/nagvis;a=commit;h=c8dca53194bc1f6d3b97f8af02f99e3528a5f096

Author: Andriy Skuratov <[email protected]>
Date:   Wed Mar 17 18:39:20 2010 +0200

Added the detailed tooltip for get google maps key link.

---

 share/netmap/modules/gmap/GMapModule.swf       |  Bin 492876 -> 493563 bytes
 uifx/src/modules/gmap/view/DialogSettings.mxml |    6 ++++++
 2 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/share/netmap/modules/gmap/GMapModule.swf 
b/share/netmap/modules/gmap/GMapModule.swf
index 0504846..75aacd3 100644
Binary files a/share/netmap/modules/gmap/GMapModule.swf and 
b/share/netmap/modules/gmap/GMapModule.swf differ
diff --git a/uifx/src/modules/gmap/view/DialogSettings.mxml 
b/uifx/src/modules/gmap/view/DialogSettings.mxml
index 31ff50f..54b153a 100644
--- a/uifx/src/modules/gmap/view/DialogSettings.mxml
+++ b/uifx/src/modules/gmap/view/DialogSettings.mxml
@@ -31,6 +31,11 @@
 
                        private var _settings : Settings;
 
+                       [Bindable] private var _gkey_warning:String = "Geomap 
requires the Google Maps key to function. Use your Google account to generate 
it for the URL you access Geomap with.\n\n" + 
+                                       "Note that key generated for 
http://192.168.1.2 will not work for http://example.com and vice versa, even if 
example.com resolves to 192.168.1.2 IP address.\n\n" + 
+                                       "Note that the key for 
https://example.com will not work for http://example.com and vice versa.\n\n" + 
+                                       "Note that the key for 
http://www.example.com will not work for http://example.com and vice versa.";   
+
                        public function set settings(settings : Settings) : void
                        {
                                _settings = settings;
@@ -93,6 +98,7 @@
                                        left="10" right="10"  bottom="0" 
textAlign="left"
                                        
icon="@Embed(source='modules/gmap/img/key.png')"
                                        click="onGetKey()"
+                                       toolTip="{_gkey_warning}"
                                />
                        </mx:Canvas>
                        <mx:Canvas label="Actions" width="100%" height="100%" 
horizontalScrollPolicy="off">


------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Nagvis-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nagvis-checkins

Reply via email to