render() and renderSync() should return "map" property in the results only if source map has been enabled.
Attach a file by drag & drop or click to upload