Class MapViewOptions
- Last UpdatedMay 13, 2025
- 1 minute read
Package com.here.sdk.mapview
- 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 toMapProjection
projection
Projection of mapMapRenderMode
renderMode
Specifies whether theMapView
will useSurfaceView
orTextureView
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()
-
-
-
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 useSurfaceView
orTextureView
for map rendering. Defaults toMapRenderMode.SURFACE
.
-
-