<?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: Need help using graphics in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/need-help-using-graphics/m-p/106660#M9860</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;As a developer, please for the love of pete do not call this new layer type a "dynamiclayer".&amp;nbsp; There is already enough confusion between a layer (mapservice) layer (api), etc.. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The functionality sounds great, just please pick a different name.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 11 Jun 2012 19:25:13 GMT</pubDate>
    <dc:creator>JeffPace</dc:creator>
    <dc:date>2012-06-11T19:25:13Z</dc:date>
    <item>
      <title>Need help using graphics</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/need-help-using-graphics/m-p/106658#M9858</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;After reading all about graphics and graphicLayer I'm still somewhat confused. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If I add a layer to a map it displays the map feature (or graphic? Is that the right terminology?). Is the default symbol what is listed in the service properties?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If I want to change the color do I create a symbol and add it to a graphicsLayer and then add it to the map? Does this mean that I am essentially drawing on top of the default symbol that draws first? Is it really displaying twice?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;How would I change the color and add it to the map?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;var imageParameters = new esri.layers.ImageParameters();
 
&amp;nbsp;&amp;nbsp;&amp;nbsp; imageParameters.layerIds = [0];
&amp;nbsp;&amp;nbsp;&amp;nbsp; imageParameters.layerOption = esri.layers.ImageParameters.LAYER_OPTION_SHOW;
&amp;nbsp;&amp;nbsp;&amp;nbsp; imageParameters.transparent = true;
 
 var dLayer = new esri.layers.ArcGISDynamicMapServiceLayer("http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/Specialty/ESRI_StatesCitiesRivers_USA/MapServer",{"imageParameters":imageParameters});

 
 map.addLayer(dLayer);&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Jun 2012 18:43:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/need-help-using-graphics/m-p/106658#M9858</guid>
      <dc:creator>MikeOnzay</dc:creator>
      <dc:date>2012-06-07T18:43:52Z</dc:date>
    </item>
    <item>
      <title>Re: Need help using graphics</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/need-help-using-graphics/m-p/106659#M9859</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;If I add a layer to a map it displays the map feature (or graphic? Is that the right terminology?). Is the default symbol what is listed in the service properties?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When you add a DynamicMapServiceLayer to map, it adds the default symbology from the Map Service. You cannot change the symbology at 10.0, but at the new release of ArcGIS Server 10.1, has a new layer called as &lt;/SPAN&gt;&lt;A href="http://resourcesbeta.arcgis.com/en/help/rest/apiref/dynamicLayer.html"&gt;Dynamic Layer&lt;/A&gt;&lt;SPAN&gt; which is different than the DynamicMapServiceLayer where you can provide the symbology you want, particular layers you want from the map service etc.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you want to add your own symbology to map service, you can use &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/javascript/arcgis/help/jsapi/featurelayer.htm"&gt;FeatureLayer&lt;/A&gt;&lt;SPAN&gt; which has the property to change the symbology. Feature Layer is a special type of Graphics Layer. One of the reasons you may use graphics layer is when you perform some tasks and get the results from the server and want to show the results on map.(Take this scenario, after performing a QueryTask you get the returned FeatureSet as points and if you want to show it on the map, you'll first create a graphics layer and add these returned points to this Graphics Layer and then add this GraphicsLayer to the map.)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Jun 2012 19:34:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/need-help-using-graphics/m-p/106659#M9859</guid>
      <dc:creator>ShreyasVakil</dc:creator>
      <dc:date>2012-06-07T19:34:42Z</dc:date>
    </item>
    <item>
      <title>Re: Need help using graphics</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/need-help-using-graphics/m-p/106660#M9860</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;As a developer, please for the love of pete do not call this new layer type a "dynamiclayer".&amp;nbsp; There is already enough confusion between a layer (mapservice) layer (api), etc.. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The functionality sounds great, just please pick a different name.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jun 2012 19:25:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/need-help-using-graphics/m-p/106660#M9860</guid>
      <dc:creator>JeffPace</dc:creator>
      <dc:date>2012-06-11T19:25:13Z</dc:date>
    </item>
  </channel>
</rss>

