Class
BaseGrids
open class BaseGrids
- Grids
Relationships
Subclasses
Grids
Initializers
Properties
Methods
newZoomGrids(_:)
open func newZoomGrids(_ zoom: Int) -> BaseZoomGrids
- Create a new zoom grids
- @param zoom
-
zoom level
- @return zoom grids
loadGrid(_:_:_:_:)
- Load the grid
- @param grid
-
name
- @param gridKey
-
grid name key
- @param enabled
-
enable created grids
- @param labeler
-
grid labeler
loadLabeler(_:_:)
public func loadLabeler(_ labeler: Labeler, _ gridKey: String)
- Load the labeler
- @param labeler
-
labeler
- @param gridKey
-
grid name key
loadGridStyleColor(_:_:)
public func loadGridStyleColor(_ gridKey: String, _ gridKey2: String) -> UIColor?
- Load the grid style color
- @param gridKey
-
grid name key
- @param gridKey2
-
second grid name key
- @return color
loadGridStyleWidth(_:_:)
public func loadGridStyleWidth(_ gridKey: String, _ gridKey2: String) -> Double?
- Load the grid style width
- @param gridKey
-
grid name key
- @param gridKey2
-
second grid name key
- @return width
gridStyle(_:_:_:)
- Get a combined grid style from the provided color, width, and grid
- @param color
-
color
- @param width
-
width
- @param grid
-
grid
- @return grid style
grids(_:)
open func grids(_ zoom: Int) -> BaseZoomGrids
- Get the grids for the zoom level
- @param zoom
-
zoom level
- @return grids
setMinZoom(_:_:)
public func setMinZoom(_ grid: BaseGrid, _ minZoom: Int)
- Set the grid minimum zoom
- @param grid
-
grid
- @param minZoom
-
minimum zoom
setMaxZoom(_:_:)
public func setMaxZoom(_ grid: BaseGrid, _ maxZoom: Int?)
- Set the grid maximum zoom
- @param grid
-
grid
- @param maxZoom
-
maximum zoom
setZoomRange(_:_:_:)
public func setZoomRange(_ grid: BaseGrid, _ minZoom: Int, _ maxZoom: Int?)
- Set the grid zoom range
- @param grid
-
grid
- @param minZoom
-
minimum zoom
- @param maxZoom
-
maximum zoom
setAllLabelBuffers(_:)
public func setAllLabelBuffers(_ buffer: Double)
- Set all label grid edge buffers
- @param buffer
-
label buffer (greater than or equal to 0.0 and less than 0.5)