geoview-core
    Preparing search index...

    Function useLayerDisplayDateFormat

    • React hook that returns the display date format for a specific layer. The hook first attempts to resolve a layer-specific display date format using the provided layer path. If the layer does not define its own display date format (or cannot be found), the application-wide display date format for the current map is returned as a fallback.

      Parameters

      • layerPath: string

        Unique path identifying the layer in the legend state.

      Returns TypeDisplayDateFormat

      • The display date format to use for the layer, falling back to the application's default display date format when none is defined.