<?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: PrintTask line not visible (map.graphics layer) in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/printtask-line-not-visible-map-graphics-layer/m-p/608915#M56975</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I was doing this at home and just for kicks tried the base symbol and it worked. So Derek your answer is correct and deserves a tick.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you both.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;p.s. i still don't understand why though&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 21 Aug 2012 04:37:53 GMT</pubDate>
    <dc:creator>MatejSkerjanc</dc:creator>
    <dc:date>2012-08-21T04:37:53Z</dc:date>
    <item>
      <title>PrintTask line not visible (map.graphics layer)</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/printtask-line-not-visible-map-graphics-layer/m-p/608912#M56972</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm using printtask to make a print of the map. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I add some graphics to map.graphics layer. In case of point or polygon the print task will actually print the result but if its a polyline the result will be only seen on map itself (as per result of map.graphics.add) but not on the printed image/pdf.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I dont think the symbol is wrong since i use same marker for line and polygon...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;pointStyle : new esri.symbol.SimpleMarkerSymbol(esri.symbol.SimpleMarkerSymbol.STYLE_SQUARE, 20, null, new dojo.Color([255,255,0,0.5]));&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;linepolyStyle : new esri.symbol.SimpleFillSymbol(esri.symbol.SimpleFillSymbol.STYLE_SOLID, new esri.symbol.SimpleLineSymbol("dashdot", new dojo.Color([255,0,0]), 5), new dojo.Color([255,255,0,0.25]));&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;pseudo code&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;if point{&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;add graphic to map.graphics&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;else //so if polyline or polygon&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;add graphic to map.graphics&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hopefully someone already met and solved this issue:)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Aug 2012 09:20:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/printtask-line-not-visible-map-graphics-layer/m-p/608912#M56972</guid>
      <dc:creator>MatejSkerjanc</dc:creator>
      <dc:date>2012-08-20T09:20:30Z</dc:date>
    </item>
    <item>
      <title>Re: PrintTask line not visible (map.graphics layer)</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/printtask-line-not-visible-map-graphics-layer/m-p/608913#M56973</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Can you post the JSON sent from your app to the server? You can pull that out of the request using a tool like Fiddler.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Aug 2012 13:51:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/printtask-line-not-visible-map-graphics-layer/m-p/608913#M56973</guid>
      <dc:creator>PeterYurkosky1</dc:creator>
      <dc:date>2012-08-20T13:51:13Z</dc:date>
    </item>
    <item>
      <title>Re: PrintTask line not visible (map.graphics layer)</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/printtask-line-not-visible-map-graphics-layer/m-p/608914#M56974</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;&lt;BR /&gt;I dont think the symbol is wrong since i use same marker for line and polygon...&lt;BR /&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Use a &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://help.arcgis.com/en/webapi/javascript/arcgis/help/jsapi/simplelinesymbol.htm" rel="nofollow" target="_blank"&gt;SimpleLineSymbol&lt;/A&gt;&lt;SPAN&gt; instead of a SimpleFillSymbol for your line graphic(s).&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Aug 2012 14:53:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/printtask-line-not-visible-map-graphics-layer/m-p/608914#M56974</guid>
      <dc:creator>derekswingley1</dc:creator>
      <dc:date>2012-08-20T14:53:13Z</dc:date>
    </item>
    <item>
      <title>Re: PrintTask line not visible (map.graphics layer)</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/printtask-line-not-visible-map-graphics-layer/m-p/608915#M56975</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I was doing this at home and just for kicks tried the base symbol and it worked. So Derek your answer is correct and deserves a tick.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you both.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;p.s. i still don't understand why though&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Aug 2012 04:37:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/printtask-line-not-visible-map-graphics-layer/m-p/608915#M56975</guid>
      <dc:creator>MatejSkerjanc</dc:creator>
      <dc:date>2012-08-21T04:37:53Z</dc:date>
    </item>
    <item>
      <title>Re: PrintTask line not visible (map.graphics layer)</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/printtask-line-not-visible-map-graphics-layer/m-p/608916#M56976</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Glad you got it figured out.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The reason you need to do this is that you have to use different symbol types for different geometry types. Points require a marker symbol, lines require a line symbol and polygons require a fill symbol.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Aug 2012 04:58:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/printtask-line-not-visible-map-graphics-layer/m-p/608916#M56976</guid>
      <dc:creator>derekswingley1</dc:creator>
      <dc:date>2012-08-21T04:58:01Z</dc:date>
    </item>
  </channel>
</rss>

