<?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 a composite symbol from 2 simple marker symbols for point data??? in ArcGIS Viewer for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/how-to-create-a-composite-symbol-from-2-simple/m-p/720406#M21763</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Graham,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; So simply the way you use a Simple marker symbol now for the UniqueValueInfo you would build a CompositeSymbol&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;var cSymbol:CompositeSymbol = new CompositeSymbol();
var squareSym:SimpleMarkerSymbol = new SimpleMarkerSymbol(SimpleMarkerSymbol.STYLE_SQUARE, 20, 0x000099);
var triangleSym:SimpleMarkerSymbol = new SimpleMarkerSymbol(SimpleMarkerSymbol.STYLE_TRIANGLE, 18, 0x000000);
cSymbol.symbols = [squareSym, triangleSym];&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 12 Dec 2021 06:49:26 GMT</pubDate>
    <dc:creator>RobertScheitlin__GISP</dc:creator>
    <dc:date>2021-12-12T06:49:26Z</dc:date>
    <item>
      <title>how to create a composite symbol from 2 simple marker symbols for point data???</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/how-to-create-a-composite-symbol-from-2-simple/m-p/720403#M21760</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have some point data (representing barriers) that is symbolised in my application using a uniquevaluerenderer according to the status of the barrier. In the application barriers that are closed during the day are red squares and those closed at night are blue triangles.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;All is working fine but now my user wants a new status to be applied to the barriers layer.&amp;nbsp; the new status is for barriers closed by day and night and to easily symbolise this they want a blue triangle inside a redsquare for this new status. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;obviously blue triangles and red squares are simple symbols, but this new symbol is not something you get "out of the box". Creating the graphic itself is easy enough to do in a graphics package but how do i then use the resulting png inside my flex application and tell the uniquevaluerenderer to use that symbol??&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;(i am using flexviewer 2.3.1)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;hope someone can help&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;thanks, &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Graham&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jul 2011 14:03:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/how-to-create-a-composite-symbol-from-2-simple/m-p/720403#M21760</guid>
      <dc:creator>grahamcooke</dc:creator>
      <dc:date>2011-07-28T14:03:07Z</dc:date>
    </item>
    <item>
      <title>Re: how to create a composite symbol from 2 simple marker symbols for point data???</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/how-to-create-a-composite-symbol-from-2-simple/m-p/720404#M21761</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Graham,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; Is your symbology for these symbols right now coming from code or just the MapService?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jul 2011 14:21:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/how-to-create-a-composite-symbol-from-2-simple/m-p/720404#M21761</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2011-07-28T14:21:17Z</dc:date>
    </item>
    <item>
      <title>Re: how to create a composite symbol from 2 simple marker symbols for point data???</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/how-to-create-a-composite-symbol-from-2-simple/m-p/720405#M21762</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Robert.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It is all done in the widget code. The map service is queried and the returned points are symbolized via the uvr.the simple marker symbols are created in the declarations section of the widget&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jul 2011 14:36:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/how-to-create-a-composite-symbol-from-2-simple/m-p/720405#M21762</guid>
      <dc:creator>grahamcooke</dc:creator>
      <dc:date>2011-07-28T14:36:42Z</dc:date>
    </item>
    <item>
      <title>Re: how to create a composite symbol from 2 simple marker symbols for point data???</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/how-to-create-a-composite-symbol-from-2-simple/m-p/720406#M21763</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Graham,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; So simply the way you use a Simple marker symbol now for the UniqueValueInfo you would build a CompositeSymbol&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;var cSymbol:CompositeSymbol = new CompositeSymbol();
var squareSym:SimpleMarkerSymbol = new SimpleMarkerSymbol(SimpleMarkerSymbol.STYLE_SQUARE, 20, 0x000099);
var triangleSym:SimpleMarkerSymbol = new SimpleMarkerSymbol(SimpleMarkerSymbol.STYLE_TRIANGLE, 18, 0x000000);
cSymbol.symbols = [squareSym, triangleSym];&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 06:49:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/how-to-create-a-composite-symbol-from-2-simple/m-p/720406#M21763</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2021-12-12T06:49:26Z</dc:date>
    </item>
    <item>
      <title>Re: how to create a composite symbol from 2 simple marker symbols for point data???</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/how-to-create-a-composite-symbol-from-2-simple/m-p/720407#M21764</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Oh, that's embarrassing! I hadn't realised there was actually a composite symbol object available! Thank u very much Robert. This works great!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jul 2011 16:22:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/how-to-create-a-composite-symbol-from-2-simple/m-p/720407#M21764</guid>
      <dc:creator>grahamcooke</dc:creator>
      <dc:date>2011-07-28T16:22:30Z</dc:date>
    </item>
  </channel>
</rss>

