<?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: SVG stroke-dasharray value of the SimpleLine Symbol in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/svg-stroke-dasharray-value-of-the-simpleline/m-p/423041#M38917</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Priya,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;I don't know what the exact stroke-dasharray is, but can you not just set a graphic in your map with that symbol and use developer tools to inspect the svg?&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 28 Oct 2016 18:24:59 GMT</pubDate>
    <dc:creator>RobertScheitlin__GISP</dc:creator>
    <dc:date>2016-10-28T18:24:59Z</dc:date>
    <item>
      <title>SVG stroke-dasharray value of the SimpleLine Symbol</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/svg-stroke-dasharray-value-of-the-simpleline/m-p/423040#M38916</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I need to display the style vlaues of the SimpleLine symbol in a combobox as svg graphics,&lt;/P&gt;&lt;P&gt;so that there's a visual cue for the different styles. Where can I &amp;nbsp;get the corresponding stroke-dasharray values for the line styles like "DOT, LONGDASH" etc. Please advice.&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&amp;lt;SVG width="100" height="50"&amp;gt;&lt;BR /&gt; &amp;lt;path d={obj.d} stroke={obj.stroke} stroke-width={obj.width} stroke-opacity="1" stroke-dasharray="1,60" /&amp;gt;&lt;BR /&gt; &amp;lt;/SVG&amp;gt;&lt;BR /&gt;&lt;BR /&gt; &amp;lt;SVG width="100" height="50"&amp;gt;&lt;BR /&gt; &amp;lt;path d={obj1.d} stroke={obj1.stroke} stroke-width={obj1.width} stroke-opacity="1" stroke-dasharray="10.66,4,1.33,4" /&amp;gt;&lt;BR /&gt; &amp;lt;/SVG&amp;gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Oct 2016 18:19:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/svg-stroke-dasharray-value-of-the-simpleline/m-p/423040#M38916</guid>
      <dc:creator>PriyaRam</dc:creator>
      <dc:date>2016-10-28T18:19:57Z</dc:date>
    </item>
    <item>
      <title>Re: SVG stroke-dasharray value of the SimpleLine Symbol</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/svg-stroke-dasharray-value-of-the-simpleline/m-p/423041#M38917</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Priya,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;I don't know what the exact stroke-dasharray is, but can you not just set a graphic in your map with that symbol and use developer tools to inspect the svg?&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Oct 2016 18:24:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/svg-stroke-dasharray-value-of-the-simpleline/m-p/423041#M38917</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2016-10-28T18:24:59Z</dc:date>
    </item>
    <item>
      <title>Re: SVG stroke-dasharray value of the SimpleLine Symbol</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/svg-stroke-dasharray-value-of-the-simpleline/m-p/423042#M38918</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes Robert, I can reverse engineer the stroke-dasharray value using the dev tools.(its a long list though) Just wanted to ask in the forum, to see, if there's a class/property I can tap into , to obtain the same. (Symbology.getSVGProperties())&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Oct 2016 19:07:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/svg-stroke-dasharray-value-of-the-simpleline/m-p/423042#M38918</guid>
      <dc:creator>PriyaRam</dc:creator>
      <dc:date>2016-10-28T19:07:57Z</dc:date>
    </item>
    <item>
      <title>Re: SVG stroke-dasharray value of the SimpleLine Symbol</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/svg-stroke-dasharray-value-of-the-simpleline/m-p/423043#M38919</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Priya,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;Nope nothing like that exists.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Oct 2016 19:34:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/svg-stroke-dasharray-value-of-the-simpleline/m-p/423043#M38919</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2016-10-28T19:34:17Z</dc:date>
    </item>
    <item>
      <title>Re: SVG stroke-dasharray value of the SimpleLine Symbol</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/svg-stroke-dasharray-value-of-the-simpleline/m-p/423044#M38920</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If the goal is to provide a visual cue to the user based on symbols then you might want to check out the&amp;nbsp;getShapeDescriptors(...) method. &amp;nbsp;It provides the internal details about the GFX representation of the symbol. Note: GFX provides a browser independent abstraction of the symbol. &amp;nbsp;Using the sample code provided in the api you can display the symbols in a dom node.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://developers.arcgis.com/javascript/3/jsapi/esri.symbols.jsonutils-amd.html#getshapedescriptors" title="https://developers.arcgis.com/javascript/3/jsapi/esri.symbols.jsonutils-amd.html#getshapedescriptors"&gt;esri/symbols/jsonUtils | API Reference | ArcGIS API for JavaScript 3.18&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Oct 2016 16:24:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/svg-stroke-dasharray-value-of-the-simpleline/m-p/423044#M38920</guid>
      <dc:creator>JohnGrayson</dc:creator>
      <dc:date>2016-10-31T16:24:44Z</dc:date>
    </item>
    <item>
      <title>Re: SVG stroke-dasharray value of the SimpleLine Symbol</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/svg-stroke-dasharray-value-of-the-simpleline/m-p/423045#M38921</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks John. Let me try this .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Nov 2016 15:58:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/svg-stroke-dasharray-value-of-the-simpleline/m-p/423045#M38921</guid>
      <dc:creator>PriyaRam</dc:creator>
      <dc:date>2016-11-02T15:58:37Z</dc:date>
    </item>
  </channel>
</rss>

