Methods
createFeature
- createFeature(geomOrProps?: Geometry | {}): Feature<Geometry>
Parameters
Optional geomOrProps: Geometry | {}
Returns Feature<Geometry>
createFeatureCollection
- createFeatureCollection(): Collection<Feature<Geometry>>
Returns Collection<Feature<Geometry>>
createFormatGeoJSON
- createFormatGeoJSON(options?: Options): GeoJSON
Parameters
Optional options: Options
Returns GeoJSON
createFormatWKT
- createFormatWKT(options?: Options): WKT
Parameters
Optional options: Options
Returns WKT
createGeomCircle
- createGeomCircle(center: Coordinate2D, radius: undefined | number): Circle
Parameters
radius: undefined | number
Returns Circle
createGeomCollection
- createGeomCollection(geometries: Geometry[]): GeometryCollection
Parameters
Returns GeometryCollection
createGeomLineString
- createGeomLineString(coordinates: Coordinate2D[]): LineString
Parameters
Returns LineString
createGeomLinearRing
- createGeomLinearRing(coordinates: Coordinate2D[]): LinearRing
Parameters
Returns LinearRing
createGeomMultiLineString
- createGeomMultiLineString(coordinates: Coordinate2D[][]): MultiLineString
Parameters
Returns MultiLineString
createGeomMultiPoint
- createGeomMultiPoint(coordinates: Coordinate2D[]): MultiPoint
Parameters
Returns MultiPoint
createGeomMultiPolygon
- createGeomMultiPolygon(coordinates: Coordinate2D[][][]): MultiPolygon
Parameters
Returns MultiPolygon
createGeomPolygon
Parameters
Returns Polygon
createGeomPolygonFromCircle
- createGeomPolygonFromCircle(circle: Circle): Polygon
Parameters
Returns Polygon
createInteractionDraw
- createInteractionDraw(options: Options): Draw
createInteractionExtent
- createInteractionExtent(options: Options): Extent
createInteractionModify
- createInteractionModify(options: Options): Modify
createInteractionSelect
- createInteractionSelect(options: Options): Select
createInteractionSnap
- createInteractionSnap(options: Options): Snap
createInteractionTranslate
- createInteractionTranslate(options: Options): Translate
Parameters
Returns Translate
createOverlay
- createOverlay(options: Options): Overlay
Parameters
Returns Overlay
createProjection
- createProjection(options: Options): Projection
Parameters
Returns Projection
createStyle
- createStyle(options?: Options): Style
Parameters
Optional options: Options
Returns Style
createStyleCircle
- createStyleCircle(options?: Options): CircleStyle
Parameters
Optional options: Options
Returns CircleStyle
createStyleFill
- createStyleFill(options?: Options): Fill
Parameters
Optional options: Options
Returns Fill
createStyleIcon
- createStyleIcon(options?: Options): Icon
Parameters
Optional options: Options
Returns Icon
createStyleRegularShape
- createStyleRegularShape(options: Options): RegularShape
Parameters
Returns RegularShape
createStyleStroke
- createStyleStroke(options?: Options): Stroke
Parameters
Optional options: Options
Returns Stroke
createStyleText
- createStyleText(options?: Options): Text
Parameters
Optional options: Options
Returns Text
createVectorSource
- createVectorSource(options?: Options): VectorSource<Geometry>
Parameters
Optional options: Options
Returns VectorSource<Geometry>
extentContainsXY
- extentContainsXY(extent: Bounds, x: number, y: number): boolean
Parameters
Returns boolean
transformCoordinate
Parameters
source: ProjectionLike
target: ProjectionLike
transformCoordinateFromLonLat
Parameters
Optional proj: ProjectionLike
transformExtent
- transformExtent(extent: Bounds, source: ProjectionLike, target: ProjectionLike): Bounds
Parameters
source: ProjectionLike
target: ProjectionLike
Creates various OpenLayers types used by the viewer
IOLFactory