MapCaptureResult
Defined in: client/api.d.ts:8687
What a MapCapture.capture rendered, and where; mapCaptured carries it.
Properties
Section titled “Properties”
readonlybytes:number
Defined in: client/api.d.ts:8706
The PNG’s size; 0 when ok is false.
error?
Section titled “error?”
readonlyoptionalerror?:string
Defined in: client/api.d.ts:8696
Why not, when ok is false.
extent
Section titled “extent”
readonlyextent:number
Defined in: client/api.d.ts:8726
The cm the image spans edge to edge, after clamping.
readonlyname:string
Defined in: client/api.d.ts:8701
The PNG’s basename, without the extension.
readonlyok:boolean
Defined in: client/api.d.ts:8691
Whether the PNG was written.
readonlysize:number
Defined in: client/api.d.ts:8736
The image’s edge in pixels, after clamping.
readonlyx:number
Defined in: client/api.d.ts:8711
World X of the image centre, cm.
readonlyy:number
Defined in: client/api.d.ts:8716
World Y of the image centre, cm.
readonlyyaw:number
Defined in: client/api.d.ts:8731
The yaw the image’s top edge faces, folded into [0, 360).
readonlyz:number
Defined in: client/api.d.ts:8721
World Z of the camera, cm.