• java.lang.Object
    • com.here.sdk.mapview.MapViewOptions

  • public final class MapViewOptions
    extends java.lang.Object

    Options used for initialization of map view

    • Field Summary

      Fields 
      Modifier and Type Field Description
      Color initialBackgroundColor
      Initial loading background color that will be shown between rendering the first frame without a scene loaded and before rendering the first frame after a scene is loaded.If not set, it will default to
      MapProjection projection
      Projection of map
      MapRenderMode renderMode
      Specifies whether the MapView will use SurfaceView or TextureView for map rendering.
    • Constructor Summary

      Constructors 
      Constructor Description
      MapViewOptions()
      Creates a new instance.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object obj)  
      int hashCode()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • projection

        @NonNull
        public MapProjection projection

        Projection of map

      • initialBackgroundColor

        @Nullable
        public Color initialBackgroundColor

        Initial loading background color that will be shown between rendering the first frame without a scene loaded and before rendering the first frame after a scene is loaded.If not set, it will default to

        #D3D3D3. Alpha value gets ignored and is assumed as 1.0.

      • renderMode

        @NonNull
        public MapRenderMode renderMode

        Specifies whether the MapView will use SurfaceView or TextureView for map rendering. Defaults to MapRenderMode.SURFACE.

    • Constructor Detail

      • MapViewOptions

        public MapViewOptions()

        Creates a new instance.

    • Method Detail

      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object