MapstedMapManager

Singleton manager class for holding the MainMapFragment

Constructors

Link copied to clipboard
constructor(@NonNull context: Context, @NonNull mapstedMapApi: MapstedMapApi)

Functions

Link copied to clipboard
open fun addView(@Nullable tag: String, view: View): String
Link copied to clipboard
Method to get the MainMapFragment object
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun layersNames(): String
Link copied to clipboard
open fun onDestroy()
Link copied to clipboard
Link copied to clipboard
open fun removeViewFromMap(tag: String)
Link copied to clipboard
open fun setIsInRoutingNavigationMode(isInRoutingMode: Boolean)
This is triggered when the user has pressed the "go" button and is in navigation/routing mode.
Link copied to clipboard
open fun setMapFragment(@Nullable mapFragment: MainMapFragment)
Link copied to clipboard
open fun startFollowingUser(forceUpdateMap: Boolean)
Link copied to clipboard
Link copied to clipboard