views:

347

answers:

4

Hi, I have created a 3D structure(basically an image) dynamically using kit3D.However,I wanted to zoom only a small segment of the whole structure.My entire image is loaded altogather at a time,so I am not considering using deep zoom. Is there anyway where I can zoom only a part of a dynamically generated image in silverlight??

Thank you, Ramya

A: 

This example may be helpful.

MMind
+1  A: 

You can use a Scale RenderTransform to increase the size of the image, then use a clip to only show one part of it, thus giving the effect of zoom.

Alternatively you can use a ViewBox from the Silverlight toolkit

Ian Blackburn
A: 

I'd use a MultiScaleTileSource for that. It's a callback based system - it requests Deep Zoom tiles from a function you implement when the user zooms or pans.

Here's some sample code, and here's a full working example that pulls map tiles dynamically from Virtual Earth.

Jon Galloway
A: 

there is an example of use silverlight 3 and Virtual Earth on http://www.silverenlightenment.com/