MTHalo

class MTHalo(val scale: Double? = null, val stops: List<MTHaloStop>? = null)

Halo (atmospheric glow) configuration for the globe.

When enabled, renders a radial gradient-based glow around the globe. Requires globe projection to be visible. Prefer setting via map options at initialization or dynamically via MTStyle.setHalo.

Constructors

constructor(scale: Double? = null, stops: List<MTHaloStop>? = null)

Properties

val scale: Double? = null

Controls the halo size. Typical range is 0.0..2.0.

val stops: List<MTHaloStop>? = null

Defines the radial gradient as a list of stops, each as a pair of normalized position (0..1) and a CSS color string (e.g., "transparent", "#RRGGBB", "rgba(r,g,b,a)").