OpenDroneMap-WebODM/coreplugins/openaerialmap/load_buttons.js

10 wiersze
327 B
JavaScript
Czysty Zwykły widok Historia

PluginsAPI.Dashboard.addTaskActionButton([
2018-07-30 15:55:46 +00:00
'openaerialmap/build/ShareButton.js'
2018-07-27 18:18:03 +00:00
],function(args, ShareButton){
var task = args.task;
if (task.available_assets.indexOf("orthophoto.tif") !== -1){
2018-07-28 03:35:41 +00:00
return React.createElement(ShareButton, {task: task, token: "${token}"});
}
}
);