Bug Report T317517
Visible to All Users

Map tiles are displayed incorrectly after the map kind is changed at runtime when the caching option is enabled

created 9 years ago (modified 9 years ago)

Hi.

I use the following code to allow disk caching:

Visual Basic
mapProvider = New OpenStreetMapDataProvider mapProvider.CacheOptions.DiskFolder = Path.Combine(AppSettings.sEXEPath, "MapCache") mapProvider.CacheOptions.DiskExpireTime = New TimeSpan(30, 00, 00, 00) mapProvider.CacheOptions.DiskLimit = 300

I provide our users the ability to change the map kind at runtime.  However, changing the map kind does not change right away; it still uses the images from the cache after changing the kind.

Is the only proper way to get around this is to delete the disk cache and then change the kind afterwards?

Thanks.

Comments (3)
DevExpress Support Team 9 years ago

    Hi Christopher,

    Thank you for your report. We have acknowledged this issue and will continue working on a suitable solution. As an immediate workaround, specify a different DiskFolder property value when switching the map kind at runtime.

    CJ CJ
    Christopher Jay 9 years ago

      Deleting the cache folder appears to work just as well for now.  Thanks for looking into this.

      DevExpress Support Team 9 years ago

        Thank you for the update, Christopher. We will keep you informed of our progress.

        Answers approved by DevExpress Support

        created 9 years ago

        We have fixed the issue described in this ticket and will include the fix in our next maintenance update. To apply this solution before the official update, request a hotfix by clicking the corresponding link for product versions you require.

        Note: Hotfixes may be unavailable for beta versions and updates that are about to be released.

          Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.

          Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.