gis-tools-ts - v0.6.0
    Preparing search index...

    Function convertBBox

    • Convert a bbox of the form [w, s, e, n] to a bbox of the form [w, s, e, n] The result can be in lon-lat (WGS84) or WebMercator (900913) If the input is in WebMercator (900913), the outSource should be set to 'WGS84'

      Parameters

      • bbox: BBox

        the bounding box to convert

      • outSource: Sources

        the output source

      Returns BBox

      • the converted bbox