MTZoomable
@MainActor
public protocol MTZoomable
Defines methods for manipulating zoom level.
-
zoomIn()AsynchronousIncreases the map’s zoom level by 1.
Declaration
Swift
@MainActor func zoomIn() async -
zoomOut()AsynchronousDecreases the map’s zoom level by 1.
Declaration
Swift
@MainActor func zoomOut() async -
getZoom()AsynchronousReturns the map’s current zoom level.
Declaration
Swift
@MainActor func getZoom() async -> Double -
setZoom(_:Asynchronous) Sets the map’s zoom level.
Declaration
Swift
@MainActor func setZoom(_ zoom: Double) async