<?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: Line Rendering Problem (Feature Layer vs Dynamic Layer) in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/line-rendering-problem-feature-layer-vs-dynamic/m-p/557582#M52004</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Did some digging, and found my answer- &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you define your lines as cartographic lines in ArcMap, and proceed to call them in a feature layer on your client side javascript, the cartographic lines get "downgraded" to simple lines.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;...Anyone out there find a workaround? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here's the passage and article: &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;&lt;BR /&gt;For line layers, simple line symbols are supported. If other symbols are used, the feature service downgrades them to simple line symbols. For example, a cartographic line symbol in the map document may be drawn as a simple solid line in a feature service client. Also, if a line symbol has multiple layers, the feature service considers only the top layer.&lt;BR /&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Quote from article: &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/arcgisserver/10.0/help/arcgis_server_dotnet_help/index.html#//009300000021000000"&gt;http://help.arcgis.com/en/arcgisserver/10.0/help/arcgis_server_dotnet_help/index.html#//009300000021000000&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 26 Aug 2012 16:03:39 GMT</pubDate>
    <dc:creator>AR</dc:creator>
    <dc:date>2012-08-26T16:03:39Z</dc:date>
    <item>
      <title>Line Rendering Problem (Feature Layer vs Dynamic Layer)</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/line-rendering-problem-feature-layer-vs-dynamic/m-p/557581#M52003</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi, &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm going crazy here. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When I add a map as a FeatureLayer, the lines are rendered on top of each other (incorrect), however when added as a DynamicLayer, it's displayed just how it's displayed in ArcMap (correct).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here's my simple simple code: &lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
var myURL = "http://..." 

var fl = new esri.layers.FeatureLayer(myURL+ /layerIndex)
var dl = new esri.layers.ArcGISDynamicMapServiceLayer(myURL)

map.addLayer(fl) 
map.addLayer(dl)
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please look at my attachments to get a better idea. You can ignore the red lines on dynamicLayer.png. What's important are the black lines.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks, &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Aaron&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 00:04:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/line-rendering-problem-feature-layer-vs-dynamic/m-p/557581#M52003</guid>
      <dc:creator>AR</dc:creator>
      <dc:date>2021-12-12T00:04:22Z</dc:date>
    </item>
    <item>
      <title>Re: Line Rendering Problem (Feature Layer vs Dynamic Layer)</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/line-rendering-problem-feature-layer-vs-dynamic/m-p/557582#M52004</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Did some digging, and found my answer- &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you define your lines as cartographic lines in ArcMap, and proceed to call them in a feature layer on your client side javascript, the cartographic lines get "downgraded" to simple lines.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;...Anyone out there find a workaround? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here's the passage and article: &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;&lt;BR /&gt;For line layers, simple line symbols are supported. If other symbols are used, the feature service downgrades them to simple line symbols. For example, a cartographic line symbol in the map document may be drawn as a simple solid line in a feature service client. Also, if a line symbol has multiple layers, the feature service considers only the top layer.&lt;BR /&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Quote from article: &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/arcgisserver/10.0/help/arcgis_server_dotnet_help/index.html#//009300000021000000"&gt;http://help.arcgis.com/en/arcgisserver/10.0/help/arcgis_server_dotnet_help/index.html#//009300000021000000&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 26 Aug 2012 16:03:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/line-rendering-problem-feature-layer-vs-dynamic/m-p/557582#M52004</guid>
      <dc:creator>AR</dc:creator>
      <dc:date>2012-08-26T16:03:39Z</dc:date>
    </item>
  </channel>
</rss>

