<?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: customize symbol in arcgis javascript for rendering in ArcGIS Web AppBuilder Questions</title>
    <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/customize-symbol-in-arcgis-javascript-for/m-p/591950#M15744</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Currently no. The only option you have is to add the layer a second time to the map and user a TextSymbol as the symbol for the second layer.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 28 Mar 2019 14:35:34 GMT</pubDate>
    <dc:creator>RobertScheitlin__GISP</dc:creator>
    <dc:date>2019-03-28T14:35:34Z</dc:date>
    <item>
      <title>customize symbol in arcgis javascript for rendering</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/customize-symbol-in-arcgis-javascript-for/m-p/591949#M15743</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I used below code to draw a red color circle&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-family: Consolas; font-size: small;"&gt;var&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; font-size: small;"&gt; PendingSymbol = &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-family: Consolas; font-size: small;"&gt;new&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; font-size: small;"&gt; esri.symbol.SimpleMarkerSymbol(esri.symbol.SimpleMarkerSymbol.STYLE_CIRCLE, 15, &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-family: Consolas; font-size: small;"&gt;new&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; font-size: small;"&gt; esri.symbol.SimpleLineSymbol(), &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-family: Consolas; font-size: small;"&gt;new&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; font-size: small;"&gt; dojo.Color([255, 0, 0, 1]));&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small; font-family: Consolas; "&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: small; font-family: Consolas; "&gt;var&lt;/SPAN&gt;&lt;SPAN style="font-size: small; font-family: Consolas; "&gt; BRenderer = &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: small; font-family: Consolas; "&gt;new&lt;/SPAN&gt;&lt;SPAN style="font-size: small; font-family: Consolas; "&gt; SimpleRenderer(PendingSymbol);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;fservice.setRenderer(BRenderer);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was looking is it possible to keep a letter inside the circle&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Mar 2019 14:31:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/customize-symbol-in-arcgis-javascript-for/m-p/591949#M15743</guid>
      <dc:creator>Pa_Lotus</dc:creator>
      <dc:date>2019-03-28T14:31:28Z</dc:date>
    </item>
    <item>
      <title>Re: customize symbol in arcgis javascript for rendering</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/customize-symbol-in-arcgis-javascript-for/m-p/591950#M15744</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Currently no. The only option you have is to add the layer a second time to the map and user a TextSymbol as the symbol for the second layer.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Mar 2019 14:35:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/customize-symbol-in-arcgis-javascript-for/m-p/591950#M15744</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2019-03-28T14:35:34Z</dc:date>
    </item>
    <item>
      <title>Re: customize symbol in arcgis javascript for rendering</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/customize-symbol-in-arcgis-javascript-for/m-p/591951#M15745</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-family: Consolas; font-size: small;"&gt;I did it in this way&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-family: Consolas; font-size: small;"&gt;function&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; font-size: small;"&gt; generateSVGURL(number) {&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small; font-family: Consolas; "&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: small; font-family: Consolas; "&gt;let&lt;/SPAN&gt;&lt;SPAN style="font-size: small; font-family: Consolas; "&gt; prefix = &lt;/SPAN&gt;&lt;SPAN style="color: #a31515; font-size: small; font-family: Consolas; "&gt;'data:image/svg+xml;base64,'&lt;/SPAN&gt;&lt;SPAN style="font-size: small; font-family: Consolas; "&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small; font-family: Consolas; "&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: small; font-family: Consolas; "&gt;let&lt;/SPAN&gt;&lt;SPAN style="font-size: small; font-family: Consolas; "&gt; svgStr = &lt;/SPAN&gt;&lt;SPAN style="color: #a31515; font-size: small; font-family: Consolas; "&gt;'&amp;lt;svg xmlns="http://www.w3.org/2000/svg"&amp;gt;&amp;lt;circle cx="8" cy="8" r="8" fill="#000000"/&amp;gt;'&lt;/SPAN&gt;&lt;SPAN style="font-size: small; font-family: Consolas; "&gt; +&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small; font-family: Consolas; "&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #a31515; font-size: small; font-family: Consolas; "&gt;'&amp;lt;text x="4" y="8" font-family="Verdana" font-size="8pt" fill="#FFFFFF" dy="0.35em"&amp;gt;'&lt;/SPAN&gt;&lt;SPAN style="font-size: small; font-family: Consolas; "&gt; + number + &lt;/SPAN&gt;&lt;SPAN style="color: #a31515; font-size: small; font-family: Consolas; "&gt;'&amp;lt;/text&amp;gt;&amp;lt;/svg&amp;gt;'&lt;/SPAN&gt;&lt;SPAN style="font-size: small; font-family: Consolas; "&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small; font-family: Consolas; "&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: small; font-family: Consolas; "&gt;return&lt;/SPAN&gt;&lt;SPAN style="font-size: small; font-family: Consolas; "&gt; prefix + btoa(svgStr);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-family: Consolas; font-size: small;"&gt;var&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; font-size: small;"&gt; symbol = &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-family: Consolas; font-size: small;"&gt;new&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; font-size: small;"&gt; PictureMarkerSymbol({&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small; font-family: Consolas; "&gt; url: generateSVGURL(&lt;/SPAN&gt;&lt;SPAN style="color: #a31515; font-size: small; font-family: Consolas; "&gt;"A"&lt;/SPAN&gt;&lt;SPAN style="font-size: small; font-family: Consolas; "&gt;),&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;width: 12,&lt;/P&gt;&lt;P&gt;height: 12&lt;/P&gt;&lt;P&gt;});&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small; font-family: Consolas; "&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: small; font-family: Consolas; "&gt;var&lt;/SPAN&gt;&lt;SPAN style="font-size: small; font-family: Consolas; "&gt; BRenderer = &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: small; font-family: Consolas; "&gt;new&lt;/SPAN&gt;&lt;SPAN style="font-size: small; font-family: Consolas; "&gt; SimpleRenderer(symbol);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;fservice.setRenderer(BRenderer);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Mar 2019 15:22:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/customize-symbol-in-arcgis-javascript-for/m-p/591951#M15745</guid>
      <dc:creator>Pa_Lotus</dc:creator>
      <dc:date>2019-03-28T15:22:57Z</dc:date>
    </item>
  </channel>
</rss>

