Class BaseGrids<TGrid, TZoomGrids>Abstract
Properties
Protected
Readonly
properties
Methods
Protected
createZoomGrids
- createZoomGrids(): void
-
Returns void
disable
- disable(grid: TGrid): void
-
Returns void
disableGrids
- disableGrids(grids: TGrid[]): void
-
Returns void
enable
- enable(grid: TGrid): void
-
Returns void
enableAllLabelers
- enableAllLabelers(): void
-
Returns void
enableGrids
- enableGrids(grids: TGrid[]): void
-
Returns void
Abstract
getDefaultWidth
- getDefaultWidth(): number
-
Returns number
Protected
getGridStyle
- getGridStyle(grid: TGrid, color?: Color, width?: number): GridStyle
-
Parameters
-
grid: TGrid
-
Optional
color: Color
-
Optional
width: number
getGrids
- getGrids(zoom: number): undefined | TZoomGrids
-
Returns undefined | TZoomGrids
Abstract
grids
- grids(): TGrid[]
-
Returns TGrid[]
Protected
loadGrid
- loadGrid(grid: TGrid, gridKey: string, labeler: Labeler, enabled?: boolean): void
-
Parameters
-
grid: TGrid
-
gridKey: string
-
-
Optional
enabled: boolean
Returns void
Protected
loadGridStyleColor
- loadGridStyleColor(gridKey: string, gridKey2: string): undefined | Color
-
Parameters
-
gridKey: string
-
gridKey2: string
Returns undefined | Color
Protected
loadGridStyleWidth
- loadGridStyleWidth(gridKey: string, gridKey2: string): undefined | number
-
Parameters
-
gridKey: string
-
gridKey2: string
Returns undefined | number
Protected
Abstract
newZoomGrids
- newZoomGrids(zoom: number): TZoomGrids
-
Returns TZoomGrids
setAllLabelBuffers
- setAllLabelBuffers(buffer: number): void
-
Returns void
setMaxZoom
- setMaxZoom(grid: TGrid, maxZoom?: number): void
-
Parameters
-
grid: TGrid
-
Optional
maxZoom: number
Returns void
setMinZoom
- setMinZoom(grid: TGrid, minZoom: number): void
-
Parameters
-
grid: TGrid
-
minZoom: number
Returns void
setZoomRange
- setZoomRange(grid: TGrid, minZoom: number, maxZoom?: number): void
-
Parameters
-
grid: TGrid
-
minZoom: number
-
Optional
maxZoom: number
Returns void
Grids