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 coord
ol.Coordinate Returns:
- Type
- ol.geom.Polygon
-
setGridProjection(proj)
-
Set grid projection
Parameters:
Name Type Description proj
ol.ProjectionLike -
setSize(size)
-
Set grid size
Parameters:
Name Type Description size
number