geoview-core
    Preparing search index...

    Function commonGetFieldType

    • Extract the domain of the specified field from the metadata. If the type can not be found, return 'string'.

      Parameters

      • layerConfig:
            | EsriDynamicLayerEntryConfig
            | EsriImageLayerEntryConfig
            | EsriFeatureLayerEntryConfig

        Layer configuration.

      • fieldName: string

        Field name for which we want to get the domain.

      Returns TypeOutfieldsType

      The type of the field.