<?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 Rubberband AOI in Java Maps SDK Questions</title>
    <link>https://community.esri.com/t5/java-maps-sdk-questions/rubberband-aoi/m-p/633300#M1937</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Is there a plan to support the standard zooming in a JMap using rubberbanding (Shift-leftmouse button) ?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 21 May 2013 19:25:34 GMT</pubDate>
    <dc:creator>JerrySchultz</dc:creator>
    <dc:date>2013-05-21T19:25:34Z</dc:date>
    <item>
      <title>Rubberband AOI</title>
      <link>https://community.esri.com/t5/java-maps-sdk-questions/rubberband-aoi/m-p/633300#M1937</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Is there a plan to support the standard zooming in a JMap using rubberbanding (Shift-leftmouse button) ?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 May 2013 19:25:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/java-maps-sdk-questions/rubberband-aoi/m-p/633300#M1937</guid>
      <dc:creator>JerrySchultz</dc:creator>
      <dc:date>2013-05-21T19:25:34Z</dc:date>
    </item>
    <item>
      <title>Re: Rubberband AOI</title>
      <link>https://community.esri.com/t5/java-maps-sdk-questions/rubberband-aoi/m-p/633301#M1938</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You can do it with the current release (10.1.1) using the API.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We've got a sample which demonstrates exactly this functionality.&amp;nbsp; Take a look at Toolkit -&amp;gt; Overlays -&amp;gt; Switch Overlays&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Press the "Zoom Box" button to see it in action.&amp;nbsp; All of the code for this is in the sample application too.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Let me know if this helps&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Mark&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 May 2013 14:28:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/java-maps-sdk-questions/rubberband-aoi/m-p/633301#M1938</guid>
      <dc:creator>MarkBaird</dc:creator>
      <dc:date>2013-05-24T14:28:16Z</dc:date>
    </item>
    <item>
      <title>Re: Rubberband AOI</title>
      <link>https://community.esri.com/t5/java-maps-sdk-questions/rubberband-aoi/m-p/633302#M1939</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I tried with the example provided, there are some some inputs::&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;in the provided functionality- you have to click mouse 4 times. in order to complete the rectangle to zoom in/out.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;but this I would like to do like this::&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;When user clicks on Map using Left Mouse button and then drag the mouse (Keeping the Mouse button pressed; and while dragging it should draw the rectangle also.), and when use &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;releases the mouse, it should draw the rectangle and zoom in/out.&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;This also save the end user's time. and its very user friendly also. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have attached the screenshot of the same tool available in ArcMap also.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can you help me how can i achieve this. I have to write the custom code for this. so can you please guide me in this.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Jun 2013 11:20:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/java-maps-sdk-questions/rubberband-aoi/m-p/633302#M1939</guid>
      <dc:creator>RavindraSingh</dc:creator>
      <dc:date>2013-06-03T11:20:23Z</dc:date>
    </item>
    <item>
      <title>Re: Rubberband AOI</title>
      <link>https://community.esri.com/t5/java-maps-sdk-questions/rubberband-aoi/m-p/633303#M1940</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;BLOCKQUOTE class="jive-quote"&gt;I tried with the example provided, there are some some inputs::&lt;BR /&gt;in the provided functionality- you have to click mouse 4 times. in order to complete the rectangle to zoom in/out.&lt;BR /&gt;but this I would like to do like this::&lt;BR /&gt;When user clicks on Map using Left Mouse button and then drag the mouse (Keeping the Mouse button pressed; and while dragging it should draw the rectangle also.), and when use &lt;BR /&gt;releases the mouse, it should draw the rectangle and zoom in/out.&amp;nbsp;&amp;nbsp; &lt;BR /&gt;This also save the end user's time. and its very user friendly also. &lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The sample 'Switch Overlays' that Mark mentioned has exactly the functionality you describe above. When you click the 'Zoom Box Overlay' button, the overlay gets activated. Now you can press the mouse to get the initial corner of the zoom box, then drag and see the rectangle being drawn, and when you release the mouse it zooms to this rectangle/envelope.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The source code for this is in the toolkit, the class is called ZoomBoxOverlay (com.esri.client.toolkit.overlays). You can get to the source code via your IDE by adding the toolkit jar to a project and expanding the classes as appropriate, or the toolkit sources jar is in &amp;lt;install location&amp;gt;/sdk/jars called ArcGIS_Runtime_Java_Toolkit-sources which you can unzip and browse through.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;~elise&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Jun 2013 09:56:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/java-maps-sdk-questions/rubberband-aoi/m-p/633303#M1940</guid>
      <dc:creator>EliseAcheson1</dc:creator>
      <dc:date>2013-06-04T09:56:21Z</dc:date>
    </item>
  </channel>
</rss>

