FloatingButton
@objc(MBFloatingButton)
open class FloatingButton : Button
A rounded button with an icon that is designed to float above NavigationMapView.
-
The default size of a floating button.
Declaration
Swift
public static let buttonSize: CGSize -
Return a
FloatingButtonwith given images and size.Declaration
Swift
public class func rounded<T>(image: UIImage? = nil, selectedImage: UIImage? = nil, size: CGSize = FloatingButton.buttonSize) -> T where T : FloatingButtonParameters
imageThe
UIImageof this button.selectedImageThe
UIImageof this button when selected.sizeThe size of this button, or
FloatingButton.buttonSizeif this argument is not specified.
Install in Dash
FloatingButton Class Reference