new GridBin(options)
Parameters:
| Name | Type | Description | ||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
Object | ol.source.VectorOptions + grid option Properties
|
Extends
Methods
-
clear()
-
Overwrite ol/source/Vector clear to fire clearstart / clearend event
- Inherited From:
- Overrides:
-
getGridGeomAt(coord)
-
Get the grid geometry at the coord
Parameters:
Name Type Description coordol.Coordinate Returns:
- Type
- ol.geom.Polygon
-
setCircle(b)
-
Set geometry shape as circle
Parameters:
Name Type Description bboolean -
setGridProjection(proj)
-
Set grid projection
Parameters:
Name Type Description projol.ProjectionLike -
setSize(size)
-
Set grid size
Parameters:
Name Type Description sizenumber