<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Printing Graphics - Outline Opacity Lost in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/printing-graphics-outline-opacity-lost/m-p/131102#M12210</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;@john Thanks for the info.&amp;nbsp; It is not just the Javascript API that causes the problem - I generate a custom JSON string from an OpenLayers app to send to the AGS print service and the polygon graphic legend item always displays without an outline, even though the actual map graphics display correctly, so my bet is there is some interpretation error on the server side.&amp;nbsp; The other strange thing is that a point symbol uses "type": "esriSMS" and "style": "esriSMSCircle" for the fill, compared to a polygon feature's '"type": "esriSFS" and "style": "esriSFSSolid", while the outline is actually the same for both "type": "esriSLS","style": "esriSLSSolid".&amp;nbsp; The point is in effect a circle polygon and symbolizes correctly on the legend and map, while the polygon symbol does not.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The Javascript API has some other problems too when it comes to graphics layers as described in this well known forum post: &lt;/SPAN&gt;&lt;A href="http://forums.arcgis.com/threads/61448-Problen-with-the-Print-Task"&gt;http://forums.arcgis.com/threads/61448-Problen-with-the-Print-Task&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 26 Nov 2013 03:54:45 GMT</pubDate>
    <dc:creator>FC_Basson</dc:creator>
    <dc:date>2013-11-26T03:54:45Z</dc:date>
    <item>
      <title>Printing Graphics - Outline Opacity Lost</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/printing-graphics-outline-opacity-lost/m-p/131092#M12200</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am trying to print graphics and noticed that my fill opacity prints fine, but the outline opacity always outputs at 1 (100%).&amp;nbsp; Anyone come across this and have a workaround?&amp;nbsp; Is this a bug already, or can it be added as such?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Jul 2013 15:20:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/printing-graphics-outline-opacity-lost/m-p/131092#M12200</guid>
      <dc:creator>DK5</dc:creator>
      <dc:date>2013-07-12T15:20:11Z</dc:date>
    </item>
    <item>
      <title>Re: Printing Graphics - Outline Opacity Lost</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/printing-graphics-outline-opacity-lost/m-p/131093#M12201</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;i remember this bug, but just confirmed that the problem is not appearing in the request below on our 10.1 SP1 sample server. do you have SP1 installed?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://sampleserver6.arcgisonline.com/arcgis/rest/services/Utilities/PrintingTools/GPServer/Export Web Map Task/execute?Web_Map_as_JSON={&amp;quot;operationalLayers&amp;quot;:[{&amp;quot;title&amp;quot;:&amp;quot;NGS USA Topographic Maps&amp;quot;,&amp;quot;url&amp;quot;:&amp;quot;http://services.arcgisonline.com/ArcGIS/rest/services/NGS_Topo_US_2D/MapServer&amp;quot;,&amp;quot;opacity&amp;quot;:1},{&amp;quot;featureCollection&amp;quot;:{&amp;quot;layers&amp;quot;:[{&amp;quot;layerDefinition&amp;quot;:{&amp;quot;name&amp;quot;:&amp;quot;MyGraphics&amp;quot;,&amp;quot;geometryType&amp;quot;:&amp;quot;esriGeometryPolygon&amp;quot;,&amp;quot;drawingInfo&amp;quot;:{&amp;quot;transparency&amp;quot;:0,&amp;quot;renderer&amp;quot;:{&amp;quot;type&amp;quot;:&amp;quot;simple&amp;quot;,&amp;quot;symbol&amp;quot;:{&amp;quot;type&amp;quot;:&amp;quot;esriSFS&amp;quot;,&amp;quot;style&amp;quot;:&amp;quot;esriSFSSolid&amp;quot;,&amp;quot;color&amp;quot;:[255,0,0,255],&amp;quot;outline&amp;quot;:{&amp;quot;type&amp;quot;:&amp;quot;esriSLS&amp;quot;,&amp;quot;style&amp;quot;:&amp;quot;esriSLSSolid&amp;quot;,&amp;quot;color&amp;quot;:[255,0,0,120],&amp;quot;width&amp;quot;:4}},&amp;quot;label&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;description&amp;quot;:&amp;quot;&amp;quot;}},&amp;quot;fields&amp;quot;:[]},&amp;quot;featureSet&amp;quot;:{&amp;quot;geometryType&amp;quot;:&amp;quot;esriGeometryPolygon&amp;quot;,&amp;quot;spatialReference&amp;quot;:{&amp;quot;wkid&amp;quot;:4326},&amp;quot;features&amp;quot;:[{&amp;quot;geometry&amp;quot;:{&amp;quot;spatialReference&amp;quot;:{&amp;quot;wkid&amp;quot;:4326},&amp;quot;rings&amp;quot;:[[[110.039001464844,-20.30299949646],[132.539001464844,-7.01370000839233],[153.281005859375,-13.9230003356934],[162.772994995117,-35.173999786377],[133.593994140625,-43.1800003051758],[111.796997070313,-36.0320014953613],[110.039001464844,-20.30299949646]]]},&amp;quot;attributes&amp;quot;:{}}]}}]}}],&amp;quot;mapOptions&amp;quot;:{&amp;quot;extent&amp;quot;:{&amp;quot;xmin&amp;quot;:-170.859375,&amp;quot;ymin&amp;quot;:-110.91796875,&amp;quot;xmax&amp;quot;:188.7890625,&amp;quot;ymax&amp;quot;:100.37109375,&amp;quot;spatialReference&amp;quot;:{&amp;quot;wkid&amp;quot;:4326}},&amp;quot;scale&amp;quot;:147914382.172612},&amp;quot;exportOptions&amp;quot;:{&amp;quot;dpi&amp;quot;:96,&amp;quot;outputSize&amp;quot;:[1023,601]}}&amp;amp;Format=&amp;amp;Layout_Template=&amp;amp;env:outSR=&amp;amp;env:processSR=&amp;amp;returnZ=false&amp;amp;returnM=false&amp;amp;f=html" rel="nofollow"&gt;example request&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;(alpha value of 120 for outline ensures that roughly 50% transparency is applied.)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Jul 2013 16:36:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/printing-graphics-outline-opacity-lost/m-p/131093#M12201</guid>
      <dc:creator>JohnGravois</dc:creator>
      <dc:date>2013-07-15T16:36:16Z</dc:date>
    </item>
    <item>
      <title>Re: Printing Graphics - Outline Opacity Lost</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/printing-graphics-outline-opacity-lost/m-p/131094#M12202</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;We are running 10.1 SP1.&amp;nbsp; I thought the alpha (per the samples) ranged from 0 to 1.&amp;nbsp; So I am setting this on a shape as:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;layer.graphics&lt;I&gt;.symbol.outline.color.a = 0.2;&amp;nbsp; //Sample hardcoded value&lt;/I&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;layer.graphics&lt;I&gt;.setSymbol(layer.graphics&lt;I&gt;.symbol); //Forces redraw the graphic&lt;/I&gt;&lt;/I&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Output type is jpg and also tried pdf like your sample, but still not working.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Whereas for fill it is working fine with:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;layer.graphics&lt;I&gt;.symbol.color.a = 0.2;&amp;nbsp; //Sample hardcoded value&lt;/I&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;layer.graphics&lt;I&gt;.setSymbol(layer.graphics&lt;I&gt;.symbol); //Forces redraw the graphic&lt;/I&gt;&lt;/I&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also of note is that the above code setting the outline works fine for a polyline, but the same exact code does not for a polygon.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Jul 2013 19:47:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/printing-graphics-outline-opacity-lost/m-p/131094#M12202</guid>
      <dc:creator>DK5</dc:creator>
      <dc:date>2013-07-16T19:47:32Z</dc:date>
    </item>
    <item>
      <title>Re: Printing Graphics - Outline Opacity Lost</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/printing-graphics-outline-opacity-lost/m-p/131095#M12203</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;alpha value between 0-1 in API is converted in REST request to 0-255.&amp;nbsp; what happens when you submit my request above to your own ArcGIS Server instance?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Jul 2013 19:52:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/printing-graphics-outline-opacity-lost/m-p/131095#M12203</guid>
      <dc:creator>JohnGravois</dc:creator>
      <dc:date>2013-07-16T19:52:45Z</dc:date>
    </item>
    <item>
      <title>Re: Printing Graphics - Outline Opacity Lost</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/printing-graphics-outline-opacity-lost/m-p/131096#M12204</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;That does work when requested from our ArcGIS server instance.&amp;nbsp; Maybe the value is not getting converted correctly from API (version 3.5) to the REST request?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Jul 2013 20:10:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/printing-graphics-outline-opacity-lost/m-p/131096#M12204</guid>
      <dc:creator>DK5</dc:creator>
      <dc:date>2013-07-16T20:10:21Z</dc:date>
    </item>
    <item>
      <title>Re: Printing Graphics - Outline Opacity Lost</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/printing-graphics-outline-opacity-lost/m-p/131097#M12205</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;were you able to compare and contrast the webmap json passed by your application and see whether it is supplying an inappropriate alpha value?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Jul 2013 15:31:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/printing-graphics-outline-opacity-lost/m-p/131097#M12205</guid>
      <dc:creator>JohnGravois</dc:creator>
      <dc:date>2013-07-19T15:31:25Z</dc:date>
    </item>
    <item>
      <title>Re: Printing Graphics - Outline Opacity Lost</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/printing-graphics-outline-opacity-lost/m-p/131098#M12206</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes, the web map JSON always contains 255 for the outline opacity.&amp;nbsp; Here is a sample:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;....&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"symbol":{"color":[255,0,0,115],"outline":{"color":[255,0,0,255],"width":1.5,"type":"esriSLS","style":"esriSLSSolid"},"type":"esriSFS","style":"esriSFSSolid"}}]}}]}}],"exportOptions":{"outputSize":[804,724],"dpi":96}}&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Where as the value of a for the polygon outline is correct (ex. 0.1) when the call to the PrintTask.execute is made.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Jul 2013 16:03:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/printing-graphics-outline-opacity-lost/m-p/131098#M12206</guid>
      <dc:creator>DK5</dc:creator>
      <dc:date>2013-07-19T16:03:27Z</dc:date>
    </item>
    <item>
      <title>Re: Printing Graphics - Outline Opacity Lost</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/printing-graphics-outline-opacity-lost/m-p/131099#M12207</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;it didn't look like this issue has already been logged, so i submitted [NIM093260: Polygon graphic outline transparency/opacity set in application is overridden in print request.] on your behalf.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;not sure how crucial it is, but you can certainly consider using esri.setPreRequestCallback() to try and workaround this issue.&amp;nbsp; check out &lt;/SPAN&gt;&lt;A href="http://forums.arcgis.com/threads/61448-Problen-with-the-Print-Task?highlight=print+textSymbol"&gt;this forum thread&lt;/A&gt;&lt;SPAN&gt; for more info.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;sorry for the inconvenience.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Jul 2013 21:20:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/printing-graphics-outline-opacity-lost/m-p/131099#M12207</guid>
      <dc:creator>JohnGravois</dc:creator>
      <dc:date>2013-07-19T21:20:30Z</dc:date>
    </item>
    <item>
      <title>Re: Printing Graphics - Outline Opacity Lost</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/printing-graphics-outline-opacity-lost/m-p/131100#M12208</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Same problem here - we're also using 10.1 SP1.&amp;nbsp; With 10.2 already released and NIM093260 not in the list of issues addressed, can we expect a fix in the next patch?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Nov 2013 09:43:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/printing-graphics-outline-opacity-lost/m-p/131100#M12208</guid>
      <dc:creator>FC_Basson</dc:creator>
      <dc:date>2013-11-25T09:43:52Z</dc:date>
    </item>
    <item>
      <title>Re: Printing Graphics - Outline Opacity Lost</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/printing-graphics-outline-opacity-lost/m-p/131101#M12209</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;@frederick, i wouldn't expect to see this fix in an ArcGIS Server release or Service Pack because the problem is that the JavaScript API itself fails to send the appropriate request.&amp;nbsp; that being said, I took a look at the status of this issue and you are correct that it has yet to be resolved.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Nov 2013 14:25:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/printing-graphics-outline-opacity-lost/m-p/131101#M12209</guid>
      <dc:creator>JohnGravois</dc:creator>
      <dc:date>2013-11-25T14:25:16Z</dc:date>
    </item>
    <item>
      <title>Re: Printing Graphics - Outline Opacity Lost</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/printing-graphics-outline-opacity-lost/m-p/131102#M12210</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;@john Thanks for the info.&amp;nbsp; It is not just the Javascript API that causes the problem - I generate a custom JSON string from an OpenLayers app to send to the AGS print service and the polygon graphic legend item always displays without an outline, even though the actual map graphics display correctly, so my bet is there is some interpretation error on the server side.&amp;nbsp; The other strange thing is that a point symbol uses "type": "esriSMS" and "style": "esriSMSCircle" for the fill, compared to a polygon feature's '"type": "esriSFS" and "style": "esriSFSSolid", while the outline is actually the same for both "type": "esriSLS","style": "esriSLSSolid".&amp;nbsp; The point is in effect a circle polygon and symbolizes correctly on the legend and map, while the polygon symbol does not.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The Javascript API has some other problems too when it comes to graphics layers as described in this well known forum post: &lt;/SPAN&gt;&lt;A href="http://forums.arcgis.com/threads/61448-Problen-with-the-Print-Task"&gt;http://forums.arcgis.com/threads/61448-Problen-with-the-Print-Task&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Nov 2013 03:54:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/printing-graphics-outline-opacity-lost/m-p/131102#M12210</guid>
      <dc:creator>FC_Basson</dc:creator>
      <dc:date>2013-11-26T03:54:45Z</dc:date>
    </item>
  </channel>
</rss>

