-
- All Implemented Interfaces:
public final class ViewOptionsViewOptionsis a data class that holds configuration options related to the rendering engine for an individual map view.
-
-
Field Summary
Fields Modifier and Type Field Description private final FloatmaxDeclinationprivate final IntegerdayNightModeprivate final StringstylePath
-
Constructor Summary
Constructors Constructor Description ViewOptions(Float maxDeclination, Integer dayNightMode, String stylePath)ViewOptions(Float maxDeclination, Integer dayNightMode)ViewOptions(Float maxDeclination)ViewOptions()
-
Method Summary
Modifier and Type Method Description final FloatgetMaxDeclination()The maximum allowed camera declination angle, in degrees. final IntegergetDayNightMode()final StringgetStylePath()Path to the TSS (Theme Style Sheet) file for map styling. -
-
Method Detail
-
getMaxDeclination
final Float getMaxDeclination()
The maximum allowed camera declination angle, in degrees. Declination defines the vertical tilt of the camera. A value of 0f represents a top-down view(aka 2D), while values closer to 70f represent a more angled, ground-level perspective. Valid range: 0f, 70f. Defaults to 51f.
-
getDayNightMode
final Integer getDayNightMode()
-
getStylePath
final String getStylePath()
Path to the TSS (Theme Style Sheet) file for map styling. Supports relative paths (e.g., "styles/cluster/newstyle.tss") If null, uses the default style.
-
-
-
-