Hello all,

I am using SVG to create a mapping application. I have a dropdown 
list of some properties within a city. When a user clicks on any one 
from this list, the map zooms to that particular property. To zoom 
to that property and fit it entirely in the viewport, the only thing 
I do is set the viewbox attributes (x,y,width,height) equal to the 
extent of that property. This works fine but my problem lies 
with 'scale'. After the property is displayed, I also would like to 
display the 'scale' at which it is being displayed. But when i try 
to read the scale (after zooming), the scale still shows the 
original scale (before zooming). Why is the 'scale' not being 
changed ? Doesnt changing the 'viewbox' attributes automatically 
change the scale? How do i find the 'current' scale after the 
property is zoomed in?

Thanks for your help,
Kiran



------------------------ Yahoo! Groups Sponsor --------------------~--> 
$9.95 domain names from Yahoo!. Register anything.
http://us.click.yahoo.com/J8kdrA/y20IAA/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