geoview-core
    Preparing search index...

    Function validateExtentWhenDefined

    • Validates lat long, LCC, or Web Mercator extent if it is defined.

      Parameters

      • extent: Extent | undefined

        The extent to validate.

      • code: string = 'EPSG:4326'

        The projection code of the extent. Default EPSG:4326.

      Returns Extent | undefined

      The validated extent if it was defined.