3D-City Model
    Preparing search index...
    • Load a PNG/JPG world file (PGW/JGW) and calculate the bounding box in map coordinates.

      Parameters

      • pngUrl: string

        URL to the PNG/JPG image.

      • pgwUrl: string

        URL to its paired PGW/JGW (world) file.

      Returns Promise<BoundingBox>

      Promise resolving to a bounding box object for the image.

      const bbox = await getPngBoundingBox('tile.png', 'tile.pgw');