<?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 GraphicsLayer.setRenderer(Renderer&amp;amp;lt;Graphic&amp;amp;gt;) vs Graphic(Geometry, Symbol) in ArcGIS Runtime SDK for Android Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/graphicslayer-setrenderer-renderer-amp-lt-graphic/m-p/406378#M2762</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Lets say I want to add a graphic on a graphics layer on the map. I do this by the code below&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;PRE class="plain" name="code"&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; GraphicsLayer gl = new GraphicsLayer();
&amp;nbsp;&amp;nbsp;&amp;nbsp; Geometry geometry = new Point(xPoint, yPoint);
&amp;nbsp;&amp;nbsp;&amp;nbsp; Graphic graphic = new Graphic(geometry, new SimpleMarkerSymbol(Color.BLUE, 15, STYLE.CIRCLE));
&amp;nbsp;&amp;nbsp;&amp;nbsp; gl.addGraphic(graphic);
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have to give a symbol(for defining how to render the graphic) as an attribute to the graphic constructor. So, why is there a setRenderer function for graphics layer?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 02 Feb 2012 06:32:35 GMT</pubDate>
    <dc:creator>_lkerArg_n</dc:creator>
    <dc:date>2012-02-02T06:32:35Z</dc:date>
    <item>
      <title>GraphicsLayer.setRenderer(Renderer&amp;lt;Graphic&amp;gt;) vs Graphic(Geometry, Symbol)</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/graphicslayer-setrenderer-renderer-amp-lt-graphic/m-p/406378#M2762</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Lets say I want to add a graphic on a graphics layer on the map. I do this by the code below&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;PRE class="plain" name="code"&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; GraphicsLayer gl = new GraphicsLayer();
&amp;nbsp;&amp;nbsp;&amp;nbsp; Geometry geometry = new Point(xPoint, yPoint);
&amp;nbsp;&amp;nbsp;&amp;nbsp; Graphic graphic = new Graphic(geometry, new SimpleMarkerSymbol(Color.BLUE, 15, STYLE.CIRCLE));
&amp;nbsp;&amp;nbsp;&amp;nbsp; gl.addGraphic(graphic);
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have to give a symbol(for defining how to render the graphic) as an attribute to the graphic constructor. So, why is there a setRenderer function for graphics layer?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Feb 2012 06:32:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/graphicslayer-setrenderer-renderer-amp-lt-graphic/m-p/406378#M2762</guid>
      <dc:creator>_lkerArg_n</dc:creator>
      <dc:date>2012-02-02T06:32:35Z</dc:date>
    </item>
  </channel>
</rss>

