MapOptions
The MapOptions class configures initial behavior and visual style of the map. It enables setting the default zoom level, the map language, style and more. The MapOptions is used as an argument for MapFragment.newInstance, which instantiates MapFragment object.
val mapOptions = MapOptions(mapKey = "YOUR_TOMTOM_API_KEY")
val mapFragment = MapFragment.newInstance(mapOptions)Constructors
The MapOptions class configures initial behavior and visual style of the map. It enables setting the default zoom level, the map language, style and more. The MapOptions is used as an argument for MapFragment.newInstance, which instantiates MapFragment object.
Types
Properties
Provides CameraOptions associated with the current MapOptions.
Provides custom StyleDescriptor with style that will be used as initial style.
Defines OnlineCachePolicy that will be used for the HTTP caching.
If set to true render to texture view rather than surface view.