Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IOLFactory

Creates various OpenLayers types used by the viewer

export
interface

IOLFactory

Hierarchy

  • IOLFactory

Implemented by

Index

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

    Returns olCircle

createGeomCollection

  • createGeomCollection(geometries: olGeometry[]): olGeometryCollection
  • Parameters

    • geometries: olGeometry[]

    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

createGeomPolygon

  • createGeomPolygon(coordinates: Coordinate2D[][]): olPolygon
  • Parameters

    Returns olPolygon

createGeomPolygonFromCircle

  • createGeomPolygonFromCircle(circle: olCircle): olPolygon
  • Parameters

    • circle: olCircle

    Returns olPolygon

createInteractionDraw

  • createInteractionDraw(options: DrawOptions): olInteractionDraw
  • Parameters

    • options: DrawOptions

    Returns olInteractionDraw

createInteractionExtent

  • createInteractionExtent(options: ExtentOptions): olInteractionExtent
  • Parameters

    • options: ExtentOptions

    Returns olInteractionExtent

createInteractionModify

  • createInteractionModify(options: ModifyOptions): olInteractionModify
  • since

    0.11

    memberof

    IOLFactory

    Parameters

    • options: ModifyOptions

    Returns olInteractionModify

createInteractionSelect

  • createInteractionSelect(options: SelectOptions): olInteractionSelect
  • since

    0.11

    memberof

    IOLFactory

    Parameters

    • options: SelectOptions

    Returns olInteractionSelect

createInteractionSnap

  • createInteractionSnap(options: SnapOptions): olInteractionSnap
  • Parameters

    • options: SnapOptions

    Returns olInteractionSnap

createInteractionTranslate

  • createInteractionTranslate(options: TranslateOptions): olInteractionTranslate
  • Parameters

    • options: TranslateOptions

    Returns olInteractionTranslate

createOverlay

  • createOverlay(options: OverlayOptions): olOverlay
  • Parameters

    • options: OverlayOptions

    Returns olOverlay

createProjection

  • createProjection(options: ProjectionOptions): olProjection
  • Parameters

    • options: ProjectionOptions

    Returns olProjection

createStyle

  • createStyle(options?: StyleOptions): olStyle
  • deprecated

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

    Parameters

    • Optional options: StyleOptions

    Returns olStyle

createStyleCircle

  • createStyleCircle(options?: CircleOptions): olStyleCircle
  • deprecated

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

    Parameters

    • Optional options: CircleOptions

    Returns olStyleCircle

createStyleFill

  • createStyleFill(options?: FillOptions): olStyleFill
  • deprecated

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

    Parameters

    • Optional options: FillOptions

    Returns olStyleFill

createStyleIcon

  • createStyleIcon(options?: IconOptions): olStyleIcon
  • 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: IconOptions

    Returns olStyleIcon

createStyleRegularShape

  • createStyleRegularShape(options: RegularShapeOptions): olStyleRegularShape
  • 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: RegularShapeOptions

    Returns olStyleRegularShape

createStyleStroke

  • createStyleStroke(options?: StrokeOptions): olStyleStroke
  • deprecated

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

    Parameters

    • Optional options: StrokeOptions

    Returns olStyleStroke

createStyleText

  • createStyleText(options?: TextOptions): olStyleText
  • 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: TextOptions

    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

extendExtent

extentContainsXY

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

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

    Returns boolean

transformCoordinate

transformCoordinateFromLonLat

transformExtent

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

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

    Returns Bounds

Generated using TypeDoc