I have tried in 2 days to find a way to get a screen capture of a map (plugin MAPBOX) via the plugin Nativescript Screenshot. I am not able to figure out what to put between the parenthesis:
this.img.imageSource = plugin.getImage(??????);
this.folder = fs.knownFolders.documents();
this.path = fs.path.join(this.folder.path, "xxx.png");
this.saved = this.img.imageSource.saveToFile(this.path, "png");
Any suggestions or another way to do this?