Load a PNG/JPG world file (PGW/JGW) and calculate the bounding box in map coordinates.
URL to the PNG/JPG image.
URL to its paired PGW/JGW (world) file.
Promise resolving to a bounding box object for the image.
const bbox = await getPngBoundingBox('tile.png', 'tile.pgw'); Copy
const bbox = await getPngBoundingBox('tile.png', 'tile.pgw');
Load a PNG/JPG world file (PGW/JGW) and calculate the bounding box in map coordinates.