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.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Constructor Summary

      Constructors 
      Constructor Description
      ViewOptions(Float maxDeclination, Integer dayNightMode, String stylePath)
      ViewOptions(Float maxDeclination, Integer dayNightMode)
      ViewOptions(Float maxDeclination)
      ViewOptions()
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final Float getMaxDeclination() The maximum allowed camera declination angle, in degrees.
      final Integer getDayNightMode()
      final String getStylePath() Path to the TSS (Theme Style Sheet) file for map styling.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ViewOptions

        ViewOptions(Float maxDeclination, Integer dayNightMode, String stylePath)
      • 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.