<?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: Identify seems only to work with point geometries with BETA 2 in Java Maps SDK Questions</title>
    <link>https://community.esri.com/t5/java-maps-sdk-questions/identify-seems-only-to-work-with-point-geometries/m-p/701588#M2124</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Jan,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am able to get identify to work with an envelope at Pre-Release.&amp;nbsp; Could you please try your code at Pre-Release?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 07 May 2012 15:28:13 GMT</pubDate>
    <dc:creator>RalfGottschalk</dc:creator>
    <dc:date>2012-05-07T15:28:13Z</dc:date>
    <item>
      <title>Identify seems only to work with point geometries with BETA 2</title>
      <link>https://community.esri.com/t5/java-maps-sdk-questions/identify-seems-only-to-work-with-point-geometries/m-p/701587#M2123</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;We are developing a sample application which supports some basic functionality like navigating the map, zoom, identify with flashing and so on. We were not able to get any identify results by using an envelope nor a polygon geometry as spatial restriction. See the commented source code below.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Sample map application:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[ATTACH=CONFIG]13356[/ATTACH]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;IdentifyParameters identifyparam = new IdentifyParameters(); // Only works if location represents a point geometry identifyparam.setGeometry(location); . . &lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The envelope geometry is created the same way as being used by the zoom in tool. The map is able to correctly set the new extent. The create envelope method is implemented as shown below. The MapView is just a custom class offering access to the JMap control.&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;public static Envelope toEnvelope(MapView mapView, Rectangle2D rectangle) { &amp;nbsp;&amp;nbsp;&amp;nbsp; Point topLeftPoint = mapView.getMap().toMapPoint((int) rectangle.getMinX(), (int) rectangle.getMinY()); &amp;nbsp;&amp;nbsp;&amp;nbsp; Point bottomRightPoint = mapView.getMap().toMapPoint((int) rectangle.getMaxX(), (int) rectangle.getMaxY()); &amp;nbsp;&amp;nbsp;&amp;nbsp; return new Envelope(topLeftPoint.getX(), topLeftPoint.getY(), bottomRightPoint.getX(), bottomRightPoint.getY()); }&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Would you be so kind and try to examine this?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Apr 2012 21:24:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/java-maps-sdk-questions/identify-seems-only-to-work-with-point-geometries/m-p/701587#M2123</guid>
      <dc:creator>Jan-Tschada</dc:creator>
      <dc:date>2012-04-09T21:24:09Z</dc:date>
    </item>
    <item>
      <title>Re: Identify seems only to work with point geometries with BETA 2</title>
      <link>https://community.esri.com/t5/java-maps-sdk-questions/identify-seems-only-to-work-with-point-geometries/m-p/701588#M2124</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Jan,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am able to get identify to work with an envelope at Pre-Release.&amp;nbsp; Could you please try your code at Pre-Release?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 May 2012 15:28:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/java-maps-sdk-questions/identify-seems-only-to-work-with-point-geometries/m-p/701588#M2124</guid>
      <dc:creator>RalfGottschalk</dc:creator>
      <dc:date>2012-05-07T15:28:13Z</dc:date>
    </item>
    <item>
      <title>Re: Identify seems only to work with point geometries with BETA 2</title>
      <link>https://community.esri.com/t5/java-maps-sdk-questions/identify-seems-only-to-work-with-point-geometries/m-p/701589#M2125</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Ralf,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Works like a charm with the Pre-Release version.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[ATTACH=CONFIG]14631[/ATTACH]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; Jan&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 May 2012 10:47:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/java-maps-sdk-questions/identify-seems-only-to-work-with-point-geometries/m-p/701589#M2125</guid>
      <dc:creator>Jan-Tschada</dc:creator>
      <dc:date>2012-05-25T10:47:24Z</dc:date>
    </item>
  </channel>
</rss>

