<?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: How to create Custom Renderer in JS? in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-create-custom-renderer-in-js/m-p/420150#M38599</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for the reply.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have already tried to do 2 graphic layers but it doesn't solve the problem because my scenario is as follow:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I need to to draw trail points that simulate a movements a person.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;So I need arrows with 36 directions&amp;nbsp; - implementing by classBreakRenderer with Angles breaks.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I need also to give special colors for points/arrows that have specific attributes.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Therefore, I need one graphicLayer that can symbolize trail points with directional arrows and on the same time can symbolize the arrows with different colors.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The user can't select desired symbology.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 17 May 2011 19:08:52 GMT</pubDate>
    <dc:creator>YardenCochav</dc:creator>
    <dc:date>2011-05-17T19:08:52Z</dc:date>
    <item>
      <title>How to create Custom Renderer in JS?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-create-custom-renderer-in-js/m-p/420148#M38597</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi all,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I must create a custom Renderer that combines classBreakRenderer and UniqueValueRenderer to symbolize special GraphicLayer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;How do I accomplish it? what is the synatx to do it?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am totally stuck because I need to represent graphics according to classbreak values and uniqueValue attributes.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Very appreciate for any help&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Yarden&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 May 2011 14:26:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-create-custom-renderer-in-js/m-p/420148#M38597</guid>
      <dc:creator>YardenCochav</dc:creator>
      <dc:date>2011-05-17T14:26:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to create Custom Renderer in JS?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-create-custom-renderer-in-js/m-p/420149#M38598</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Hi all,&lt;BR /&gt;&lt;BR /&gt;I must create a custom Renderer that combines classBreakRenderer and UniqueValueRenderer to symbolize special GraphicLayer.&lt;BR /&gt;How do I accomplish it? what is the synatx to do it?&lt;BR /&gt;&lt;BR /&gt;I am totally stuck because I need to represent graphics according to classbreak values and uniqueValue attributes.&lt;BR /&gt;&lt;BR /&gt;Very appreciate for any help&lt;BR /&gt;Yarden&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I can't see anything in API about using more than one renderer for the same GraphicLayer. You could either allow the user to switch between renderers using setRenderer(), or add two GraphicLayers to the map, one with the classBreak and the other with the uniqueValue renderer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;--Ken&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 May 2011 14:49:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-create-custom-renderer-in-js/m-p/420149#M38598</guid>
      <dc:creator>KenDoman</dc:creator>
      <dc:date>2011-05-17T14:49:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to create Custom Renderer in JS?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-create-custom-renderer-in-js/m-p/420150#M38599</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for the reply.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have already tried to do 2 graphic layers but it doesn't solve the problem because my scenario is as follow:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I need to to draw trail points that simulate a movements a person.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;So I need arrows with 36 directions&amp;nbsp; - implementing by classBreakRenderer with Angles breaks.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I need also to give special colors for points/arrows that have specific attributes.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Therefore, I need one graphicLayer that can symbolize trail points with directional arrows and on the same time can symbolize the arrows with different colors.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The user can't select desired symbology.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 May 2011 19:08:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-create-custom-renderer-in-js/m-p/420150#M38599</guid>
      <dc:creator>YardenCochav</dc:creator>
      <dc:date>2011-05-17T19:08:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to create Custom Renderer in JS?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-create-custom-renderer-in-js/m-p/420151#M38600</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Were you able to achieve this?&amp;nbsp; I am trying to do the exact same thing i.e. have a map show different shapes based on unique values but also show different colors based on number of entities.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Jan 2013 01:11:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-create-custom-renderer-in-js/m-p/420151#M38600</guid>
      <dc:creator>AjayGoel1</dc:creator>
      <dc:date>2013-01-08T01:11:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to create Custom Renderer in JS?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-create-custom-renderer-in-js/m-p/420152#M38601</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Can you guys please let me know, if you could achieve this. I did not find any way to do this.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Apr 2013 06:29:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-create-custom-renderer-in-js/m-p/420152#M38601</guid>
      <dc:creator>VivekPrasad</dc:creator>
      <dc:date>2013-04-16T06:29:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to create Custom Renderer in JS?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-create-custom-renderer-in-js/m-p/420153#M38602</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Can you guys please let me know, if you could achieve this. I did not find any way to do this.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I could implement custom renderer, by extending "esri.renderer.Renderer". And overriding "getSymbol(graphic)" function. We need to write code in "getSymbol" function to identify the symbol to be applied for the "graphic" passed as parameter. And we need to create object for this custom renderer and apply this on layer. This function would be internally called for each graphic and that graphic will be displayed with symbol returned by this function.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 May 2013 21:13:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-create-custom-renderer-in-js/m-p/420153#M38602</guid>
      <dc:creator>VivekPrasad</dc:creator>
      <dc:date>2013-05-08T21:13:38Z</dc:date>
    </item>
  </channel>
</rss>

