Class
Labeler
open class Labeler
- Grid Labeler
Relationships
Subclasses
GridLabeler
Initializers
init(_:_:_:_:)
public convenience init(_ minZoom: Int, _ color: UIColor?, _ textSize: Double, _ buffer: Double)
- Initialize
- @param minZoom
-
minimum zoom
- @param color
-
label color
- @param textSize
-
label text size
- @param buffer
-
grid edge buffer (greater than or equal to 0.0 and less than
-
0.5)
init(_:_:_:_:_:)
public convenience init(_ minZoom: Int, _ maxZoom: Int?, _ color: UIColor?, _ textSize: Double, _ buffer: Double)
- Initialize
- @param minZoom
-
minimum zoom
- @param maxZoom
-
maximum zoom
- @param color
-
label color
- @param textSize
-
label text size
- @param buffer
-
grid edge buffer (greater than or equal to 0.0 and less than
-
0.5)
init(_:_:_:_:_:_:)
public init(_ enabled: Bool, _ minZoom: Int, _ maxZoom: Int?, _ color: UIColor?, _ textSize: Double, _ buffer: Double)
- Initialize
- @param enabled
-
enabled labeler
- @param minZoom
-
minimum zoom
- @param maxZoom
-
maximum zoom
- @param color
-
label color
- @param textSize
-
label text size
- @param buffer
-
grid edge buffer (greater than or equal to 0.0 and less than
-
0.5)
Properties
Methods
hasMaxZoom()
public func hasMaxZoom() -> Bool
- Has a maximum zoom level
- @return true if has a maximum, false if unbounded
isWithin(_:)
public func isWithin(_ zoom: Int) -> Bool
- Is the zoom level within the grid zoom range
- @param zoom
-
zoom level
- @return true if within range