Function _cacheFieldInfoPrivate

  • Private

    Helper function to cache a single property into the fieldInfos object This property will be removed from the layer instance.

    Parameters

    • layer: any

      the data layer being cloned

    • prop: string

      the property name used to cache

    • fieldInfos: any

      the object that will store the cached property

    • removeProp: boolean

    Returns void