Class
BaseGrid
open class BaseGrid: Hashable, Comparable
- Base Grid
Relationships
Subclasses
Grid
Conforms To
Comparable
Hashable
Initializers
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
hasLinesMinZoom()
public func hasLinesMinZoom() -> Bool
- Has a minimum zoom level override for drawing grid lines
- @return true if has a minimum, false if not overridden
hasLinesMaxZoom()
public func hasLinesMaxZoom() -> Bool
- Has a maximum zoom level override for drawing grid lines
- @return true if has a maximum, false if not overridden
isLinesWithin(_:)
public func isLinesWithin(_ zoom: Int) -> Bool
- Is the zoom level within the grid lines zoom range
- @param zoom
-
zoom level
- @return true if within range
hasLabeler()
public func hasLabeler() -> Bool
- Has a grid labeler
- @return true if has a grid labeler
isLabelerWithin(_:)
public func isLabelerWithin(_ zoom: Int) -> Bool
- Is labeler zoom level within the grid zoom range
- @param zoom
-
zoom level
- @return true if within range
labelBuffer()
public func labelBuffer() -> Double
- Get the label grid edge buffer
- @return label buffer (greater than or equal to 0.0 and less than 0.5)
equals(_:)
open func equals(_ grid: BaseGrid) -> Bool
hash(into:)
open func hash(into hasher: inout Hasher)
compare(_:)
open func compare(_ grid: BaseGrid) -> Bool