This is a migrated thread and some comments may be shown as answers.

Using RadMap with custom image source

1 Answer 159 Views
Map
This is a migrated thread and some comments may be shown as answers.
Mathieu
Top achievements
Rank 1
Mathieu asked on 18 Jul 2012, 02:52 PM
Hi,
I am porting an application that uses the Silverlight Deepzoom functionality from Silverlight to WPF. Since WPF doesn't support this, I am evaluating using the the RadMap control to mimic that behavior.

I saw in this thread (http://www.telerik.com/community/forums/silverlight/map/radmap-as-zoom-pan-custom-image-navigation.aspx) that it is possible to do this with the Silverlight version of the RadMap control. Is it possible with the WPF control as well?

Can the WPF RadMap accept as source an image that was proccessed my the microsoft Deep Zoom composer?

Kind regards,
Mathieu

1 Answer, 1 is accepted

Sort by
0
Accepted
Andrey
Telerik team
answered on 23 Jul 2012, 07:00 AM
Hi Mathieu,

Yes, the WPF RadMap can use images which are generated by Microsoft Deep Zoom composer. But using the same limitations which were noticed in the Silverlight RadMap post (http://www.telerik.com/community/forums/silverlight/map/radmap-as-zoom-pan-custom-image-navigation.aspx) on original image which is used in the DZC.
 
1. It must be square.
2. Width and height of the image must be a power of 2 (512x512, 10204x1024, 2048x2048).
3. Width and height of the image must be equal or greater than 512.

Also I should note that our WPF implementation of the standard Silverlight MultiScaleImage does not support all features of original control. It supports the functionality which is necessary for the RadMap control only.

I have attached the WPF sample solution which uses the same image as the Silverlight project. I hope it helps.

Greetings,
Andrey Murzov
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Tags
Map
Asked by
Mathieu
Top achievements
Rank 1
Answers by
Andrey
Telerik team
Share this question
or