---
title: "options.MTHalo | Mobile sdk | Mobile sdk android | Android"
description: "MTHalo"
---

> For AI agents: a documentation index is available at [/llms.txt](https://docs.maptiler.com/llms.txt). Markdown versions of all pages are available by appending .md to any URL.

# options.MTHalo

class [MTHalo](https://docs.maptiler.com/mobile-sdk/android/api/-map-tiler-s-d-k/com.maptiler.maptilersdk.map.options/-m-t-halo/)(val scale: [Double](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-double/index.html)? = null, val stops: [List](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-list/index.html)<[MTHaloStop](https://docs.maptiler.com/mobile-sdk/android/api/-map-tiler-s-d-k/com.maptiler.maptilersdk.map.options/-m-t-halo-stop/)\>? = 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.

Members

## Constructors

[MTHalo](https://docs.maptiler.com/mobile-sdk/android/api/-map-tiler-s-d-k/com.maptiler.maptilersdk.map.options/-m-t-halo/-m-t-halo/)

constructor(scale: [Double](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-double/index.html)? = null, stops: [List](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-list/index.html)<[MTHaloStop](https://docs.maptiler.com/mobile-sdk/android/api/-map-tiler-s-d-k/com.maptiler.maptilersdk.map.options/-m-t-halo-stop/)\>? = null)

## Properties

[scale](https://docs.maptiler.com/mobile-sdk/android/api/-map-tiler-s-d-k/com.maptiler.maptilersdk.map.options/-m-t-halo/scale/)

val [scale](https://docs.maptiler.com/mobile-sdk/android/api/-map-tiler-s-d-k/com.maptiler.maptilersdk.map.options/-m-t-halo/scale/): [Double](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-double/index.html)? = null

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

[stops](https://docs.maptiler.com/mobile-sdk/android/api/-map-tiler-s-d-k/com.maptiler.maptilersdk.map.options/-m-t-halo/stops/)

val [stops](https://docs.maptiler.com/mobile-sdk/android/api/-map-tiler-s-d-k/com.maptiler.maptilersdk.map.options/-m-t-halo/stops/): [List](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-list/index.html)<[MTHaloStop](https://docs.maptiler.com/mobile-sdk/android/api/-map-tiler-s-d-k/com.maptiler.maptilersdk.map.options/-m-t-halo-stop/)\>? = null

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