<?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 Doubleclick needed for showing callout on identify in ArcGIS Runtime SDK for iOS Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/doubleclick-needed-for-showing-callout-on-identify/m-p/417786#M3558</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm using an identifylayer, with the controller. The identify itself works, the object is highlighted with a color, but...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have to tap the object twice before the callout is shown. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So, summarized:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;First tap: Object is selected (Highlighted)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Second tap: Callout is shown&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I want to skip the second step, but i have no idea how. I looked into the class reference, but... couldn't find anything...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The code I use:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;- (void)mapView:(AGSMapView *)mapView didClickAtPoint:(CGPoint)screen mapPoint:(AGSPoint *)mappoint graphics:(NSDictionary *)graphics {
 self.identifyParams.tolerance = 7;
 self.identifyParams.geometry = mappoint;
 self.identifyParams.size = mapViewController.mapView.bounds.size;
 self.identifyParams.mapEnvelope = mapViewController.mapView.envelope;
 self.identifyParams.returnGeometry = YES;
 self.identifyParams.layerOption = AGSIdentifyParametersLayerOptionAll;
 self.identifyParams.spatialReference = mapViewController.mapView.spatialReference;
&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp; 
 //execute the task
 [self.identifyTask executeWithParameters:self.identifyParams];
} 

//results are returned
- (void)identifyTask:(AGSIdentifyTask *)identifyTask operation:(NSOperation *)op didExecuteWithIdentifyResults:(NSArray *)results {
&amp;nbsp;&amp;nbsp;&amp;nbsp; //clear previous results
&amp;nbsp;&amp;nbsp;&amp;nbsp; [mapViewController.identifyLayer removeAllGraphics];
&amp;nbsp;&amp;nbsp;&amp;nbsp; _identifyInfoTemplate = [[IdentifyInfoTemplate alloc] init];
&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp; for (AGSIdentifyResult* result in results) {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; result.feature.symbol = [self determineAndReturnSymbol:AGSGeometryTypeForGeometry(result.feature.geometry)];
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; result.feature.infoTemplateDelegate = _identifyInfoTemplate;
&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; [mapViewController.identifyLayer addGraphic:result.feature];
&amp;nbsp;&amp;nbsp;&amp;nbsp; }
&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp; //call dataChanged on the graphics layer to redraw the graphics
&amp;nbsp;&amp;nbsp;&amp;nbsp; [mapViewController.identifyLayer dataChanged]; 
&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp; 
}

&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 09 Jun 2011 09:18:37 GMT</pubDate>
    <dc:creator>ReneNijkamp</dc:creator>
    <dc:date>2011-06-09T09:18:37Z</dc:date>
    <item>
      <title>Doubleclick needed for showing callout on identify</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/doubleclick-needed-for-showing-callout-on-identify/m-p/417786#M3558</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm using an identifylayer, with the controller. The identify itself works, the object is highlighted with a color, but...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have to tap the object twice before the callout is shown. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So, summarized:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;First tap: Object is selected (Highlighted)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Second tap: Callout is shown&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I want to skip the second step, but i have no idea how. I looked into the class reference, but... couldn't find anything...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The code I use:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;- (void)mapView:(AGSMapView *)mapView didClickAtPoint:(CGPoint)screen mapPoint:(AGSPoint *)mappoint graphics:(NSDictionary *)graphics {
 self.identifyParams.tolerance = 7;
 self.identifyParams.geometry = mappoint;
 self.identifyParams.size = mapViewController.mapView.bounds.size;
 self.identifyParams.mapEnvelope = mapViewController.mapView.envelope;
 self.identifyParams.returnGeometry = YES;
 self.identifyParams.layerOption = AGSIdentifyParametersLayerOptionAll;
 self.identifyParams.spatialReference = mapViewController.mapView.spatialReference;
&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp; 
 //execute the task
 [self.identifyTask executeWithParameters:self.identifyParams];
} 

//results are returned
- (void)identifyTask:(AGSIdentifyTask *)identifyTask operation:(NSOperation *)op didExecuteWithIdentifyResults:(NSArray *)results {
&amp;nbsp;&amp;nbsp;&amp;nbsp; //clear previous results
&amp;nbsp;&amp;nbsp;&amp;nbsp; [mapViewController.identifyLayer removeAllGraphics];
&amp;nbsp;&amp;nbsp;&amp;nbsp; _identifyInfoTemplate = [[IdentifyInfoTemplate alloc] init];
&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp; for (AGSIdentifyResult* result in results) {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; result.feature.symbol = [self determineAndReturnSymbol:AGSGeometryTypeForGeometry(result.feature.geometry)];
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; result.feature.infoTemplateDelegate = _identifyInfoTemplate;
&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; [mapViewController.identifyLayer addGraphic:result.feature];
&amp;nbsp;&amp;nbsp;&amp;nbsp; }
&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp; //call dataChanged on the graphics layer to redraw the graphics
&amp;nbsp;&amp;nbsp;&amp;nbsp; [mapViewController.identifyLayer dataChanged]; 
&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp; 
}

&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jun 2011 09:18:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/doubleclick-needed-for-showing-callout-on-identify/m-p/417786#M3558</guid>
      <dc:creator>ReneNijkamp</dc:creator>
      <dc:date>2011-06-09T09:18:37Z</dc:date>
    </item>
    <item>
      <title>Re: Doubleclick needed for showing callout on identify</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/doubleclick-needed-for-showing-callout-on-identify/m-p/417787#M3559</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The last post of the following forum thread has sample code you are looking for.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.arcgis.com/threads/7719-Identify-Example"&gt;http://forums.arcgis.com/threads/7719-Identify-Example&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this helps!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Nimesh&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Jun 2011 16:14:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/doubleclick-needed-for-showing-callout-on-identify/m-p/417787#M3559</guid>
      <dc:creator>NimeshJarecha</dc:creator>
      <dc:date>2011-06-10T16:14:53Z</dc:date>
    </item>
  </channel>
</rss>

