[Kde-imaging] [Bug 135451] Improve the gui of the gpssync plugin.

Gerhard Kulzer gerhardkgmx at gmail.com
Mon Feb 11 10:52:12 CET 2008


Gilles, try the following link:
http://digikam3rdparty.free.fr/gpslocator/getlonlatalt.php?latitude=65.8688083333&longitude=-23.3460555556&altitude=0&width=814&height=814&zoom=10&maptype=G_MAP_TYPE&filename=Iceland_Pano_0268-0267.png

It opens and window with altitude info, updated when with cursor movements.

Have a look at the code in line 124 
 msg = "(lat:" + point.lat() + ", lon:" + point.lng() + ", alt:" + topoGetAltitude( point.lat(), point.lng(), function( altitude ) { marker.openInfoWindowHtml( "altitude: <b>" + altitude + " m</b>" ) ; } ) + ")";

Whats missing is to return the variable to gpssync, I don't know how to do that, must it must be quite simple now

Gerhard
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/kde-imaging/attachments/20080211/8726e197/attachment.pgp 


More information about the Kde-imaging mailing list