Package 

Class ViewOptions

  • All Implemented Interfaces:

    
    public final class ViewOptions
    
                        

    ViewOptions is a data class that holds configuration options related to the rendering engine for an individual map view.

    • Constructor Detail

      • ViewOptions

        ViewOptions(Float maxDeclination, Integer dayNightMode)
      • ViewOptions

        ViewOptions(Float maxDeclination)
      • ViewOptions

        ViewOptions()
    • 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.

      • 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.