Below is how it looks when I zoom or pan 5 times, the first is set 
onLoad. When I hit previous, I get the most recent one and delete it. I 
suppose it could add a lot of size if there were a lot of panning and 
zooming, but it would take a real lot to add anything significant.

<g id="prevExt">
    <g id="ext1" viewBox="481071 -4396898 7394 6140"/>
    <g id="ext2" viewBox="483019 -4394283 1641 1363"/>
    <g id="ext3" viewBox="483655 -4395029 2183 1813"/>
    <g id="ext4" viewBox="484640 -4394254 299 248"/>
    <g id="ext5" viewBox="484738 -4394145 48 40"/>
    <g id="ext6" viewBox="484752 -4394134 19 15"/>
</g>

Sean

talkli wrote:

> That means, for every new status i need a new g tag. if i want to go
> back to the status before the previous one, i need to use 2 g tags???
>
> Di
>
> --- In [email protected] 
> <mailto:svg-developers%40yahoogroups.com>, Sean <[EMAIL PROTECTED]> wrote:
> >
> > For mapping, I use a g tag like:
> > <!-- previous extent variable -->
> > <g id='prevExt'/>
> >
> > and set a value such as ext='0 0 500 600' based on the current status
> > before moving on to the new one. Then if I want to go back, I just
> > getAttribute('ext') and set my viewBox to it.
> >
> > Sean
>
>  



------------------------ Yahoo! Groups Sponsor --------------------~--> 
Great things are happening at Yahoo! Groups.  See the new email design.
http://us.click.yahoo.com/TISQkA/hOaOAA/yQLSAA/1U_rlB/TM
--------------------------------------------------------------------~-> 

-----
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/

<*> 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/
 



Reply via email to