VERIFIED SOLUTION i
X

Colors not displayed as expected after applying translucency when using Ranged Value Themes on the map

Issue

The user is creating custom themes (Dynamic) layer on Map and when tried to apply translucency with few specific colors (RGB), observed that the colors are not reflected as expected after apply translucency.
  • Open attached sample application in Visual Studio
  • Run the application
  • Select 'Apply Range Theme' button
  • Observe the color pattern on the map

User-added image

 

Cause

SpreadBy property is set incorrectly. SpreadBy Property controls how auto spreading is done for ranged thematic maps. MapXtreme can compute a set of colors between two colors or compute sizes between two sizes.

 
theme.SpreadBy = MapInfo.Mapping.Thematics.SpreadByPart.Color;

 

Resolution

UPDATED: April 13, 2017


Change SpreadyByPart value to None.
 
theme.SpreadBy = MapInfo.Mapping.Thematics.SpreadByPart.None;

 

Environment Details

Product Feature: Thematics

 

Downloads

  • No Downloads