POST
|
Good afternoon forum friends! I was hoping someone could help us with a. Our current software version is ArcGIS Server 10.1 and we are using the ESRI JavaScript 3.6 API. We have two major issues 1) printing text symbol graphics when exporting a map and 2) we get an error in printing when we buffer a parcel and trying to print all the highlighting graphics layer to a map. 1) Text Issue: When printing a map with graphic text symbols the graphic is not captured there for it will not display on the printed map. We are not seeing any error issues it just appears that the graphic is not being captured. 2) Buffering issue: We get an error in printing when we buffer a parcel and trying to print all the highlighting graphics layer to a map. Error message: JS ??? Error: "Error executing tool.: Layer "map_graphics": Invalid r value in color: 0. Layer "map_graphics": Invalid r value in color: 0. Layer "map_graphics": Invalid r value in color: 0. Layer "map_graphics": Invalid r value in color: 0. Layer "map_graphics": Invalid r value in color: 0. Layer "map_graphics": Invalid r value in color: 0. Layer "map_graphics": Invalid r value in color: 0. Layer "map_graphics": Invalid r value in color: 0. Failed to execute (Export Web Map). Failed to execute (Export Web Map Task)." Print Task Snippet: //CREATE PRINT TEMPLATE var template = new esri.tasks.PrintTemplate(); template.exportOptions = { width: 530, height: 620, dpi: 96 }; template.format = "jpg"; // pdf | png32 | png8 | jpg | gif | eps | svg | svgz ; template.layout = "MAP_ONLY"; template.preserveScale = true; template.showAttribution = false; //CREATE PRINT PARAMS var params = new esri.tasks.PrintParameters(); params.map = pMap; params.template = template; //EXECUTE PRINT if (printTask) { printTask.execute(params, getMapImageForPDFResult, getMapImageForPDFError); } JS ??? Error: "Error executing tool.: Layer "map_graphics": Invalid r value in color: 0. Layer "map_graphics": Invalid r value in color: 0. Layer "map_graphics": Invalid r value in color: 0. Layer "map_graphics": Invalid r value in color: 0. Layer "map_graphics": Invalid r value in color: 0. Layer "map_graphics": Invalid r value in color: 0. Layer "map_graphics": Invalid r value in color: 0. Layer "map_graphics": Invalid r value in color: 0. Failed to execute (Export Web Map). Failed to execute (Export Web Map Task)." [ATTACH=CONFIG]28882[/ATTACH]
... View more
11-05-2013
11:59 AM
|
0
|
7
|
3296
|
POST
|
Morning list this is Carlos Vulgamott with the City of Lakewood, Colorado. I am new to the ArcGIS JavaScript API and have a few questions regarding using window resizing percentages vs pixel size on popup info windows and adding scrollbars. I am adding popup window info and the only method I can find for resizing is using the pixel value and I want to use a percent but it???s not allowed. I would also like to add scrollbars to this info window but can???t seem to locate that method within the help. So I am hoping someone could show me a work around or point me in the right direction. //RESIZE ALL INFO WINDOWS map.infoWindow.resize(300, 300); var infoWin = new esri.InfoTemplate("${ADDRESS}", GetMarkerInfo(addressID, section)); graphic.setInfoTemplate(infoWin); Thanks for your time in advance and have a good weekend. Carlos Vulgamott, GISP GIS Coordinator City of Lakewood 303-987-7703 carvul@lakewood.org
... View more
08-24-2012
06:09 AM
|
0
|
1
|
444
|
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:23 AM
|