<?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 Advanced Rendering in Java Maps SDK Questions</title>
    <link>https://community.esri.com/t5/java-maps-sdk-questions/advanced-rendering/m-p/16890#M75</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am currently adding symbols to a map in two different techniques. &amp;nbsp;My goal is to add icons (&lt;SPAN&gt;PictureMarkerSymbol&lt;/SPAN&gt;) with text (TextSymbol) within a CompositeSymbol.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The first technique I use is to add the icon and graphics directly via the Graphic constructor. &amp;nbsp;The target of this technique seems to be more appropriate for dynamic data sets. &amp;nbsp;Using this technique I am able to move the graphics around the map and update parts of the CompositeSymbol (rotate the PictureMarkerSymbol).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The second technique&amp;nbsp;I use is to leverage a UniqueValueRenderer. &amp;nbsp;Via the renderer I pre-define every unique CompositeSymbol and look them up after the fact. &amp;nbsp;This technique seems to target more static data sets.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Both of these work well enough, but I am faced with a couple questions:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. &amp;nbsp;Using the Graphic constructor technique is it possible to change the image displayed within the PictureMarkerSymbol? &amp;nbsp;I would like to change the icon based on a status of the underlying associated data point.&lt;/P&gt;&lt;P&gt;2. &amp;nbsp;using the Renderer approach, is it possible to set the text displayed with the TextSymbol for each Graphic, possibly based on the Graphic parameters? &amp;nbsp;If I could dynamically change this, this might signifincatly&amp;nbsp;simplify my UniqueValueRenderer. &amp;nbsp;Likewise, is it possible to affect other properties of a Renderer's symbol, perhaps rotating a symbol within a CompositeSymbol? &amp;nbsp;If this is possible I could use a Renderer instead of the Graphic constructor approach.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 16 Jun 2017 23:59:09 GMT</pubDate>
    <dc:creator>JohnEricksen</dc:creator>
    <dc:date>2017-06-16T23:59:09Z</dc:date>
    <item>
      <title>Advanced Rendering</title>
      <link>https://community.esri.com/t5/java-maps-sdk-questions/advanced-rendering/m-p/16890#M75</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am currently adding symbols to a map in two different techniques. &amp;nbsp;My goal is to add icons (&lt;SPAN&gt;PictureMarkerSymbol&lt;/SPAN&gt;) with text (TextSymbol) within a CompositeSymbol.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The first technique I use is to add the icon and graphics directly via the Graphic constructor. &amp;nbsp;The target of this technique seems to be more appropriate for dynamic data sets. &amp;nbsp;Using this technique I am able to move the graphics around the map and update parts of the CompositeSymbol (rotate the PictureMarkerSymbol).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The second technique&amp;nbsp;I use is to leverage a UniqueValueRenderer. &amp;nbsp;Via the renderer I pre-define every unique CompositeSymbol and look them up after the fact. &amp;nbsp;This technique seems to target more static data sets.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Both of these work well enough, but I am faced with a couple questions:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. &amp;nbsp;Using the Graphic constructor technique is it possible to change the image displayed within the PictureMarkerSymbol? &amp;nbsp;I would like to change the icon based on a status of the underlying associated data point.&lt;/P&gt;&lt;P&gt;2. &amp;nbsp;using the Renderer approach, is it possible to set the text displayed with the TextSymbol for each Graphic, possibly based on the Graphic parameters? &amp;nbsp;If I could dynamically change this, this might signifincatly&amp;nbsp;simplify my UniqueValueRenderer. &amp;nbsp;Likewise, is it possible to affect other properties of a Renderer's symbol, perhaps rotating a symbol within a CompositeSymbol? &amp;nbsp;If this is possible I could use a Renderer instead of the Graphic constructor approach.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Jun 2017 23:59:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/java-maps-sdk-questions/advanced-rendering/m-p/16890#M75</guid>
      <dc:creator>JohnEricksen</dc:creator>
      <dc:date>2017-06-16T23:59:09Z</dc:date>
    </item>
  </channel>
</rss>

