<?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: Problems with ClassBreaksRenderer and symbolizing Polygons with SimpleMarkerSymbol in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/problems-with-classbreaksrenderer-and-symbolizing/m-p/106056#M9793</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the reply, Robert.&amp;nbsp; I'm trying to replicate a legacy desktop application and the users are used to similar symbology.&amp;nbsp; I thought I would post the question just in case I was missing something minor.&amp;nbsp; I have no problem using your suggestion and changing the fill color of the entire parcel based on sale price.&amp;nbsp; I just found it odd that the markers were drawing in what seemed to be random points in/around the parcel..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the suggestion!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 21 May 2015 19:12:00 GMT</pubDate>
    <dc:creator>RyanSellman</dc:creator>
    <dc:date>2015-05-21T19:12:00Z</dc:date>
    <item>
      <title>Problems with ClassBreaksRenderer and symbolizing Polygons with SimpleMarkerSymbol</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/problems-with-classbreaksrenderer-and-symbolizing/m-p/106054#M9791</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All!&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to symbolize a small parcel polygon dataset on the client using the ClassBreaksRenderer.&amp;nbsp; The idea is to show the parcels as points at the center of each polygon with the size/color of the point being determined by the sale amount of the parcel.&amp;nbsp; I can get the renderer set up just fine - the issue I am having involves where the "parcel points" are being drawn.&amp;nbsp; In most cases, the points are not drawn in the center of the parcel.&amp;nbsp; In some cases, the point is completely outside the parcel polygon.&amp;nbsp; Below is a quick snapshot of what I am talking about:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/102177_pastedImage_0.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are some good examples in the image above.&amp;nbsp; I just want the parcel points to draw at the center of the associated parcel - you can see above they currently are not. Is there a better way to implement this type of symbolization with the API?&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below is the code I am using to set the renderer up.&amp;nbsp; Any help is appreciated!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ryan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;var markerOutline = new SimpleLineSymbol(SimpleLineSymbol.STYLE_SOLID, new Color([0,0,0]), 1);
&amp;nbsp; var salesRenderer = new ClassBreaksRenderer(symbol, "publication.DBO.SALES_8_1_C.PRICE");
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; salesRenderer.addBreak(0, 19999, new SimpleMarkerSymbol(SimpleMarkerSymbol.STYLE_CIRCLE, 10, markerOutline, new Color([153, 255, 204,1])));
&amp;nbsp; salesRenderer.addBreak(20000, 39999, new SimpleMarkerSymbol(SimpleMarkerSymbol.STYLE_CIRCLE, 11, markerOutline, new Color([51, 204, 51,1])));
&amp;nbsp; salesRenderer.addBreak(40000, 59999, new SimpleMarkerSymbol(SimpleMarkerSymbol.STYLE_CIRCLE, 12, markerOutline, new Color([0, 51, 0,1])));
&amp;nbsp; salesRenderer.addBreak(60000, 99999, new SimpleMarkerSymbol(SimpleMarkerSymbol.STYLE_CIRCLE, 13, markerOutline, new Color([255, 255, 153,1])));
&amp;nbsp; salesRenderer.addBreak(100000, 139999, new SimpleMarkerSymbol(SimpleMarkerSymbol.STYLE_CIRCLE, 14, markerOutline, new Color([255, 102, 0,1])));
&amp;nbsp; salesRenderer.addBreak(140000, 199999, new SimpleMarkerSymbol(SimpleMarkerSymbol.STYLE_CIRCLE, 15, markerOutline, new Color([102, 51, 0,1])));
&amp;nbsp; salesRenderer.addBreak(200000, 299999, new SimpleMarkerSymbol(SimpleMarkerSymbol.STYLE_CIRCLE, 16, markerOutline, new Color([255, 102, 255,1])));
&amp;nbsp; salesRenderer.addBreak(300000, 399999, new SimpleMarkerSymbol(SimpleMarkerSymbol.STYLE_CIRCLE, 17, markerOutline, new Color([204, 0, 153,1])));
&amp;nbsp; salesRenderer.addBreak(400000, 499999, new SimpleMarkerSymbol(SimpleMarkerSymbol.STYLE_CIRCLE, 18, markerOutline, new Color([102, 0, 102,1])));
&amp;nbsp; salesRenderer.addBreak(500000, 699999, new SimpleMarkerSymbol(SimpleMarkerSymbol.STYLE_CIRCLE, 19, markerOutline, new Color([51, 204, 255,1])));
&amp;nbsp; salesRenderer.addBreak(700000, 999999, new SimpleMarkerSymbol(SimpleMarkerSymbol.STYLE_CIRCLE, 20, markerOutline, new Color([0, 153, 204,1])));
&amp;nbsp; salesRenderer.addBreak(1000000, 6844000, new SimpleMarkerSymbol(SimpleMarkerSymbol.STYLE_CIRCLE, 21, markerOutline, new Color([0, 51, 153,1])));
&amp;nbsp;&amp;nbsp; 
&lt;SPAN&gt;&amp;nbsp; var sales = new FeatureLayer("&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://summitmaps.summitoh.net/arcgis/rest/services/Appraisal_Mercator/MapServer/1" rel="nofollow noopener noreferrer" target="_blank"&gt;http://summitmaps.summitoh.net/arcgis/rest/services/Appraisal_Mercator/MapServer/1&lt;/A&gt;&lt;SPAN&gt;", {&lt;/SPAN&gt;
&amp;nbsp; visible: true,
&amp;nbsp; mode: FeatureLayer.MODE_ONDEMAND,
&amp;nbsp; id: "Parcel Sales",
&amp;nbsp; minScale: 50000,
&amp;nbsp; maxScale: 0
&amp;nbsp; });
&amp;nbsp;&amp;nbsp; 
&amp;nbsp; sales.setRenderer(salesRenderer);






&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 06:27:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/problems-with-classbreaksrenderer-and-symbolizing/m-p/106054#M9791</guid>
      <dc:creator>RyanSellman</dc:creator>
      <dc:date>2021-12-11T06:27:25Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with ClassBreaksRenderer and symbolizing Polygons with SimpleMarkerSymbol</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/problems-with-classbreaksrenderer-and-symbolizing/m-p/106055#M9792</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ryan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; I am not sure what is going wrong with the marker class break renderer, but why not just change the fill color for the whole polygon instead?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 May 2015 18:53:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/problems-with-classbreaksrenderer-and-symbolizing/m-p/106055#M9792</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2015-05-21T18:53:42Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with ClassBreaksRenderer and symbolizing Polygons with SimpleMarkerSymbol</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/problems-with-classbreaksrenderer-and-symbolizing/m-p/106056#M9793</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the reply, Robert.&amp;nbsp; I'm trying to replicate a legacy desktop application and the users are used to similar symbology.&amp;nbsp; I thought I would post the question just in case I was missing something minor.&amp;nbsp; I have no problem using your suggestion and changing the fill color of the entire parcel based on sale price.&amp;nbsp; I just found it odd that the markers were drawing in what seemed to be random points in/around the parcel..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the suggestion!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 May 2015 19:12:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/problems-with-classbreaksrenderer-and-symbolizing/m-p/106056#M9793</guid>
      <dc:creator>RyanSellman</dc:creator>
      <dc:date>2015-05-21T19:12:00Z</dc:date>
    </item>
  </channel>
</rss>

