You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the example above, paletteType is set to categorical. This type means that each feature's property must exactly match the the value for the feature to be shaded with the corresponding color. Only categorical and continuous palettes (#1952) are supported so far.
This issue encompasses adding support for classified color palettes. - classified color palettes are for numeric properties like area and height, but the palette is discrete instead of a continuous gradient. That means that the configured values would be interpreted as maximums, and any values less than the given value would be "binned" into a discrete color category. This differs from the categorical palette in that the features' property values do not need to exactly match the configured color value, e.g.:
Notes:
This issue is about rendering the features in the correct color when there is a continuous or classified color palette configured in the cesium config. Building the UI to allow users to change the color palette live in the map is covered by Support changing the color of features in a data layer #1768.
Colors for 3D tileset layers are set in the Cesium config using the
colorPalette
property.categorical colorPalette example
In the example above,
paletteType
is set tocategorical
. This type means that each feature's property must exactly match the the value for the feature to be shaded with the corresponding color. Onlycategorical
andcontinuous
palettes (#1952) are supported so far.This issue encompasses adding support for
classified
color palettes. -classified
color palettes are for numeric properties like area and height, but the palette is discrete instead of a continuous gradient. That means that the configuredvalues
would be interpreted as maximums, and any values less than the given value would be "binned" into a discrete color category. This differs from the categorical palette in that the features' property values do not need to exactly match the configured color value, e.g.:Notes:
LegendView
(see Add a preview/thumbnail for each layer in the layer list in the cesium map #1886 and Show a legend for data layers that require one in the Cesium View #1784)The text was updated successfully, but these errors were encountered: