57802Re: carto:net - MapApp question
- Jan 8, 2007Hi André,
Interestingly, it does seem to work now. I was missing an id tag on
my parent svg element and that appears to have fixed it. I don't
know the code well enough to understand the advice on
currentTranslate/currentScale but I will look at it. As of now,
however, it scales the tool tip text fine at various zoom scales.
Right now I notice two things:
b) In FF2.0 the tool tip background appears whether I am mousing over
an element or not. It doesn't do this in IE7/ASV3 - however, your
tooltip demo on carto.net works fine for me in FF2.0 so I assume it
is something I am not doing right in my code.
--- In email@example.com, "Andre M. Winter - Carto.net"
> hi simon,
> the problem here is that andreas' navigationTools use the viewBox
> all zoom and pan techniques whereas the tooltip-function such as inhere
> takes advantage of currentTranslate/currentScale parameters. these
> methods are more or less incompatible.tooltip
> within a viewBox-based approach you need to scale and place the
> rect according to zoom an an pan shifts. this brings you back toget
> calculating theoretic currentTranslate/currentScale values and you
> sitting between two seats. anyhow it is possible as seen herelang=de;id=163
> andre m. winter,
> cartography for internet and multimedia applications
> schiessstand 4/1, a6091 goetzens, tyrol, austria
> tel.: ++43.5234.32732
> email: ml.winter@...
> 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
> > in one file? I have successfully implemented both separately butam
> > unable to get tool tips to pop up when I combine them.
> > Thanks, Simon
- << Previous post in topic Next post in topic >>