Options
All
  • Public
  • Public/Protected
  • All
Menu

Class FeatureFactory

Hierarchy

  • FeatureFactory

Index

Properties

Static Private registry

registry: any

Methods

convertFeature

  • convertFeature(featureType: FeatureTypeDetails, geoFeature: Feature): Feature
  • convertFeature(featureType: FeatureTypeDetails, geoFeature: Feature): Feature
  • convertFeature(featureType: FeatureTypeDetails, geoFeature: Feature): Feature
  • Parameters

    Returns Feature

  • Parameters

    • featureType: FeatureTypeDetails
    • geoFeature: Feature

    Returns Feature

  • Parameters

    • featureType: FeatureTypeDetails
    • geoFeature: Feature

    Returns Feature

createFeatures

  • createFeatures(featureTypeId: string, geoFeatures: Feature[]): Feature[]
  • createFeatures(featureTypeId: string, geoFeatures: Feature[]): Feature[]
  • createFeatures(featureTypeId: string, geoFeatures: Feature[]): Feature[]
  • Parameters

    • featureTypeId: string
    • geoFeatures: Feature[]

    Returns Feature[]

  • Parameters

    • featureTypeId: string
    • geoFeatures: Feature[]

    Returns Feature[]

  • Parameters

    • featureTypeId: string
    • geoFeatures: Feature[]

    Returns Feature[]

generateFeatureTypeFromFeatures

  • generateFeatureTypeFromFeatures(featureTypeId: string, features: Feature[], idField?: string): FeatureTypeDetails
  • generateFeatureTypeFromFeatures(featureTypeId: string, features: Feature[], idField?: string): FeatureTypeDetails
  • generateFeatureTypeFromFeatures(featureTypeId: string, features: Feature[], idField?: string): FeatureTypeDetails
  • Parameters

    • featureTypeId: string
    • features: Feature[]
    • Optional idField: string

    Returns FeatureTypeDetails

  • Parameters

    • featureTypeId: string
    • features: Feature[]
    • Optional idField: string

    Returns FeatureTypeDetails

  • Parameters

    • featureTypeId: string
    • features: Feature[]
    • Optional idField: string

    Returns FeatureTypeDetails

getFeatureType

  • getFeatureType(featureTypeId: string): FeatureTypeDetails
  • getFeatureType(featureTypeId: string): FeatureTypeDetails
  • getFeatureType(featureTypeId: string): FeatureTypeDetails
  • Parameters

    • featureTypeId: string

    Returns FeatureTypeDetails

  • Parameters

    • featureTypeId: string

    Returns FeatureTypeDetails

  • Parameters

    • featureTypeId: string

    Returns FeatureTypeDetails

hasFeatureType

  • hasFeatureType(featureTypeId: string): boolean
  • hasFeatureType(featureTypeId: string): boolean
  • hasFeatureType(featureTypeId: string): boolean
  • Parameters

    • featureTypeId: string

    Returns boolean

  • Parameters

    • featureTypeId: string

    Returns boolean

  • Parameters

    • featureTypeId: string

    Returns boolean

registerFeatureType

  • registerFeatureType(featureType: FeatureTypeDetails): void
  • registerFeatureType(featureType: FeatureTypeDetails): void
  • registerFeatureType(featureType: FeatureTypeDetails): void
  • Parameters

    Returns void

  • Parameters

    • featureType: FeatureTypeDetails

    Returns void

  • Parameters

    • featureType: FeatureTypeDetails

    Returns void