Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / Silverlight > Map > Raster Tiles Image generation

Not answered Raster Tiles Image generation

Feed from this thread
  • Amritendu avatar

    Posted on Jan 31, 2012 (permalink)

    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.

    Reply

  • Andrey Andrey admin's avatar

    Posted on Feb 2, 2012 (permalink)

    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 >>

    Reply

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / Silverlight > Map > Raster Tiles Image generation