Take a screenshot of the map and save it to API. Return the url of the screenshot.
If you want to get base64 without save image on Find & Order server, you can use screenshot event instead of call this sdk function.
Parameters
| Name | Type | Description |
|---|---|---|
| callback | Function | Function invoke with the url of the screenshot |
Example
FnoMapManager.takeScreenshot((url) => { console.log("screenshot url" , url);});