Methods
createFeature
- createFeature(geomOrProps?: olGeometry | object): olFeature
-
Parameters
-
Optional geomOrProps: olGeometry | object
Returns olFeature
createFeatureCollection
- createFeatureCollection(): olCollection<olFeature>
-
Returns olCollection<olFeature>
createFormatGeoJSON
- createFormatGeoJSON(options?: GeoJSONOptions | undefined): olFormatGeoJSON
-
Parameters
-
Optional options: GeoJSONOptions | undefined
Returns olFormatGeoJSON
createFormatWKT
- createFormatWKT(options?: WKTOptions | undefined): olFormatWKT
-
Parameters
-
Optional options: WKTOptions | undefined
Returns olFormatWKT
createGeomCircle
- createGeomCircle(center: Coordinate2D, radius: number | undefined): olCircle
-
Parameters
-
-
radius: number | undefined
Returns olCircle
createGeomCollection
- createGeomCollection(geometries: olGeometry[]): olGeometryCollection
-
Parameters
Returns olGeometryCollection
createGeomLineString
- createGeomLineString(coordinates: Coordinate2D[]): olLineString
-
Parameters
Returns olLineString
createGeomLinearRing
- createGeomLinearRing(coordinates: Coordinate2D[]): olLinearRing
-
Parameters
Returns olLinearRing
createGeomMultiLineString
- createGeomMultiLineString(coordinates: Coordinate2D[][]): olMultiLineString
-
Parameters
Returns olMultiLineString
createGeomMultiPoint
- createGeomMultiPoint(coordinates: Coordinate2D[]): olMultiPoint
-
Parameters
Returns olMultiPoint
createGeomMultiPolygon
- createGeomMultiPolygon(coordinates: Coordinate2D[][][]): olMultiPolygon
-
Parameters
Returns olMultiPolygon
createGeomPoint
-
Parameters
Returns olPoint
createGeomPolygon
-
Parameters
Returns olPolygon
createGeomPolygonFromCircle
- createGeomPolygonFromCircle(circle: olCircle): olPolygon
-
Parameters
Returns olPolygon
createInteractionDraw
- createInteractionDraw(options: DrawOptions): olInteractionDraw
-
Parameters
Returns olInteractionDraw
createInteractionExtent
- createInteractionExtent(options: ExtentOptions): olInteractionExtent
-
Parameters
Returns olInteractionExtent
createInteractionModify
- createInteractionModify(options: ModifyOptions): olInteractionModify
-
Parameters
Returns olInteractionModify
createInteractionSelect
- createInteractionSelect(options: SelectOptions): olInteractionSelect
-
Parameters
Returns olInteractionSelect
createInteractionSnap
- createInteractionSnap(options: SnapOptions): olInteractionSnap
-
Parameters
Returns olInteractionSnap
createInteractionTranslate
- createInteractionTranslate(options: TranslateOptions): olInteractionTranslate
-
Parameters
-
options: TranslateOptions
Returns olInteractionTranslate
createOverlay
- createOverlay(options: OverlayOptions): olOverlay
-
Parameters
Returns olOverlay
createProjection
- createProjection(options: ProjectionOptions): olProjection
-
Parameters
-
options: ProjectionOptions
Returns olProjection
createStyle
- createStyle(options?: StyleOptions): olStyle
-
Parameters
-
Optional options: StyleOptions
Returns olStyle
createStyleCircle
- createStyleCircle(options?: CircleOptions): olStyleCircle
-
Parameters
-
Optional options: CircleOptions
Returns olStyleCircle
createStyleFill
- createStyleFill(options?: FillOptions): olStyleFill
-
Parameters
-
Optional options: FillOptions
Returns olStyleFill
createStyleIcon
- createStyleIcon(options?: IconOptions | undefined): olStyleIcon
-
Parameters
-
Optional options: IconOptions | undefined
Returns olStyleIcon
createStyleRegularShape
- createStyleRegularShape(options: RegularShapeOptions): olStyleRegularShape
-
Parameters
-
options: RegularShapeOptions
Returns olStyleRegularShape
createStyleStroke
- createStyleStroke(options?: StrokeOptions): olStyleStroke
-
Parameters
-
Optional options: StrokeOptions
Returns olStyleStroke
createStyleText
- createStyleText(options?: TextOptions | undefined): olStyleText
-
Parameters
-
Optional options: TextOptions | undefined
Returns olStyleText
createVectorLayer
- createVectorLayer(options?: VectorLayerOptions | undefined): olVectorLayer
-
Parameters
-
Optional options: VectorLayerOptions | undefined
Returns olVectorLayer
createVectorSource
- createVectorSource(options?: VectorOptions): olVectorSource
-
Parameters
-
Optional options: VectorOptions
Returns olVectorSource
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}