Unplanned
Last Updated: 10 Mar 2020 12:33 by ADMIN
Dinko
Created on: 10 Mar 2020 12:31
Category: Map
Type: Feature Request
6
Map: Provide a way to update the Colorizer runtime

For example the TickMarkCount property. Modifying it, won't update the fill color of the shapes on the map.

A possible solution:

this.MyColorizer.Colorize(visualizationLayer.Items);
            foreach (var shape in this.visualizationLayer.Items.OfType<MapShapeData>())
            {
                if (shape.IsSelected)
                    shape.UseSelectedFill();
                else if (shape.IsHighlighted) shape.UseHighlightFill();
                else shape.UseRegularFill();
            };

0 comments