geoview-core
    Preparing search index...

    Function validateExtent

    • Checks validity of lat long, LCC, or Web Mercator extent and updates values if invalid.

      Parameters

      • extent: Extent

        The extent to validate.

      • code: string = 'EPSG:4326'

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

      Returns Extent

      The validated extent