changing the level of detail depending on the level of zoom (or s cale)

Good morning, 

Monday was a holiday here in Canada (whether you like the monarchy or not,
there probably isn't a Canadian who doesn't appreciate the opportunity to
celebrate Queen Victoria's birthday) and I spent part of it working on some
SVG things that I don't normally get time ti work on. 

I came accross something that I'm not sure how to address, since I'm not
sure that SVG has a declaritive mechanism for it. If I have a drawing of
some sort (lets say a map of a community) that I've done with all sorts of
detail. Is there any way to specify which parts of the drawing are available
at different levels of zoom. 

Lets take my community drawing. If you are looking at the outer most level,
then you are able to only see the outlines of the streets and lots, perhaps
with indicators of which are sold and the price of the remaining. Then if
you zoom into a street, you might see the lots, none of the sale
information, the house outlines and the basic landscaping. if you zoom in
more,  you see the layout of the sprinklers and the various beds. If you
zoom into a house, you would get the layout of all the rooms with their
descriptions. If you zoom futher in to a room you would get the layout of
the furniture (or the appliances).

The thing is that at the original view, I don't want the houses and the
rooms muddying up the drawing.

Now I'll grant that this may not be a realistic example simply because the
size of the actual drawing would be enormous. Its more a matter of knowing
how to do this sort of thing. (I'm more likely to use it in a graph or
something more pedestrian).


Adam van den Hoven
Internet Software Developer
Blue Zone
tel. 604 685 4310 ext. 280
fax 604 685 4391

> Blue Zone makes you interactive.

Received on Tuesday, 22 May 2001 11:35:08 UTC