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

RadMap as zoom & pan custom image navigation?

1 Answer 142 Views
Map
This is a migrated thread and some comments may be shown as answers.
Marco
Top achievements
Rank 1
Marco asked on 12 Apr 2011, 10:05 PM
Dear all,
is it possible to take advantage of the RadMap control abitily to zoom and move the underlying map within a fixed frame without using real geodata but having a custom jpg/png image as "map"?
Thanks for your support,
Marco.

1 Answer, 1 is accepted

Sort by
0
Andrey
Telerik team
answered on 15 Apr 2011, 06:31 AM
Hi Marco,

You can use output of the Deep Zoom Composer with RadMap control using custom map provider. But there are few limitations 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.

I’ve attached sample project which demonstrates how the output of the Deep Zoom Composer can be used with RadMap. I’ve got the picture with original size 2048x2048, prepared it using DZC and added results to the web project. The quite simple DeepZoomProvider is used to read and show these images.

All the best,
Andrey Murzov
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
Map
Asked by
Marco
Top achievements
Rank 1
Answers by
Andrey
Telerik team
Share this question
or