<?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: dataprovider in mxml for esri graphic layer? in ArcGIS API for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/dataprovider-in-mxml-for-esri-graphic-layer/m-p/23778#M526</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Terrific!&amp;nbsp; Thanks for the responses.&amp;nbsp; I will try these out over the week-end!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Tom&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 02 Nov 2012 12:07:23 GMT</pubDate>
    <dc:creator>TomRauch</dc:creator>
    <dc:date>2012-11-02T12:07:23Z</dc:date>
    <item>
      <title>dataprovider in mxml for esri graphic layer?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/dataprovider-in-mxml-for-esri-graphic-layer/m-p/23775#M523</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi, as you know datagrids and other sorts of controls in Flasbuilder can be populated using an MXML 'dataprovider' reference bound to some data object.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am wondering if there is a way to provide a dataprovider 'equivalent' for an esri graphics layer?&amp;nbsp; Or do graphics layers need to be populated through Action Script code, not through MXML?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks, Tom&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Nov 2012 13:46:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/dataprovider-in-mxml-for-esri-graphic-layer/m-p/23775#M523</guid>
      <dc:creator>TomRauch</dc:creator>
      <dc:date>2012-11-01T13:46:12Z</dc:date>
    </item>
    <item>
      <title>Re: dataprovider in mxml for esri graphic layer?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/dataprovider-in-mxml-for-esri-graphic-layer/m-p/23776#M524</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The graphic layer does have the graphicProvider property. &lt;/SPAN&gt;&lt;A href="http://resources.arcgis.com/en/help/flex-api/samples/index.html#/Query_result_on_Map/01nq0000003q000000/"&gt;Here's&lt;/A&gt;&lt;SPAN&gt; an example.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Nov 2012 14:25:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/dataprovider-in-mxml-for-esri-graphic-layer/m-p/23776#M524</guid>
      <dc:creator>KenBuja</dc:creator>
      <dc:date>2012-11-01T14:25:14Z</dc:date>
    </item>
    <item>
      <title>Re: dataprovider in mxml for esri graphic layer?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/dataprovider-in-mxml-for-esri-graphic-layer/m-p/23777#M525</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Also see this sample that shows declaring Graphics in MXML:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://resources.arcgis.com/en/help/flex-api/samples/index.html#/Adding_Graphics/01nq00000012000000/"&gt;http://resources.arcgis.com/en/help/flex-api/samples/index.html#/Adding_Graphics/01nq00000012000000/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Since the graphicProvider is the default MXML property for the GraphicsLayer, it's not explicitly set in the MXML above.&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://resources.arcgis.com/en/help/flex-api/apiref/com/esri/ags/layers/GraphicsLayer.html"&gt;http://resources.arcgis.com/en/help/flex-api/apiref/com/esri/ags/layers/GraphicsLayer.html&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Nov 2012 18:29:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/dataprovider-in-mxml-for-esri-graphic-layer/m-p/23777#M525</guid>
      <dc:creator>DasaPaddock</dc:creator>
      <dc:date>2012-11-01T18:29:16Z</dc:date>
    </item>
    <item>
      <title>Re: dataprovider in mxml for esri graphic layer?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/dataprovider-in-mxml-for-esri-graphic-layer/m-p/23778#M526</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Terrific!&amp;nbsp; Thanks for the responses.&amp;nbsp; I will try these out over the week-end!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Tom&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Nov 2012 12:07:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/dataprovider-in-mxml-for-esri-graphic-layer/m-p/23778#M526</guid>
      <dc:creator>TomRauch</dc:creator>
      <dc:date>2012-11-02T12:07:23Z</dc:date>
    </item>
    <item>
      <title>Re: dataprovider in mxml for esri graphic layer?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/dataprovider-in-mxml-for-esri-graphic-layer/m-p/23779#M527</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;So here's what I am trying to do: use the 'graphicProvider' datasource in MXML to access a data service object that spits out a bunch of these XML elements:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;post&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;id&amp;gt;2&amp;lt;/id&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;src&amp;gt;nc&amp;lt;/src&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;eqid&amp;gt;71786976&amp;lt;/eqid&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;version&amp;gt;0&amp;lt;/version&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;day&amp;gt;Thursday&amp;lt;/day&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;date&amp;gt;2012-05-17&amp;lt;/date&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;time&amp;gt;04:38:38&amp;lt;/time&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;STRONG&gt;&amp;lt;lat&amp;gt;38.810000&amp;lt;/lat&amp;gt;&lt;BR /&gt;&amp;lt;lon&amp;gt;-122.829500&amp;lt;/lon&amp;gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;magnitude&amp;gt;0.6&amp;lt;/magnitude&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;depth_km&amp;gt;3.0&amp;lt;/depth_km&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;depth_mi&amp;gt;1.9&amp;lt;/depth_mi&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;pr_km&amp;gt;2&amp;lt;/pr_km&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;pr_mi&amp;gt;1&amp;lt;/pr_mi&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;NST&amp;gt;10&amp;lt;/NST&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;region&amp;gt;Northern California&amp;lt;/region&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/post&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'd like to access that data service object through the graphicProvider, specifically the lat/lon from the XML to provide location information for the markers (x={lat}, y={lon}).&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;is that possible?&amp;nbsp; When I associate my data object reference to graphicProvider, I get an error - trying to coerce a valueObject that is not supported by GraphicLayer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for any help/guidance.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Tom&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 03 Nov 2012 15:14:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/dataprovider-in-mxml-for-esri-graphic-layer/m-p/23779#M527</guid>
      <dc:creator>TomRauch</dc:creator>
      <dc:date>2012-11-03T15:14:20Z</dc:date>
    </item>
    <item>
      <title>Re: dataprovider in mxml for esri graphic layer?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/dataprovider-in-mxml-for-esri-graphic-layer/m-p/23780#M528</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Have you seen this &lt;/SPAN&gt;&lt;A href="http://resources.arcgis.com/en/help/flex-api/samples/index.html#/Reading_GeoRSS_feeds/01nq00000026000000/"&gt;sample&lt;/A&gt;&lt;SPAN&gt; that puts the results of a GeoRSS feed on a graphics layer?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Nov 2012 12:24:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/dataprovider-in-mxml-for-esri-graphic-layer/m-p/23780#M528</guid>
      <dc:creator>KenBuja</dc:creator>
      <dc:date>2012-11-05T12:24:42Z</dc:date>
    </item>
    <item>
      <title>Re: dataprovider in mxml for esri graphic layer?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/dataprovider-in-mxml-for-esri-graphic-layer/m-p/23781#M529</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Ken, thanks, I have not seen that sample but it looks promising.&amp;nbsp; I will investigate further.&amp;nbsp; I am trying to create maps with location markers mostly through MXML and staying as light as I can on the AS3 coding.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Nov 2012 13:32:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/dataprovider-in-mxml-for-esri-graphic-layer/m-p/23781#M529</guid>
      <dc:creator>TomRauch</dc:creator>
      <dc:date>2012-11-05T13:32:59Z</dc:date>
    </item>
  </channel>
</rss>

