diff --git a/index.html b/index.html index e87613cf..bb21d417 100644 --- a/index.html +++ b/index.html @@ -120,31 +120,7 @@
Print Proccess -
- - -
-
- - -
-
- - -
-
-
- -
-
- -
-
+
diff --git a/main.js b/main.js index fad96e46..1bfcc794 100644 --- a/main.js +++ b/main.js @@ -131,15 +131,15 @@ $(document).ready(function () { let layerSource = url+"/"+layerId $('#Layer').append('') }) - }) + }) - const print = new Print({ + const print = new Print({ view: view, - // specify your own print service + container: "printService", + label: "adaddawdawdawdaw", printServiceUrl: "https://utility.arcgisonline.com/arcgis/rest/services/Utilities/PrintingTools/GPServer/Export%20Web%20Map%20Task" }); - view.ui.add(print, "bottom-right"); })