MPSolutionConfig

An object that governs solution level settings such as:

  • Marker clustering

  • Marker collision handling

  • Main Display Rule

  • MPSettings3D

Can be fetched from MapsIndoors.getSolution with MPSolution.getConfig.

Functions

Link copied to clipboard

Sets the zoom band across which icons grow towards their display rule's icon zoom factor.

Properties

Link copied to clipboard
@SerializedName(value = "automatedZoomLimit")
var automatedZoomLimit: Double?

The automated zoom limit for this solution. This controls the maximum zoom level the camera can zoom to when doing MapsIndoors Camera operations. It is still possible to zoom further in manually. Default is null.

Link copied to clipboard
@SerializedName(value = "collisionHandling")
var collisionHandling: MPCollisionHandling?

The marker collision strategy for this solution, or null to use MapsIndoorsInternalSettings.DEFAULT_SOLUTION_CONFIG_SETTINGS_COLLISION_HANDLING.

Link copied to clipboard
@SerializedName(value = "directionsRendererConfig")
var directionsRendererConfig: MPDirectionsRendererConfig?

The solution-level directions renderer route styling, or null if the solution has none. The backend serves this only at data-format v >= 8; older configs return null.

Link copied to clipboard
@SerializedName(value = "enableClustering")
var enableClustering: Boolean?

Whether marker clustering is enabled for this solution, or null to use MapsIndoorsInternalSettings.DEFAULT_SOLUTION_CONFIG_SETTINGS_MARKER_CLUSTERING_ENABLED.

Link copied to clipboard
@get:JvmName(name = "getIconScaleZoomBand")
val iconScaleZoomBand: IconScaleZoomBand?

The effective icon-scale zoom band the map scales with: a partial band completed from the SDK defaults (18/22), or null when scaling is off. Read this rather than the two raw bounds to tell what is actually rendering. Mirrors iOS's MPSolutionConfig.iconScaleZoomBand.

Link copied to clipboard
@SerializedName(value = "iconScaleZoomFrom")
var iconScaleZoomFrom: Double?

Bottom of the icon-scale zoom band, in MapsIndoors zoom, exactly as the solution stored it.

Link copied to clipboard
@SerializedName(value = "iconScaleZoomTo")
var iconScaleZoomTo: Double?

Top of the icon-scale zoom band, in MapsIndoors zoom, exactly as the solution stored it.

Link copied to clipboard

Whether the new selection behaviour is used for this solution.

Link copied to clipboard

The location settings collection for this solution.

Link copied to clipboard

The 3D settings for this solution.