Package-level declarations

Types

Link copied to clipboard
class ColorByZoom(colorByZoom: Map<Double, Int>) : StyleByZoom<Int>

Represents the Color to use for each zoom level.

Link copied to clipboard
abstract class Range

Represents a Range to be displayed by a RangeVisualization add-on.

Link copied to clipboard
data class RangeStyle(val fillColors: ColorByZoom = DEFAULT_RANGE_STYLE.fillColors, val lineColors: ColorByZoom = DEFAULT_RANGE_STYLE.lineColors, val lineWidths: WidthByZoom = DEFAULT_RANGE_STYLE.lineWidths, val outlineColors: ColorByZoom = DEFAULT_RANGE_STYLE.outlineColors, val outlineWidths: WidthByZoom = DEFAULT_RANGE_STYLE.outlineWidths)

Represents a style configuration for the ranges.

Link copied to clipboard

Entry point for all methods related to the EV-range visualization add-on.

Link copied to clipboard

Responsible for creating instances of RangeVisualization.

Link copied to clipboard
data class RangeVisualizationStyle(val outerColors: ColorByZoom = DEFAULT_OUTER_COLORS, val rangeStyles: Map<String, RangeStyle> = emptyMap(), val defaultRangeStyle: RangeStyle = RangeStyle())

Represents the style used to display a reachable range.

Link copied to clipboard
open class StyleByZoom<T>(valueByZoom: Map<Double, T>, defaultValue: T, interpolationFunction: (zoom: Double, minZoom: Double, maxZoom: Double, minZoomValue: T, maxZoomValue: T) -> T)

Represents the style value to use for each zoom level.

Link copied to clipboard
class WidthByZoom(widthByZoom: Map<Double, Double>) : StyleByZoom<Double>

Represents the width to use for each zoom level.