ClassBreaksRenderer

class ClassBreaksRenderer : Renderer

A Class Breaks Renderer object.

Constructors

Link copied to clipboard
fun ClassBreaksRenderer(fieldName: String = "", classBreaks: Iterable<ClassBreak> = emptyList())

Creates a new class breaks renderer object.

Functions

Link copied to clipboard
open override fun clone(): ClassBreaksRenderer
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
fun getSymbol(feature: Feature, applyAttributeOverrides: Boolean = false): Symbol?

Returns the symbol that should be used to visualize the given feature with override attributes from renderer. If apply_attribute_overrides is set to true this method will get the symbol from renderer and override the symbol properties with the overrides available on renderer. Like visual variable size, color, opacity and rotation. If the override expression or attributes contain any information not known to the renderer or feature that will not be evaluated e.g. "scale" and that override will not be applied. If the override attributes are applied successfully it will return a multilayer symbol else original symbol will be returned.

fun getSymbol(graphic: Graphic, applyAttributeOverrides: Boolean = false): Symbol?

Returns the symbol that should be used to visualize the given graphic with override attributes from renderer. If apply_attribute_overrides is set to true this method will get the symbol from renderer and override the symbol properties with the overrides available on renderer. Like visual variable size, color, opacity and rotation. If the override expression or attributes contain any information not known to the renderer or graphic that will not be evaluated e.g. "scale" and that override will not be applied. If the override attributes are applied successfully it will return a multilayer symbol else original symbol will be returned.

Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toJson(): String

Convert an object to JSON string.

Properties

Link copied to clipboard
var backgroundFillSymbol: Symbol?
Link copied to clipboard
val classBreaks: MutableList<ClassBreak>
Link copied to clipboard
val classificationMethod: RendererClassificationMethod

The renderer's classification method. RendererClassificationMethod.Manual if an error occurs.

Link copied to clipboard
var defaultLabel: String

The renderer's default label.

Link copied to clipboard
var defaultSymbol: Symbol?
Link copied to clipboard
var fieldName: String

The renderer's field name.

Link copied to clipboard
var minValue: Double

The renderer's min value.

Link copied to clipboard
var normalizationField: String

The renderer's normalization field.

Link copied to clipboard
var normalizationTotal: Double

The renderer's normalization total.

Link copied to clipboard
var normalizationType: RendererNormalizationType

The renderer's normalization type. RendererNormalizationType.None if an error occurs.

Link copied to clipboard
var rotationExpression: String

The renderer's rotation expression.

Link copied to clipboard
var rotationType: RotationType

The renderer's rotation type. RotationType.Arithmetic if an error occurs.

Link copied to clipboard
var sceneProperties: RendererSceneProperties
Link copied to clipboard
open override val unknownJson: Map<String, Any>

Unknown data from the source JSON. Unknown JSON is a dictionary of values that was in the source JSON but was unparsed by this API.

Link copied to clipboard
open override val unsupportedJson: Map<String, Any>

Unsupported data from the source JSON. Unsupported JSON is a dictionary of values that are supported by web maps, but not exposed through this API.