Bug Report T293276
Visible to All Users

Changes in map colorizer data are not reflected in the corresponding vector layer

created 9 years ago (modified 9 years ago)

Hi,

I am displaying a mp with piechart items (MapPie items) and I wonder what is the best way to force an update the color of the piesegments when the colorizer of the associated layer is changed.  I have attached an example, when you click the button the colorizer is switched but the piesegments' colors are not updated - unless you uncomment the line in the code so that the pieitems are recreated.  Is there some method I can call to invalidate the piesegment fills so they are colorized again?

Thanks

Comments (1)
DevExpress Support Team 9 years ago

    Hi Dave,

    Special thanks for posting your sample project. We have reproduced this issue locally and will continue working on a permanent solution. As an immediate workaround, set the VectorItemsLayer.Data property to Null(Nothing) and re-assign the Data storage to force refreshing the map.

    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.