Skip to content

Latest commit

 

History

History
26 lines (22 loc) · 422 Bytes

File metadata and controls

26 lines (22 loc) · 422 Bytes

ToDataUrlOptions interface

let options: ToDataUrlOptions = {
  uncompress: true
};

this.map.toDataURL(options).then((base64: string) => {
  console.log(base64);
});

Interface members

Params Type Details
uncompress boolean Sets true if you want to prevent resizing to the screen resolution.