From e12c1e59acd5fc66ec274395f3c0f88713daf5b4 Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Sun, 28 May 2023 19:16:44 +0100 Subject: Add toArrayBuffer when embedding a style map --- README.md | 1 + 1 file changed, 1 insertion(+) (limited to 'README.md') diff --git a/README.md b/README.md index 4e8486b..b167336 100644 --- a/README.md +++ b/README.md @@ -444,6 +444,7 @@ it will use the embedded style map. * `styleMap`: the style map to embed. * Returns a promise. + Call `toArrayBuffer()` on the value inside the promise to get an `ArrayBuffer` representing the new document. Call `toBuffer()` on the value inside the promise to get a `Buffer` representing the new document. For instance: -- cgit v1.2.3