ShowVenue

@Serializable
data class ShowVenue(    val firstMapId: String? = null,     val labelAllLocationsOnInit: Boolean = true,     val backgroundColor: String? = null,     val backgroundAlpha: Double? = null,     val multiBufferRendering: Boolean? = false,     val xRayPath: Boolean? = true,     val antialiasConfig: MPIOptions.AntialiasConfiguration? = null,     val ambientOcclusionConfig: MPIOptions.AmbientOcclusionConfiguration? = null,     val outdoorView: MPIOptions.OutdoorView? = null,     val shadingAndOutlines: Boolean? = false)

ShowVenue holds the properties of values to be set when showing a venue.

Constructors

Link copied to clipboard
fun ShowVenue(    firstMapId: String? = null,     labelAllLocationsOnInit: Boolean = true,     backgroundColor: String? = null,     backgroundAlpha: Double? = null,     multiBufferRendering: Boolean? = false,     xRayPath: Boolean? = true,     antialiasConfig: MPIOptions.AntialiasConfiguration? = null,     ambientOcclusionConfig: MPIOptions.AmbientOcclusionConfiguration? = null,     outdoorView: MPIOptions.OutdoorView? = null,     shadingAndOutlines: Boolean? = false)

Properties

Link copied to clipboard

Configuration for ambient occlusion. Defaults to disabled. This config object allows enabling ambient occlusion and setting the quality and resolution. Use MPIMapView.setAmbientOcclusionConfiguration() to set other options.

Link copied to clipboard
val antialiasConfig: MPIOptions.AntialiasConfiguration? = null

Controls whether antialiasing is enabled and its quality level. Defaults to true with medium quality if device pixel ratio is 1. This is very expensive on high resolution screens.

Link copied to clipboard
val backgroundAlpha: Double? = null

Set background alpha of the map

Link copied to clipboard
val backgroundColor: String? = null

Set background color of the map when showing the venue

Link copied to clipboard
val firstMapId: String? = null

Set the first map with first map id when showing the venue

Link copied to clipboard
val labelAllLocationsOnInit: Boolean = true

Show the venue with labels on all locations

Link copied to clipboard
val multiBufferRendering: Boolean? = false

Multi-buffer rendering is currently an experimental feature that may be changed in future releases. Multi-buffer rendering should improve performance but may cause issues on older GPUs.

Link copied to clipboard
val outdoorView: MPIOptions.OutdoorView? = null

Configuration for outdoor view. Defaults to disabled. Outdoor view requires multiBufferRendering to be enabled.

Link copied to clipboard
val shadingAndOutlines: Boolean? = false

Enable shading of bottoms of geometry along with outlines to make geometry stand out.

Link copied to clipboard
val xRayPath: Boolean? = true

xRay Paths is currently an experimental feature that may be changed in future releases. Journey path will be visible through other objects. Note: this is on by default, but requires the multiBufferRendering option (which is off by default) to be turned on.