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
class NamedCircle(val name: String, val origin: GeoPoint, val radius: Distance)

Represents a named circle.

Link copied to clipboard
class NamedPolygon(val name: String, val boundary: List<GeoPoint>)

Represents a named polygon.

Link copied to clipboard
sealed class Range

Represents a Range that can be displayed by RangeVisualization.

Link copied to clipboard
class RangeStyle(val fillColors: ColorByZoom = DEFAULT_FILL_COLORS, val lineColors: ColorByZoom = DEFAULT_LINE_COLORS, val lineWidths: WidthByZoom = DEFAULT_LINE_WIDTH, val outlineColors: ColorByZoom = DEFAULT_OUTLINE_COLORS, val outlineWidths: WidthByZoom = DEFAULT_OUTLINE_WIDTH)

Represents a style configuration for the ranges.

Link copied to clipboard

Entry point for all methods related to the range visualization.

Link copied to clipboard

Responsible for creating instances of RangeVisualization.

Link copied to clipboard
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.