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

    Function xyzToBBOX

    • Convert a tile x-y-z to a bbox of the form [w, s, e, n] The result can be in lon-lat (WGS84) or WebMercator (900913) The default result is in WebMercator (900913)

      Parameters

      • x: number

        the x tile position

      • y: number

        the y tile position

      • zoom: number

        the zoom level

      • tmsStyle: boolean = true

        if true, the y is inverted

      • source: Sources = '900913'

        the source

      • tileSize: number = 512

        in pixels

      Returns BBox

      • the bounding box in WGS84 or 900913