Class MapViewOptions
Package com.here.sdk.mapview
Class MapViewOptions
- java.lang.Object
-
- com.here.sdk.mapview.MapViewOptions
-
public final class MapViewOptions extends java.lang.ObjectOptions used for initialization of map view
-
-
Field Summary
Fields Modifier and Type Field Description ColorinitialBackgroundColorInitial 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 toMapProjectionprojectionProjection of mapMapRenderModerenderModeSpecifies whether theMapViewwill useSurfaceVieworTextureViewfor 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 booleanequals(java.lang.Object obj)inthashCode()
-
-
-
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
MapViewwill useSurfaceVieworTextureViewfor map rendering. Defaults toMapRenderMode.SURFACE.
-
-