hi simon,
the problem here is that andreas' navigationTools use the viewBox for
all zoom and pan techniques whereas the tooltip-function such as in here
http://svg.carto.net/srv/sourceAndFileViewer.php?filecode=98802&show=file
takes advantage of currentTranslate/currentScale parameters. these two
methods are more or less incompatible.
within a viewBox-based approach you need to scale and place the tooltip
rect according to zoom an an pan shifts. this brings you back to
calculating theoretic currentTranslate/currentScale values and you get
sitting between two seats. anyhow it is possible as seen here
http://tirolatlas.uibk.ac.at/maps/interface/thema.py/menu?lang=de;id=163
andré
--
___________________________________________________________________
andre m. winter,
cartography for internet and multimedia applications
schiessstand 4/1, a6091 goetzens, tyrol, austria
tel.: ++43.5234.32732
email: [EMAIL PROTECTED]
new svg book with actual scripting samples out now!
check http://svg.carto.net/
simonshutter wrote:
>
> Andreas/André et al.,
>
> Is it possible to combine the navigationTools and ToolTip functionality
> in one file? I have successfully implemented both separately but am
> unable to get tool tips to pop up when I combine them.
>
> Thanks, Simon
>
>
-----
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my
membership"
----
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/svg-developers/join
(Yahoo! ID required)
<*> To change settings via email:
mailto:[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/