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

Raster Tiles Image generation

1 Answer 98 Views
Map
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Amritendu
Top achievements
Rank 1
Amritendu asked on 31 Jan 2012, 12:47 PM
Hi,
I am new to Telerik Silverlight Controls. Currently I am working on RadMap Control. I am facing a problem in generating raster images using the RadMap. I could not find a way to create an InformationLayer Reader object which can show Raster images on the Rad Map. I am using Bing Map provider in this scenario.

I have successfully implemented this using Bing Maps. Please have a look at this link: http://www.mapforums.com/creating-bing-maps-tile-layers-sql-server-2008-fly-12208.html. This is what I am going to achieve.

Actually my goal is to smoothen the performance by using raster graphics instead of vector graphics(i.e. Polygons, Rectangles etc.). A considerable amount of vector images(approx, 20000) is slowing down the basic operations(panning / zooming) and exploring the map is becoming a headache.

My question is, is there any way I can do this in RadMap? Or do I have to resort to other means? Any help is appreciated.

1 Answer, 1 is accepted

Sort by
0
Andrey
Telerik team
answered on 02 Feb 2012, 04:13 PM
Hello Amritendu,

You should design your own custom provider for using images which are generated on server side. The RadMap allows to use a few map providers at the same time. You can add a custom provider to the Providers collection like the following:
<UserControl x:Class="MyCustomProvider.MainPage"
    xmlns:local="clr-namespace:MyCustomProvider"
    mc:Ignorable="d"
    d:DesignHeight="300" d:DesignWidth="400">
    <Grid x:Name="LayoutRoot" Background="White">
        <telerik:RadMap Name="radMap"
                        ZoomLevel="7"
                        Center="40,-100">
            <telerik:RadMap.Providers>
                <telerik:BingMapProvider ApplicationId="ENTER YOUR BING MAPS KEY HERE"
                                         Mode="Aerial" />
                <local:MyCustomMapProvider />
            </telerik:RadMap.Providers>
        </telerik:RadMap>
    </Grid>
</UserControl>

For more information please take a look at the following documentation topic:
http://www.telerik.com/help/silverlight/radmap-howto-custom-provider.html

Kind regards,
Andrey Murzov
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

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