<?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: Service area widget - accept multipoint input? in ArcGIS API for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/service-area-widget-accept-multipoint-input/m-p/271775#M6355</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Adding a location from a multi-point for a Service Area Layer only loads in the first point. It does not load all the points in the multi-point. If you need to load multiple points, then load them from a point feature class with multiple point features.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Jay Sandhu&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 12 May 2010 14:09:53 GMT</pubDate>
    <dc:creator>JaySandhu</dc:creator>
    <dc:date>2010-05-12T14:09:53Z</dc:date>
    <item>
      <title>Service area widget - accept multipoint input?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/service-area-widget-accept-multipoint-input/m-p/271774#M6354</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm attempting to modify the service area tool to accept multiple input locations (supplied by multiple drawEvent's) using a multipoint feature.&amp;nbsp; I've created a geoprocessing task that accepts the input location parameter as a multipoint.&amp;nbsp; I've verified that this works by running the published task in ArcMap.&amp;nbsp; However, the flex application seems to supply only the first point added to the multipoint to the geoprocessing task.&amp;nbsp; I have verified that the multipoint infact has multiple points by supplying it to a graphic, and displaying this graphic in the flex application.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Does anyone have experience using multiple input locations?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Here is the related code:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;(creating the multipoint)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;....&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; var locPoint:Multipoint;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; locPoint = new Multipoint([firstPoint, SecondPoint]);&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;(supplying input parameter)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;....&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; var graphic:Graphic = new Graphic(locPoint, locSym);&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //***graphic displays both points correctly in the app***&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; var featureSet:FeatureSet = new FeatureSet([graphic]);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;....&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; var params:Object =&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&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; "Input_Facilities": featureSet,&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; "Drive_Time_Values":&amp;nbsp; driveTimes&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;BR /&gt;&lt;SPAN&gt;Any advice would be a help,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Apr 2010 12:58:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/service-area-widget-accept-multipoint-input/m-p/271774#M6354</guid>
      <dc:creator>YelenaCummings</dc:creator>
      <dc:date>2010-04-20T12:58:52Z</dc:date>
    </item>
    <item>
      <title>Re: Service area widget - accept multipoint input?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/service-area-widget-accept-multipoint-input/m-p/271775#M6355</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Adding a location from a multi-point for a Service Area Layer only loads in the first point. It does not load all the points in the multi-point. If you need to load multiple points, then load them from a point feature class with multiple point features.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Jay Sandhu&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 May 2010 14:09:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/service-area-widget-accept-multipoint-input/m-p/271775#M6355</guid>
      <dc:creator>JaySandhu</dc:creator>
      <dc:date>2010-05-12T14:09:53Z</dc:date>
    </item>
  </channel>
</rss>

