Multiple providers issue

3 posts, 0 answers
  1. Lou
    Lou avatar
    10 posts
    Member since:
    Aug 2010

    Posted 21 Sep 2011 Link to this post

    I created a custom provider which plots points in a map tile which conforms to the Bing provider tiling scheme. I configured my map control to use both the Bing provider and my custom provider. However, once I zoom past zoom level 10, I notice that the Bing tile and the custom tile do not line up. As I zoom past zoom level 13, the error becomes more apparent. I was able to determine the map tiles are being correctly rendered from the custom provider by recording the extents that the provider creates for them and using an image tag to place them on the Bing map tile. Under that circumstance, the Bing tile and the custom tile line up as expected. So, it appears to me that when the two tiles are blended together from the two providers the second tile gets offset to some degree, and for zoom levels greater than 13, the error is compounded. Any insight on this observation would be appreciated. I am using the Q2 2011 release. Thanks.
  2. Andrey
    Andrey avatar
    1681 posts

    Posted 23 Sep 2011 Link to this post

    Hello Lou,

    It seems that the problem is in the custom provider, or in the way you use it (do you limit geographical region for custom provider using GeoBounds or GeoBoundsNW and GeoBoundsSE properties?). Everything else seems to work just fine. You can check it in our demo application: (this sample uses Bing traffic and OSM providers). (this sample shows geographically limited OSM over the Bing)

    Or you can use following XAML (it show semitransparent OSM over Bing):

    <UserControl x:Class="MultipleTileProviders.MainPage"
                 d:DesignHeight="500" d:DesignWidth="600">
        <Grid x:Name="LayoutRoot" Background="White">
            <telerik:RadMap x:Name="radMap"
                    <telerik:BingMapProvider Mode="Aerial" IsLabelVisible="True" ApplicationId="Your_BING_Application_Id" />
                    <telerik:OpenStreetMapProvider Opacity="0.5" />

    Best regards,
    Andrey Murzov
    the Telerik team

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

  3. Lou
    Lou avatar
    10 posts
    Member since:
    Aug 2010

    Posted 23 Sep 2011 Link to this post

    Thanks for the suggestions, I will try them out.
Back to Top