Custom Map Provider using the ImageProvider

3 posts, 0 answers
  1. Sunil
    Sunil avatar
    2 posts
    Member since:
    Apr 2009

    Posted 04 Jul 2011 Link to this post

    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. Andrey
    Admin
    Andrey avatar
    1681 posts

    Posted 07 Jul 2011 Link to this post

    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
  3. UI for WPF is Visual Studio 2017 Ready
  4. Sunil
    Sunil avatar
    2 posts
    Member since:
    Apr 2009

    Posted 11 Jul 2011 Link to this post

    Hello Andrey,

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

    Regards,

    Sunil
Back to Top