ZoomControlsViewModel

public final class ZoomControlsViewModel

ZoomControlsViewModel serves as the view model layer for managing the zoom controls within a map interface.

Important

This is a Public Preview API. It may be changed or removed at any time.
  • Determines the visibility of zoom controls. Setting this property will show or hide the zoom controls in the user interface.

    Declaration

    Swift

    public var isVisible: Bool { get set }
  • Represents the image used for the zoom-in control within the map’s user interface.

    Declaration

    Swift

    public var zoomInIcon: UIImage { get set }
  • Represents the image used for the zoom-out control within the map’s user interface.

    Declaration

    Swift

    public var zoomOutIcon: UIImage { get set }