kopia lustrzana https://github.com/OpenDroneMap/WebODM
10 wiersze
327 B
JavaScript
10 wiersze
327 B
JavaScript
|
PluginsAPI.Dashboard.addTaskActionButton([
|
||
|
'openaerialmap/build/ShareButton.js'
|
||
|
],function(args, ShareButton){
|
||
|
var task = args.task;
|
||
|
|
||
|
if (task.available_assets.indexOf("orthophoto.tif") !== -1){
|
||
|
return React.createElement(ShareButton, {task: task, token: "${token}"});
|
||
|
}
|
||
|
}
|
||
|
);
|