Question

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

Was it helpful?

Solution

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.

OTHER TIPS

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

This example may be helpful.

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

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top