MPSolutionConfig

open class MPSolutionConfig

An object that governs solution level settings such as:

  • Marker clustering
  • Marker collision handling
  • Main Display Rule
  • MPSettings3D

Can be fetched from getSolution with getConfig

Functions

Link copied to clipboard
open fun getCollisionHandling(): MPCollisionHandling
Gets the marker collision strategy for this solution
Link copied to clipboard
open fun getEnableClustering(): Boolean
Gets whether marker cluster is enabled for this solution
Link copied to clipboard
open fun getSettings3D(): MPSettings3D
Gets the 3D settings for this solution
Link copied to clipboard
open fun setCollisionHandling(@NonNull collisionHandling: MPCollisionHandling)
Set the marker collision handling
Link copied to clipboard
open fun setEnableClustering(enableClustering: Boolean)
Set whether markers should cluster