hi,

i am working on an ASV3/SQ/FF-compliant map-navigation tool, mainly for basic zoom and pan. it is based on jonathan's tests (<http://jwatt.org/svg/tests/zoom-and-pan-controls.svg>). it runs in all viewers but in squiggle the navigation panel gets cut when pan goes out the initial viewport or when the content is zoomed out. it makes no difference if zoom/pan gets initated by script or is achieved with the viewer's built in tools. interestingly the click-events stay as long as you remember where the element is, so it seems to be a rendering issue. this is the file structure:

<svg width="100%" height="100%" ...>
<svg id="myMap" width="100%" height="100%" viewBox="440000 -4790000 145000 230000">
   </svg>
<g id="myZoomPanMenu" x="10" y="20" width="210" height="410" viewBox="0 0 200 400">
   </g>
</svg>

btw, the standard 1.6 squiggle distribution doesn't catch pure vertical pan-events (onscroll), you can also test this with the above like. note hat the nightly build from cameron (<http://arc.mcc.id.au/batik-nightly/>) doesn't have that bug.


sorry if these are known bugs,
andré


**

--
___________________________________________________________________
andre m. winter,
 cartography for internet and multimedia applications
 schiessstand 4/1, a6091 goetzens, tyrol, austria
 tel.: ++43.5234.32732
 email: <[EMAIL PROTECTED]>

<http://www.vectoreal.com/>          SVG consulting and development
<http://www.carto.net/>          online cartography focusing on SVG
<http://www.carto.at/> print and online touristic map solutions


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to