<?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 Line symbol with Pattern in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/line-symbol-with-pattern/m-p/632304#M59022</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Anyone got idea to draw a line with pattern supplied in SVG.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&amp;lt;?xml version="1.0" encoding="utf-8"?&amp;gt;
&amp;lt;svg x="0px" y="0px" width="133.673px" height="44.898px" viewBox="0 0 133.673 44.898" enable-background="new 0 0 133.673 44.898" xml:space="preserve"&amp;gt;
&amp;lt;rect x="0.019" y="2.573" fill="none" width="44.539" height="38.731"/&amp;gt;
&amp;lt;polygon fill="#ED1C24" points="44.541,20.992 42.674,20.992 27.186,17.478 29.11,20.992 0,20.992 0,22.883 29.11,22.883 27.206,26.56 42.606,22.883 44.541,22.883 "/&amp;gt;
&amp;lt;rect x="44.577" y="2.573" fill="none" width="44.539" height="38.731"/&amp;gt;
&amp;lt;polygon fill="#ED1C24" points="89.098,20.992 87.232,20.992 71.743,17.478 73.667,20.992 44.558,20.992 44.558,22.883 73.667,22.883 71.763,26.56 87.164,22.883 89.098,22.883"/&amp;gt;
&amp;lt;rect x="89.134" y="2.573" fill="none" width="44.539" height="38.731"/&amp;gt;
&amp;lt;polygon fill="#ED1C24" points="133.656,20.992 131.789,20.992 116.301,17.478 118.225,20.992 89.115,20.992 89.115,22.883 118.225,22.883 116.32,26.56 131.722,22.883 133.656,22.883"/&amp;gt;
&amp;lt;/svg&amp;gt;&lt;/PRE&gt;&lt;P&gt;The output of the SVG is &lt;IMG __jive_id="109686" alt="Arrow.png" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/109686_Arrow.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;(This is a simple pattern, I got more complex patterns in SVG so native LineSymbol cant solve this. I have to use pattern info from SVG. I have seen &lt;A href="http://developers.arcgis.com/javascript/samples/toolbar_draw/" rel="nofollow noopener noreferrer" target="_blank"&gt;http://developers.arcgis.com/javascript/samples/toolbar_draw/&lt;/A&gt; sample.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any chance in Polygon and Polyline Symbols?&lt;/P&gt;&lt;P&gt;Probably I need to override Symbols.&lt;/P&gt;&lt;P&gt;I have seen &lt;A href="https://developers.arcgis.com/javascript/jssamples/layers_point_clustering.html" rel="nofollow noopener noreferrer" target="_blank"&gt;https://developers.arcgis.com/javascript/jssamples/layers_point_clustering.html&lt;/A&gt; example but it uses SimpleMarkerSymbol with Point geometry I want to use&amp;nbsp; Polygon and Polyline Symbols in it.&lt;/P&gt;&lt;P&gt;Any idea?&lt;/P&gt;&lt;P&gt;Any help or guidance would be highly appreciated.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 12 Dec 2021 02:54:28 GMT</pubDate>
    <dc:creator>omega_cancer</dc:creator>
    <dc:date>2021-12-12T02:54:28Z</dc:date>
    <item>
      <title>Line symbol with Pattern</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/line-symbol-with-pattern/m-p/632304#M59022</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Anyone got idea to draw a line with pattern supplied in SVG.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&amp;lt;?xml version="1.0" encoding="utf-8"?&amp;gt;
&amp;lt;svg x="0px" y="0px" width="133.673px" height="44.898px" viewBox="0 0 133.673 44.898" enable-background="new 0 0 133.673 44.898" xml:space="preserve"&amp;gt;
&amp;lt;rect x="0.019" y="2.573" fill="none" width="44.539" height="38.731"/&amp;gt;
&amp;lt;polygon fill="#ED1C24" points="44.541,20.992 42.674,20.992 27.186,17.478 29.11,20.992 0,20.992 0,22.883 29.11,22.883 27.206,26.56 42.606,22.883 44.541,22.883 "/&amp;gt;
&amp;lt;rect x="44.577" y="2.573" fill="none" width="44.539" height="38.731"/&amp;gt;
&amp;lt;polygon fill="#ED1C24" points="89.098,20.992 87.232,20.992 71.743,17.478 73.667,20.992 44.558,20.992 44.558,22.883 73.667,22.883 71.763,26.56 87.164,22.883 89.098,22.883"/&amp;gt;
&amp;lt;rect x="89.134" y="2.573" fill="none" width="44.539" height="38.731"/&amp;gt;
&amp;lt;polygon fill="#ED1C24" points="133.656,20.992 131.789,20.992 116.301,17.478 118.225,20.992 89.115,20.992 89.115,22.883 118.225,22.883 116.32,26.56 131.722,22.883 133.656,22.883"/&amp;gt;
&amp;lt;/svg&amp;gt;&lt;/PRE&gt;&lt;P&gt;The output of the SVG is &lt;IMG __jive_id="109686" alt="Arrow.png" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/109686_Arrow.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;(This is a simple pattern, I got more complex patterns in SVG so native LineSymbol cant solve this. I have to use pattern info from SVG. I have seen &lt;A href="http://developers.arcgis.com/javascript/samples/toolbar_draw/" rel="nofollow noopener noreferrer" target="_blank"&gt;http://developers.arcgis.com/javascript/samples/toolbar_draw/&lt;/A&gt; sample.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any chance in Polygon and Polyline Symbols?&lt;/P&gt;&lt;P&gt;Probably I need to override Symbols.&lt;/P&gt;&lt;P&gt;I have seen &lt;A href="https://developers.arcgis.com/javascript/jssamples/layers_point_clustering.html" rel="nofollow noopener noreferrer" target="_blank"&gt;https://developers.arcgis.com/javascript/jssamples/layers_point_clustering.html&lt;/A&gt; example but it uses SimpleMarkerSymbol with Point geometry I want to use&amp;nbsp; Polygon and Polyline Symbols in it.&lt;/P&gt;&lt;P&gt;Any idea?&lt;/P&gt;&lt;P&gt;Any help or guidance would be highly appreciated.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 02:54:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/line-symbol-with-pattern/m-p/632304#M59022</guid>
      <dc:creator>omega_cancer</dc:creator>
      <dc:date>2021-12-12T02:54:28Z</dc:date>
    </item>
  </channel>
</rss>

