|
|
|
@ -131,15 +131,15 @@ $(document).ready(function () { |
|
|
|
let layerSource = url+"/"+layerId |
|
|
|
let layerSource = url+"/"+layerId |
|
|
|
$('#Layer').append('<option value="'+layerSource+'">'+layer.title+'</option>') |
|
|
|
$('#Layer').append('<option value="'+layerSource+'">'+layer.title+'</option>') |
|
|
|
}) |
|
|
|
}) |
|
|
|
}) |
|
|
|
}) |
|
|
|
|
|
|
|
|
|
|
|
const print = new Print({ |
|
|
|
const print = new Print({ |
|
|
|
view: view, |
|
|
|
view: view, |
|
|
|
// specify your own print service
|
|
|
|
container: "printService", |
|
|
|
|
|
|
|
label: "adaddawdawdawdaw", |
|
|
|
printServiceUrl: |
|
|
|
printServiceUrl: |
|
|
|
"https://utility.arcgisonline.com/arcgis/rest/services/Utilities/PrintingTools/GPServer/Export%20Web%20Map%20Task" |
|
|
|
"https://utility.arcgisonline.com/arcgis/rest/services/Utilities/PrintingTools/GPServer/Export%20Web%20Map%20Task" |
|
|
|
}); |
|
|
|
}); |
|
|
|
view.ui.add(print, "bottom-right"); |
|
|
|
|
|
|
|
}) |
|
|
|
}) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|