Options
All
  • Public
  • Public/Protected
  • All
Menu

Module utilities/base.utilities

Index

Functions

createCollection

  • createCollection<T>(arr: T[], options?: ICollectionOptions): Collection<T>
  • 创建集合

    Type parameters

    • T

    Parameters

    • arr: T[]

      数组

    • options: ICollectionOptions = {}

      配置项

    Returns Collection<T>

    集合

createFeature

  • createFeature(options?: { geometry?: Geometry; style?: Style }): Feature
  • 创建要素

    Parameters

    • options: { geometry?: Geometry; style?: Style } = {}

      配置项

      • Optional geometry?: Geometry
      • Optional style?: Style

    Returns Feature

Generated using TypeDoc