Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ICimissStationFeatureProviderOptions

CIMISS站点数据访问器可选参数

Hierarchy

Index

Properties

idField?: string

id字段名,默认是Station_Id_C

latField?: string

纬度字段名,默认是Lat

lonField?: string

经度字段名,默认是Lon

prefix?: string

给结果字段添加前缀

stationInfoMap?: {}

站点信息的映射对象,当数据接口中的返回对象仅包含数据本身信息和id的时候,可以提供一个外部对象,使用相同的id作为对象的key,以便获取站点的经纬度等相关信息

Type declaration

  • [key: string]: any
suffix?: string

给结果字段添加后缀

Methods

  • mergeFunc(fieldName: string, preVal: any, currentVal: any): any
  • 对于相同ID的对象,进行合并的函数。 如果出现了相同ID对象,且没有提供合并函数,则后出现的对象覆盖先出现的

    Parameters

    • fieldName: string
    • preVal: any
    • currentVal: any

    Returns any

Generated using TypeDoc