preserveDrawingBuffer property
bool
get
preserveDrawingBuffer
If true
, the map's canvas can be exported to a PNG using map.getCanvas().toDataURL()
. This is false
by default as a performance optimization.
Implementation
bool get preserveDrawingBuffer => jsObject.preserveDrawingBuffer;