Options
All
  • Public
  • Public/Protected
  • All
Menu

Creates various OpenLayers types used by the viewer

export
interface

IOLFactory

Hierarchy

  • IOLFactory

Implemented by

Index

Methods

  • createFeature(geomOrProps?: Geometry | {}): Feature<Geometry>
  • Parameters

    • Optional geomOrProps: Geometry | {}

    Returns Feature<Geometry>

  • createFeatureCollection(): Collection<Feature<Geometry>>
  • Returns Collection<Feature<Geometry>>

  • createFormatGeoJSON(options?: Options): GeoJSON
  • Parameters

    • Optional options: Options

    Returns GeoJSON

  • createFormatWKT(options?: Options): WKT
  • Parameters

    • Optional options: Options

    Returns WKT

  • createGeomCircle(center: Coordinate2D, radius: undefined | number): Circle
  • Parameters

    Returns Circle

  • createGeomCollection(geometries: Geometry[]): GeometryCollection
  • Parameters

    • geometries: Geometry[]

    Returns GeometryCollection

  • createGeomLineString(coordinates: Coordinate2D[]): LineString
  • createGeomLinearRing(coordinates: Coordinate2D[]): LinearRing
  • createGeomMultiLineString(coordinates: Coordinate2D[][]): MultiLineString
  • Parameters

    Returns MultiLineString

  • createGeomMultiPoint(coordinates: Coordinate2D[]): MultiPoint
  • createGeomMultiPolygon(coordinates: Coordinate2D[][][]): MultiPolygon
  • Parameters

    Returns MultiPolygon

  • createGeomPolygonFromCircle(circle: Circle): Polygon
  • Parameters

    • circle: Circle

    Returns Polygon

  • createInteractionDraw(options: Options): Draw
  • Parameters

    • options: Options

    Returns Draw

  • createInteractionExtent(options: Options): Extent
  • Parameters

    • options: Options

    Returns Extent

  • createInteractionModify(options: Options): Modify
  • since

    0.11

    memberof

    IOLFactory

    Parameters

    • options: Options

    Returns Modify

  • createInteractionSelect(options: Options): Select
  • since

    0.11

    memberof

    IOLFactory

    Parameters

    • options: Options

    Returns Select

  • createInteractionSnap(options: Options): Snap
  • Parameters

    • options: Options

    Returns Snap

  • createInteractionTranslate(options: Options): Translate
  • Parameters

    • options: Options

    Returns Translate

  • createOverlay(options: Options): Overlay
  • Parameters

    • options: Options

    Returns Overlay

  • createProjection(options: Options): Projection
  • Parameters

    • options: Options

    Returns Projection

  • createStyle(options?: Options): Style
  • deprecated

    Will be removed in favor of the IVectorFeatureStyle as that better integrates with the external layer manager component

    Parameters

    • Optional options: Options

    Returns Style

  • createStyleCircle(options?: Options): CircleStyle
  • deprecated

    Will be removed in favor of the IVectorFeatureStyle as that better integrates with the external layer manager component

    Parameters

    • Optional options: Options

    Returns CircleStyle

  • createStyleFill(options?: Options): Fill
  • deprecated

    Will be removed in favor of the IVectorFeatureStyle as that better integrates with the external layer manager component

    Parameters

    • Optional options: Options

    Returns Fill

  • createStyleIcon(options?: Options): Icon
  • since

    0.12.6

    deprecated

    Will be removed in favor of the IVectorFeatureStyle as that better integrates with the external layer manager component

    Parameters

    • Optional options: Options

    Returns Icon

  • createStyleRegularShape(options: Options): RegularShape
  • since

    0.12.6

    deprecated

    Will be removed in favor of the IVectorFeatureStyle as that better integrates with the external layer manager component

    Parameters

    • options: Options

    Returns RegularShape

  • createStyleStroke(options?: Options): Stroke
  • deprecated

    Will be removed in favor of the IVectorFeatureStyle as that better integrates with the external layer manager component

    Parameters

    • Optional options: Options

    Returns Stroke

  • createStyleText(options?: Options): Text
  • since

    0.12.6

    deprecated

    Will be removed in favor of the IVectorFeatureStyle as that better integrates with the external layer manager component

    Parameters

    • Optional options: Options

    Returns Text

  • createVectorSource(options?: Options): VectorSource<Geometry>
  • Parameters

    • Optional options: Options

    Returns VectorSource<Geometry>

  • extentContainsXY(extent: Bounds, x: number, y: number): boolean
  • Parameters

    • extent: Bounds
    • x: number
    • y: number

    Returns boolean

  • transformExtent(extent: Bounds, source: ProjectionLike, target: ProjectionLike): Bounds
  • Parameters

    • extent: Bounds
    • source: ProjectionLike
    • target: ProjectionLike

    Returns Bounds

Generated using TypeDoc