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

Custom Map Provider using the ImageProvider

2 Answers 162 Views
Map
This is a migrated thread and some comments may be shown as answers.
Sunil
Top achievements
Rank 1
Sunil asked on 04 Jul 2011, 03:24 PM
I am using the Q1 2011 release of RadControls for Silverlight and wish to create a custom Map Provider by using the ImageProvider.  I have worked with an earlier version using the mapBaseProvider and realized you have made some significant changes that should support a lot more gis scenarios. I am using a MapServer to generate my images and have not tiled the output, the server is configured as a WMS.  I have two requests:

1. Can I use the ImageProvider option to create a custom Map Provider that will be able to render the images generated by the MapServer wms ?

2. Can you provide me with links to source code examples or documentation ?

Thanks,

Sunil
 

2 Answers, 1 is accepted

Sort by
0
Andrey
Telerik team
answered on 07 Jul 2011, 07:55 AM
Hello Sunil,

1. You can use the ImageProvider to create a custom Map Provider when you should display a single region for different zoom levels.
 
2. Unfortunately we don't have a sample code of this custom provider. You can build it using the following example for tiled provider: http://www.telerik.com/help/wpf/radmap-howto-custom-provider.html
But you should inherit ImageProvider and ImageMapSource classes instead of TiledProvider and TiledMapSource. Also you should override the ImageMapSource.GetImageSource method instead of GetTile.

Kind regards,
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
0
Sunil
Top achievements
Rank 1
answered on 11 Jul 2011, 07:06 PM
Hello Andrey,

Thanks for the response, I will give it an attempt. 

Regards,

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