<?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: Can you Display a  polygon with CSVLayer or Graphic offline in ArcGIS API for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/can-you-display-a-nbsp-polygon-with-csvlayer-or/m-p/558625#M12588</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;On a point feature class I added the long/lat to the table and put the table in a SQLite database. How would I do it with a polygon feature class.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 12 Dec 2013 15:16:09 GMT</pubDate>
    <dc:creator>AronHarris</dc:creator>
    <dc:date>2013-12-12T15:16:09Z</dc:date>
    <item>
      <title>Can you Display a  polygon with CSVLayer or Graphic offline</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/can-you-display-a-nbsp-polygon-with-csvlayer-or/m-p/558621#M12584</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am writing a application to collect gis data offline. Is there a way to display polygons offline in a flex air. I am using tpk to display the base map. I am using sqlite as my database to capture point and then display them back as an graphic using the Lat/Long. Does anyone have any ideas....&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Dec 2013 14:39:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/can-you-display-a-nbsp-polygon-with-csvlayer-or/m-p/558621#M12584</guid>
      <dc:creator>AronHarris</dc:creator>
      <dc:date>2013-12-12T14:39:27Z</dc:date>
    </item>
    <item>
      <title>Re: Can you Display a  polygon with CSVLayer or Graphic offline</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/can-you-display-a-nbsp-polygon-with-csvlayer-or/m-p/558622#M12585</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Aron,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; Not sure I understand your question completely... Yes, you can display polygon graphics when offline, just like you are displaying point data.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Dec 2013 14:46:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/can-you-display-a-nbsp-polygon-with-csvlayer-or/m-p/558622#M12585</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2013-12-12T14:46:31Z</dc:date>
    </item>
    <item>
      <title>Re: Can you Display a  polygon with CSVLayer or Graphic offline</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/can-you-display-a-nbsp-polygon-with-csvlayer-or/m-p/558623#M12586</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The way I do it is to read data out off my SQLite database use this function to display it&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; [Bindable]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; public var bridgeList:Object;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; private function bridgeResult():void {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; [Embed(source='assets/point.png')]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; var bridgePicClass:Class;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; var bridgePoint:PictureMarkerSymbol = new PictureMarkerSymbol(bridgePicClass);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; for (var i:int; i &amp;lt; this.employeeCollection.length; i++) {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; var bridgeGraphic:Graphic = new Graphic(new WebMercatorMapPoint(employeeCollection&lt;I&gt;.GPSLong, employeeCollection&lt;I&gt;.GPSLat), bridgePoint);&lt;/I&gt;&lt;/I&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; bridgePointsLayer.add(bridgeGraphic);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;How would I do it for polygons?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Dec 2013 14:59:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/can-you-display-a-nbsp-polygon-with-csvlayer-or/m-p/558623#M12586</guid>
      <dc:creator>AronHarris</dc:creator>
      <dc:date>2013-12-12T14:59:14Z</dc:date>
    </item>
    <item>
      <title>Re: Can you Display a  polygon with CSVLayer or Graphic offline</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/can-you-display-a-nbsp-polygon-with-csvlayer-or/m-p/558624#M12587</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Aron,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; Polygons have Ring(s) which are just an array of MapPoints. So you just add the points that make up the polygon using the addRing function.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://developers.arcgis.com/en/flex/api-reference/com/esri/ags/geometry/Polygon.html"&gt;https://developers.arcgis.com/en/flex/api-reference/com/esri/ags/geometry/Polygon.html&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Dec 2013 15:04:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/can-you-display-a-nbsp-polygon-with-csvlayer-or/m-p/558624#M12587</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2013-12-12T15:04:05Z</dc:date>
    </item>
    <item>
      <title>Re: Can you Display a  polygon with CSVLayer or Graphic offline</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/can-you-display-a-nbsp-polygon-with-csvlayer-or/m-p/558625#M12588</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;On a point feature class I added the long/lat to the table and put the table in a SQLite database. How would I do it with a polygon feature class.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Dec 2013 15:16:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/can-you-display-a-nbsp-polygon-with-csvlayer-or/m-p/558625#M12588</guid>
      <dc:creator>AronHarris</dc:creator>
      <dc:date>2013-12-12T15:16:09Z</dc:date>
    </item>
    <item>
      <title>Re: Can you Display a  polygon with CSVLayer or Graphic offline</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/can-you-display-a-nbsp-polygon-with-csvlayer-or/m-p/558626#M12589</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Aron,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; Is your question about adding your polygon data in SQLite?.. If you have a polygon then you loop through all the rings and for each ring loop through all the points and write the points to the table (you decide how to keep track of what ring and what polygon the points belong to, likely creating a unique polygonID to add to a polygon field and same for rings).&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Dec 2013 15:24:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/can-you-display-a-nbsp-polygon-with-csvlayer-or/m-p/558626#M12589</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2013-12-12T15:24:11Z</dc:date>
    </item>
    <item>
      <title>Re: Can you Display a  polygon with CSVLayer or Graphic offline</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/can-you-display-a-nbsp-polygon-with-csvlayer-or/m-p/558627#M12590</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes, adding polygon data in SQLite. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Sorry I did clarify more on what I am doing. I am making an application to be used on an android tablet out in the field offline with Adobe Air. The department will be collection point and I am trying to figure out the best way to display polygons on the map besides using TPK. Do you have any other ideas&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; I just want make sure I got this. I would querytask the polygon&amp;nbsp; in flex air and write the data into a SQLite table then later I can draw it from that table. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks....&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Dec 2013 16:09:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/can-you-display-a-nbsp-polygon-with-csvlayer-or/m-p/558627#M12590</guid>
      <dc:creator>AronHarris</dc:creator>
      <dc:date>2013-12-12T16:09:21Z</dc:date>
    </item>
    <item>
      <title>Re: Can you Display a  polygon with CSVLayer or Graphic offline</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/can-you-display-a-nbsp-polygon-with-csvlayer-or/m-p/558628#M12591</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Aron,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I would querytask the polygon&amp;nbsp; in flex air and write the data into a SQLite table then later I can draw it from that table&lt;/BLOCKQUOTE&gt;&lt;SPAN&gt; Sure that would work.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Dec 2013 02:47:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/can-you-display-a-nbsp-polygon-with-csvlayer-or/m-p/558628#M12591</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2013-12-13T02:47:24Z</dc:date>
    </item>
  </channel>
</rss>

