POST
|
Robert, The first image is from application and second one is print out put . I am using default print widget . If you look at the both images the map extent will be different , even though if we choose map extent. Will it work like that ? Application View Print View (PDF)
... View more
12-12-2017
02:24 AM
|
0
|
4
|
1016
|
POST
|
Robert, Ok after adding the additional scales (25000, 15000, 10000, 7500, 5000, 2500) it will zoom to closest . But the basemap details will not display am i correct ?. Because I have not created tiles for these scales 25000, 15000, 10000, 7500, 5000, 2500 . Is my understanding correct ?
... View more
12-11-2017
03:46 AM
|
0
|
1
|
798
|
POST
|
Because we need to add custom text in the map , that's the reason we are customizing . Even though in default print widget we are facing same kind of issue.
... View more
12-11-2017
02:24 AM
|
0
|
6
|
1016
|
POST
|
Hi Below is the code I am using it for Print the Map . The code works fine and got the output as PDF file in separate window. But the issue is map extent in the application and map extent in PDF output are not matching exactly. "Image1" is from WAB application and "Image2" is from PDF out put . Kindly refer the attached Image for reference. var url = "https://servername/gis/rest/services/Utilities/PrintingTools/GPServer/Export%20Web%20Map%20Task"; var printTask = new PrintTask(url); var params = new PrintParameters(); var template = new PrintTemplate(); template.format = "PDF"; template.layout = "MAP_ONLY"; template.layoutOptions = {"legendLayers": [legendLayers], "titleText": "Map Print", "authorText": "AAAAAAAA", "copyrightText": "BBBBBBBB", "scalebarUnit": "Kilometers"}; params.map = this.map; params.template = template; printTask.on("error",lang.hitch(this, this._printResultError)); printTask.execute(params, lang.hitch(this, this._printResult)); _printResultError:function(err) { alert(err); }, _printResult:function(res){ window.open(res.url, "_blank") },
... View more
12-08-2017
04:21 AM
|
0
|
8
|
1188
|
POST
|
Robert, My scenario is 1.Created basemap with 4 scales only (1:500000,1:200000,1:100000,1:50000). 2.Through query operation(custom tool or widget) i got the feature set (dynamically) . The feature set will have the extent and that extent is not falling into the base map scale. .For example I may get scale for the featureset 1:2500 or 1:7000 or 1:8000 . 3.In that case Can i zoom to 1:2500 or 1:7000 or 1:8000 ? . Is it possible to view the basemap details in 1:2500 or 1:7000 or 1:8000 . 4. The featureset scale 1:2500 or 1:7000 or 1:8000 is not constant , this will vary depends on the user query.
... View more
12-08-2017
12:09 AM
|
0
|
3
|
798
|
POST
|
Hi, I have base map for entire country. Is it possible to restrict for some users and they can see only particular state in a base map. For example user "A" can see only "Texas" state information , he should not view the other state information . Is that possible in base map .
... View more
12-07-2017
10:33 PM
|
0
|
1
|
503
|
POST
|
Yes web adaptor was installed . Map service is not secured. Thanks for the help robert its working.
... View more
12-07-2017
09:09 PM
|
0
|
0
|
617
|
POST
|
Getting same error in Print Widget also , kindly refer the attached screen shot .
... View more
12-06-2017
03:56 AM
|
0
|
2
|
617
|
POST
|
Hi , Below is the code I am using it for PrintTask var url = "https://servername:6443/arcgis/rest/services/Utilities/PrintingTools/GPServer/Export%20Web%20Map%20Task"; var printTask = new PrintTask(url); var params = new PrintParameters(); var template = new PrintTemplate(); template.format = "PDF"; template.layout = "MAP_ONLY"; template.preserveScale = false; template.layoutOptions = {"legendLayers": [], "titleText": "Map Print", "authorText": "AAAAA", "copyrightText": "BBBBB", "scalebarUnit": "Kilometers"}; params.map = this.map; params.template = template; printTask.execute(params, lang.hitch(this, this._printResult),lang.hitch(this, this._printResultError)); _printResultError:function(err) { debugger; alert(err); }, _printResult:function(res){ debugger; window.open(res.url, "_blank") }, I am getting the following error "Error executing tool. Export Web Map Task : Layer "ServiceName": Unable to connect to map server at https://servername:6443/arcgis/rest/services/ServiceName/MapServer. Failed to execute (Export Web Map). Failed to execute (Export Web Map Task)."
... View more
12-06-2017
03:00 AM
|
0
|
3
|
859
|
POST
|
Hi, I am using custom basemap(contains 4 scales 1:500000,1:200000,1:100000,1:50000) in my javscript application and doing attribute query in operational layer and got the results. The result(featureset) extent is falling 1 : 20000 scale , is it possible to zoom 1:20000 ? . I guess it is not possible , want to know if there are any workaround for this issue .
... View more
12-04-2017
10:40 PM
|
0
|
9
|
948
|
POST
|
Hi Robert, After including the parseFloat the label is working . Thanks for the Help.
... View more
11-16-2017
09:05 PM
|
0
|
0
|
379
|
POST
|
Hi Robert, The above code is working for me if I use esri base map . My scenario is my base map using geographic coordinate system(gcs)4326 . If i use the above code for gcs base map label is not displaying and only points are showing on the map. I have created a map service(gcs) in arcgis server and using that service as a base map in my web app builder application . This is how I am consuming the base map , is that anything wrong in this approach ?
... View more
11-15-2017
11:04 PM
|
0
|
2
|
379
|
Title | Kudos | Posted |
---|---|---|
1 | 11-30-2016 12:41 AM |
Online Status |
Offline
|
Date Last Visited |
3 weeks ago
|