<?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: At the 100.4 release, do you support the rubberband aoi box to zoom in (in 10.2.4 this was called ZoomBoxOverlay). in Java Maps SDK Questions</title>
    <link>https://community.esri.com/t5/java-maps-sdk-questions/at-the-100-4-release-do-you-support-the-rubberband/m-p/22321#M87</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry, zoom box is currently not available for 100.4 but it is quite easy to create the functionality by creating a custom interaction listener e.g.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;SPAN style="color: #cc7832;"&gt;import &lt;/SPAN&gt;com.esri.arcgisruntime.geometry.Envelope&lt;SPAN style="color: #cc7832;"&gt;;
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;import &lt;/SPAN&gt;com.esri.arcgisruntime.geometry.Point&lt;SPAN style="color: #cc7832;"&gt;;
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;import &lt;/SPAN&gt;com.esri.arcgisruntime.mapping.ArcGISMap&lt;SPAN style="color: #cc7832;"&gt;;
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;import &lt;/SPAN&gt;com.esri.arcgisruntime.mapping.Basemap&lt;SPAN style="color: #cc7832;"&gt;;
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;import &lt;/SPAN&gt;com.esri.arcgisruntime.mapping.Viewpoint&lt;SPAN style="color: #cc7832;"&gt;;
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;import &lt;/SPAN&gt;com.esri.arcgisruntime.mapping.view.Graphic&lt;SPAN style="color: #cc7832;"&gt;;
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;import &lt;/SPAN&gt;com.esri.arcgisruntime.mapping.view.GraphicsOverlay&lt;SPAN style="color: #cc7832;"&gt;;
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;import &lt;/SPAN&gt;com.esri.arcgisruntime.mapping.view.MapView&lt;SPAN style="color: #cc7832;"&gt;;
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;import &lt;/SPAN&gt;com.esri.arcgisruntime.mapping.view.MapView.DefaultInteractionListener&lt;SPAN style="color: #cc7832;"&gt;;
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;import &lt;/SPAN&gt;com.esri.arcgisruntime.symbology.SimpleFillSymbol&lt;SPAN style="color: #cc7832;"&gt;;
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;import &lt;/SPAN&gt;javafx.application.Application&lt;SPAN style="color: #cc7832;"&gt;;
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;import &lt;/SPAN&gt;javafx.application.Platform&lt;SPAN style="color: #cc7832;"&gt;;
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;import &lt;/SPAN&gt;javafx.geometry.Point2D&lt;SPAN style="color: #cc7832;"&gt;;
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;import &lt;/SPAN&gt;javafx.scene.input.MouseEvent&lt;SPAN style="color: #cc7832;"&gt;;
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;import &lt;/SPAN&gt;javafx.scene.layout.BorderPane&lt;SPAN style="color: #cc7832;"&gt;;
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;import &lt;/SPAN&gt;javafx.stage.Stage&lt;SPAN style="color: #cc7832;"&gt;;
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;public class &lt;/SPAN&gt;ZoomBoxTest &lt;SPAN style="color: #cc7832;"&gt;extends &lt;/SPAN&gt;Application {
  &lt;SPAN style="color: #cc7832;"&gt;private &lt;/SPAN&gt;MapView &lt;SPAN style="color: #9876aa;"&gt;mapView &lt;/SPAN&gt;= &lt;SPAN style="color: #cc7832;"&gt;new &lt;/SPAN&gt;MapView()&lt;SPAN style="color: #cc7832;"&gt;;
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;  &lt;/SPAN&gt;&lt;SPAN style="color: #bbb529;"&gt;@Override
&lt;/SPAN&gt;&lt;SPAN style="color: #bbb529;"&gt;  &lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;public void &lt;/SPAN&gt;&lt;SPAN style="color: #ffc66d;"&gt;start&lt;/SPAN&gt;(Stage stage) &lt;SPAN style="color: #cc7832;"&gt;throws &lt;/SPAN&gt;Exception {
    Platform.&lt;SPAN&gt;setImplicitExit&lt;/SPAN&gt;(&lt;SPAN style="color: #cc7832;"&gt;true&lt;/SPAN&gt;)&lt;SPAN style="color: #cc7832;"&gt;;
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;    &lt;/SPAN&gt;BorderPane borderPane = &lt;SPAN style="color: #cc7832;"&gt;new &lt;/SPAN&gt;BorderPane()&lt;SPAN style="color: #cc7832;"&gt;;
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;    &lt;/SPAN&gt;javafx.scene.Scene fxScene = &lt;SPAN style="color: #cc7832;"&gt;new &lt;/SPAN&gt;javafx.scene.Scene(borderPane)&lt;SPAN style="color: #cc7832;"&gt;;
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;    &lt;/SPAN&gt;stage.setWidth(&lt;SPAN style="color: #6897bb;"&gt;500&lt;/SPAN&gt;)&lt;SPAN style="color: #cc7832;"&gt;;
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;    &lt;/SPAN&gt;stage.setHeight(&lt;SPAN style="color: #6897bb;"&gt;500&lt;/SPAN&gt;)&lt;SPAN style="color: #cc7832;"&gt;;
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;    &lt;/SPAN&gt;stage.setScene(fxScene)&lt;SPAN style="color: #cc7832;"&gt;;
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;    &lt;/SPAN&gt;stage.show()&lt;SPAN style="color: #cc7832;"&gt;;
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;    &lt;/SPAN&gt;stage.show()&lt;SPAN style="color: #cc7832;"&gt;;
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;    &lt;/SPAN&gt;ArcGISMap map = &lt;SPAN style="color: #cc7832;"&gt;new &lt;/SPAN&gt;ArcGISMap(Basemap.&lt;SPAN&gt;createDarkGrayCanvasVector&lt;/SPAN&gt;())&lt;SPAN style="color: #cc7832;"&gt;;
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;    &lt;/SPAN&gt;&lt;SPAN style="color: #9876aa;"&gt;mapView&lt;/SPAN&gt;.setMap(map)&lt;SPAN style="color: #cc7832;"&gt;;
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;    &lt;/SPAN&gt;borderPane.setCenter(&lt;SPAN style="color: #9876aa;"&gt;mapView&lt;/SPAN&gt;)&lt;SPAN style="color: #cc7832;"&gt;;
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;    &lt;/SPAN&gt;&lt;SPAN style="color: #9876aa;"&gt;mapView&lt;/SPAN&gt;.setInteractionListener(&lt;SPAN style="color: #cc7832;"&gt;new &lt;/SPAN&gt;ZoomBoxInteraction(&lt;SPAN style="color: #9876aa;"&gt;mapView&lt;/SPAN&gt;))&lt;SPAN style="color: #cc7832;"&gt;;
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;  &lt;/SPAN&gt;}

  &lt;SPAN style="color: #bbb529;"&gt;@Override
&lt;/SPAN&gt;&lt;SPAN style="color: #bbb529;"&gt;  &lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;public void &lt;/SPAN&gt;&lt;SPAN style="color: #ffc66d;"&gt;stop&lt;/SPAN&gt;() {
    &lt;SPAN style="color: #cc7832;"&gt;if &lt;/SPAN&gt;(&lt;SPAN style="color: #9876aa;"&gt;mapView &lt;/SPAN&gt;!= &lt;SPAN style="color: #cc7832;"&gt;null&lt;/SPAN&gt;) {
      &lt;SPAN style="color: #9876aa;"&gt;mapView&lt;/SPAN&gt;.dispose()&lt;SPAN style="color: #cc7832;"&gt;;
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;    &lt;/SPAN&gt;}
  }

  &lt;SPAN style="color: #cc7832;"&gt;public static void &lt;/SPAN&gt;&lt;SPAN style="color: #ffc66d;"&gt;main&lt;/SPAN&gt;(String[] args) {
    Application.&lt;SPAN&gt;launch&lt;/SPAN&gt;(args)&lt;SPAN style="color: #cc7832;"&gt;;
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;  &lt;/SPAN&gt;}

  &lt;SPAN style="color: #629755;"&gt;/**
&lt;/SPAN&gt;&lt;SPAN style="color: #629755;"&gt;   * Creates an interaction listener that allows you to zoom in by defining an envelope by dragging the mouse.
&lt;/SPAN&gt;&lt;SPAN style="color: #629755;"&gt;   */
&lt;/SPAN&gt;&lt;SPAN style="color: #629755;"&gt;  &lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;class &lt;/SPAN&gt;ZoomBoxInteraction &lt;SPAN style="color: #cc7832;"&gt;extends &lt;/SPAN&gt;DefaultInteractionListener {

    &lt;SPAN style="color: #cc7832;"&gt;private &lt;/SPAN&gt;GraphicsOverlay &lt;SPAN style="color: #9876aa;"&gt;graphicsOverlay &lt;/SPAN&gt;= &lt;SPAN style="color: #cc7832;"&gt;new &lt;/SPAN&gt;GraphicsOverlay()&lt;SPAN style="color: #cc7832;"&gt;;
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;    private &lt;/SPAN&gt;Graphic &lt;SPAN style="color: #9876aa;"&gt;boxGraphic&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;;
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;    private &lt;/SPAN&gt;Envelope &lt;SPAN style="color: #9876aa;"&gt;box&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;;
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;    &lt;/SPAN&gt;Point &lt;SPAN style="color: #9876aa;"&gt;firstPoint&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;;
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;    &lt;/SPAN&gt;Point &lt;SPAN style="color: #9876aa;"&gt;lastPoint&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;;
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;    &lt;/SPAN&gt;&lt;SPAN style="color: #ffc66d;"&gt;ZoomBoxInteraction&lt;/SPAN&gt;(MapView mapView) {
      &lt;SPAN style="color: #cc7832;"&gt;super&lt;/SPAN&gt;(mapView)&lt;SPAN style="color: #cc7832;"&gt;;
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;    &lt;/SPAN&gt;}

    &lt;SPAN style="color: #bbb529;"&gt;@Override
&lt;/SPAN&gt;&lt;SPAN style="color: #bbb529;"&gt;    &lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;public void &lt;/SPAN&gt;&lt;SPAN style="color: #ffc66d;"&gt;onMousePressed&lt;/SPAN&gt;(MouseEvent e) {
      &lt;SPAN style="color: #9876aa;"&gt;mapView&lt;/SPAN&gt;.getGraphicsOverlays().add(&lt;SPAN style="color: #9876aa;"&gt;graphicsOverlay&lt;/SPAN&gt;)&lt;SPAN style="color: #cc7832;"&gt;;
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;      &lt;/SPAN&gt;&lt;SPAN style="color: #9876aa;"&gt;boxGraphic &lt;/SPAN&gt;= &lt;SPAN style="color: #cc7832;"&gt;new &lt;/SPAN&gt;Graphic()&lt;SPAN style="color: #cc7832;"&gt;;
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;      &lt;/SPAN&gt;&lt;SPAN style="color: #9876aa;"&gt;graphicsOverlay&lt;/SPAN&gt;.getGraphics().add(&lt;SPAN style="color: #9876aa;"&gt;boxGraphic&lt;/SPAN&gt;)&lt;SPAN style="color: #cc7832;"&gt;;
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;      &lt;/SPAN&gt;&lt;SPAN style="color: #9876aa;"&gt;boxGraphic&lt;/SPAN&gt;.setSymbol(&lt;SPAN style="color: #cc7832;"&gt;new &lt;/SPAN&gt;SimpleFillSymbol(SimpleFillSymbol.Style.&lt;SPAN style="color: #9876aa;"&gt;SOLID&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #6897bb;"&gt;0x88FF0000&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;, null&lt;/SPAN&gt;))&lt;SPAN style="color: #cc7832;"&gt;;
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;      &lt;/SPAN&gt;&lt;SPAN style="color: #9876aa;"&gt;firstPoint &lt;/SPAN&gt;= &lt;SPAN style="color: #9876aa;"&gt;mapView&lt;/SPAN&gt;.screenToLocation(&lt;SPAN style="color: #cc7832;"&gt;new &lt;/SPAN&gt;Point2D(e.getX()&lt;SPAN style="color: #cc7832;"&gt;, &lt;/SPAN&gt;e.getY()))&lt;SPAN style="color: #cc7832;"&gt;;
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;      &lt;/SPAN&gt;&lt;SPAN style="color: #9876aa;"&gt;lastPoint &lt;/SPAN&gt;= &lt;SPAN style="color: #9876aa;"&gt;firstPoint&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;;
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;      &lt;/SPAN&gt;&lt;SPAN style="color: #9876aa;"&gt;box &lt;/SPAN&gt;= &lt;SPAN style="color: #cc7832;"&gt;new &lt;/SPAN&gt;Envelope(&lt;SPAN style="color: #9876aa;"&gt;firstPoint&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #9876aa;"&gt;lastPoint&lt;/SPAN&gt;)&lt;SPAN style="color: #cc7832;"&gt;;
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;      &lt;/SPAN&gt;&lt;SPAN style="color: #9876aa;"&gt;boxGraphic&lt;/SPAN&gt;.setGeometry(&lt;SPAN style="color: #9876aa;"&gt;box&lt;/SPAN&gt;)&lt;SPAN style="color: #cc7832;"&gt;;
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;    &lt;/SPAN&gt;}

    &lt;SPAN style="color: #bbb529;"&gt;@Override
&lt;/SPAN&gt;&lt;SPAN style="color: #bbb529;"&gt;    &lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;public void &lt;/SPAN&gt;&lt;SPAN style="color: #ffc66d;"&gt;onMouseReleased&lt;/SPAN&gt;(MouseEvent e) {
      &lt;SPAN style="color: #9876aa;"&gt;mapView&lt;/SPAN&gt;.setViewpoint(&lt;SPAN style="color: #cc7832;"&gt;new &lt;/SPAN&gt;Viewpoint(&lt;SPAN style="color: #9876aa;"&gt;box&lt;/SPAN&gt;))&lt;SPAN style="color: #cc7832;"&gt;;
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;      &lt;/SPAN&gt;&lt;SPAN style="color: #9876aa;"&gt;mapView&lt;/SPAN&gt;.getGraphicsOverlays().remove(&lt;SPAN style="color: #9876aa;"&gt;graphicsOverlay&lt;/SPAN&gt;)&lt;SPAN style="color: #cc7832;"&gt;;
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;      &lt;/SPAN&gt;&lt;SPAN style="color: #9876aa;"&gt;graphicsOverlay&lt;/SPAN&gt;.getGraphics().clear()&lt;SPAN style="color: #cc7832;"&gt;;
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;      &lt;/SPAN&gt;&lt;SPAN style="color: #9876aa;"&gt;firstPoint &lt;/SPAN&gt;= &lt;SPAN style="color: #cc7832;"&gt;null;
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;      &lt;/SPAN&gt;&lt;SPAN style="color: #9876aa;"&gt;lastPoint &lt;/SPAN&gt;= &lt;SPAN style="color: #cc7832;"&gt;null;
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;      &lt;/SPAN&gt;&lt;SPAN style="color: #9876aa;"&gt;box &lt;/SPAN&gt;= &lt;SPAN style="color: #cc7832;"&gt;null;
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;      &lt;/SPAN&gt;&lt;SPAN style="color: #9876aa;"&gt;boxGraphic &lt;/SPAN&gt;= &lt;SPAN style="color: #cc7832;"&gt;null;
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;    &lt;/SPAN&gt;}

    &lt;SPAN style="color: #bbb529;"&gt;@Override
&lt;/SPAN&gt;&lt;SPAN style="color: #bbb529;"&gt;    &lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;public void &lt;/SPAN&gt;&lt;SPAN style="color: #ffc66d;"&gt;onMouseDragged&lt;/SPAN&gt;(MouseEvent e) {
      &lt;SPAN style="color: #9876aa;"&gt;lastPoint &lt;/SPAN&gt;= &lt;SPAN style="color: #9876aa;"&gt;mapView&lt;/SPAN&gt;.screenToLocation(&lt;SPAN style="color: #cc7832;"&gt;new &lt;/SPAN&gt;Point2D(e.getX()&lt;SPAN style="color: #cc7832;"&gt;, &lt;/SPAN&gt;e.getY()))&lt;SPAN style="color: #cc7832;"&gt;;
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;      &lt;/SPAN&gt;&lt;SPAN style="color: #9876aa;"&gt;box &lt;/SPAN&gt;= &lt;SPAN style="color: #cc7832;"&gt;new &lt;/SPAN&gt;Envelope(&lt;SPAN style="color: #9876aa;"&gt;firstPoint&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #9876aa;"&gt;lastPoint&lt;/SPAN&gt;)&lt;SPAN style="color: #cc7832;"&gt;;
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;      &lt;/SPAN&gt;&lt;SPAN style="color: #9876aa;"&gt;boxGraphic&lt;/SPAN&gt;.setGeometry(&lt;SPAN style="color: #9876aa;"&gt;box&lt;/SPAN&gt;)&lt;SPAN style="color: #cc7832;"&gt;;
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;    &lt;/SPAN&gt;}
  }
}&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is&amp;nbsp;mapview.setEnableTouchZoom(true).&amp;nbsp;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;This enables/disables zooming in/out by using a pinching touch gesture on touch enabled devices.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 10 Dec 2021 20:54:33 GMT</pubDate>
    <dc:creator>ColinAnderson1</dc:creator>
    <dc:date>2021-12-10T20:54:33Z</dc:date>
    <item>
      <title>At the 100.4 release, do you support the rubberband aoi box to zoom in (in 10.2.4 this was called ZoomBoxOverlay).</title>
      <link>https://community.esri.com/t5/java-maps-sdk-questions/at-the-100-4-release-do-you-support-the-rubberband/m-p/22320#M86</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;At the 100.4 release, do you support the rubberband aoi box to zoom in (in 10.2.4 this was called ZoomBoxOverlay). This is a very useful capability and I would hope their is similar functionality at 100.4.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is&amp;nbsp;mapview.setEnableTouchZoom(true).&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Feb 2019 05:28:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/java-maps-sdk-questions/at-the-100-4-release-do-you-support-the-rubberband/m-p/22320#M86</guid>
      <dc:creator>JerrySchultz</dc:creator>
      <dc:date>2019-02-28T05:28:20Z</dc:date>
    </item>
    <item>
      <title>Re: At the 100.4 release, do you support the rubberband aoi box to zoom in (in 10.2.4 this was called ZoomBoxOverlay).</title>
      <link>https://community.esri.com/t5/java-maps-sdk-questions/at-the-100-4-release-do-you-support-the-rubberband/m-p/22321#M87</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry, zoom box is currently not available for 100.4 but it is quite easy to create the functionality by creating a custom interaction listener e.g.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;SPAN style="color: #cc7832;"&gt;import &lt;/SPAN&gt;com.esri.arcgisruntime.geometry.Envelope&lt;SPAN style="color: #cc7832;"&gt;;
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;import &lt;/SPAN&gt;com.esri.arcgisruntime.geometry.Point&lt;SPAN style="color: #cc7832;"&gt;;
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;import &lt;/SPAN&gt;com.esri.arcgisruntime.mapping.ArcGISMap&lt;SPAN style="color: #cc7832;"&gt;;
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;import &lt;/SPAN&gt;com.esri.arcgisruntime.mapping.Basemap&lt;SPAN style="color: #cc7832;"&gt;;
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;import &lt;/SPAN&gt;com.esri.arcgisruntime.mapping.Viewpoint&lt;SPAN style="color: #cc7832;"&gt;;
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;import &lt;/SPAN&gt;com.esri.arcgisruntime.mapping.view.Graphic&lt;SPAN style="color: #cc7832;"&gt;;
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;import &lt;/SPAN&gt;com.esri.arcgisruntime.mapping.view.GraphicsOverlay&lt;SPAN style="color: #cc7832;"&gt;;
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;import &lt;/SPAN&gt;com.esri.arcgisruntime.mapping.view.MapView&lt;SPAN style="color: #cc7832;"&gt;;
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;import &lt;/SPAN&gt;com.esri.arcgisruntime.mapping.view.MapView.DefaultInteractionListener&lt;SPAN style="color: #cc7832;"&gt;;
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;import &lt;/SPAN&gt;com.esri.arcgisruntime.symbology.SimpleFillSymbol&lt;SPAN style="color: #cc7832;"&gt;;
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;import &lt;/SPAN&gt;javafx.application.Application&lt;SPAN style="color: #cc7832;"&gt;;
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;import &lt;/SPAN&gt;javafx.application.Platform&lt;SPAN style="color: #cc7832;"&gt;;
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;import &lt;/SPAN&gt;javafx.geometry.Point2D&lt;SPAN style="color: #cc7832;"&gt;;
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;import &lt;/SPAN&gt;javafx.scene.input.MouseEvent&lt;SPAN style="color: #cc7832;"&gt;;
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;import &lt;/SPAN&gt;javafx.scene.layout.BorderPane&lt;SPAN style="color: #cc7832;"&gt;;
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;import &lt;/SPAN&gt;javafx.stage.Stage&lt;SPAN style="color: #cc7832;"&gt;;
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;public class &lt;/SPAN&gt;ZoomBoxTest &lt;SPAN style="color: #cc7832;"&gt;extends &lt;/SPAN&gt;Application {
  &lt;SPAN style="color: #cc7832;"&gt;private &lt;/SPAN&gt;MapView &lt;SPAN style="color: #9876aa;"&gt;mapView &lt;/SPAN&gt;= &lt;SPAN style="color: #cc7832;"&gt;new &lt;/SPAN&gt;MapView()&lt;SPAN style="color: #cc7832;"&gt;;
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;  &lt;/SPAN&gt;&lt;SPAN style="color: #bbb529;"&gt;@Override
&lt;/SPAN&gt;&lt;SPAN style="color: #bbb529;"&gt;  &lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;public void &lt;/SPAN&gt;&lt;SPAN style="color: #ffc66d;"&gt;start&lt;/SPAN&gt;(Stage stage) &lt;SPAN style="color: #cc7832;"&gt;throws &lt;/SPAN&gt;Exception {
    Platform.&lt;SPAN&gt;setImplicitExit&lt;/SPAN&gt;(&lt;SPAN style="color: #cc7832;"&gt;true&lt;/SPAN&gt;)&lt;SPAN style="color: #cc7832;"&gt;;
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;    &lt;/SPAN&gt;BorderPane borderPane = &lt;SPAN style="color: #cc7832;"&gt;new &lt;/SPAN&gt;BorderPane()&lt;SPAN style="color: #cc7832;"&gt;;
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;    &lt;/SPAN&gt;javafx.scene.Scene fxScene = &lt;SPAN style="color: #cc7832;"&gt;new &lt;/SPAN&gt;javafx.scene.Scene(borderPane)&lt;SPAN style="color: #cc7832;"&gt;;
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;    &lt;/SPAN&gt;stage.setWidth(&lt;SPAN style="color: #6897bb;"&gt;500&lt;/SPAN&gt;)&lt;SPAN style="color: #cc7832;"&gt;;
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;    &lt;/SPAN&gt;stage.setHeight(&lt;SPAN style="color: #6897bb;"&gt;500&lt;/SPAN&gt;)&lt;SPAN style="color: #cc7832;"&gt;;
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;    &lt;/SPAN&gt;stage.setScene(fxScene)&lt;SPAN style="color: #cc7832;"&gt;;
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;    &lt;/SPAN&gt;stage.show()&lt;SPAN style="color: #cc7832;"&gt;;
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;    &lt;/SPAN&gt;stage.show()&lt;SPAN style="color: #cc7832;"&gt;;
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;    &lt;/SPAN&gt;ArcGISMap map = &lt;SPAN style="color: #cc7832;"&gt;new &lt;/SPAN&gt;ArcGISMap(Basemap.&lt;SPAN&gt;createDarkGrayCanvasVector&lt;/SPAN&gt;())&lt;SPAN style="color: #cc7832;"&gt;;
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;    &lt;/SPAN&gt;&lt;SPAN style="color: #9876aa;"&gt;mapView&lt;/SPAN&gt;.setMap(map)&lt;SPAN style="color: #cc7832;"&gt;;
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;    &lt;/SPAN&gt;borderPane.setCenter(&lt;SPAN style="color: #9876aa;"&gt;mapView&lt;/SPAN&gt;)&lt;SPAN style="color: #cc7832;"&gt;;
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;    &lt;/SPAN&gt;&lt;SPAN style="color: #9876aa;"&gt;mapView&lt;/SPAN&gt;.setInteractionListener(&lt;SPAN style="color: #cc7832;"&gt;new &lt;/SPAN&gt;ZoomBoxInteraction(&lt;SPAN style="color: #9876aa;"&gt;mapView&lt;/SPAN&gt;))&lt;SPAN style="color: #cc7832;"&gt;;
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;  &lt;/SPAN&gt;}

  &lt;SPAN style="color: #bbb529;"&gt;@Override
&lt;/SPAN&gt;&lt;SPAN style="color: #bbb529;"&gt;  &lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;public void &lt;/SPAN&gt;&lt;SPAN style="color: #ffc66d;"&gt;stop&lt;/SPAN&gt;() {
    &lt;SPAN style="color: #cc7832;"&gt;if &lt;/SPAN&gt;(&lt;SPAN style="color: #9876aa;"&gt;mapView &lt;/SPAN&gt;!= &lt;SPAN style="color: #cc7832;"&gt;null&lt;/SPAN&gt;) {
      &lt;SPAN style="color: #9876aa;"&gt;mapView&lt;/SPAN&gt;.dispose()&lt;SPAN style="color: #cc7832;"&gt;;
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;    &lt;/SPAN&gt;}
  }

  &lt;SPAN style="color: #cc7832;"&gt;public static void &lt;/SPAN&gt;&lt;SPAN style="color: #ffc66d;"&gt;main&lt;/SPAN&gt;(String[] args) {
    Application.&lt;SPAN&gt;launch&lt;/SPAN&gt;(args)&lt;SPAN style="color: #cc7832;"&gt;;
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;  &lt;/SPAN&gt;}

  &lt;SPAN style="color: #629755;"&gt;/**
&lt;/SPAN&gt;&lt;SPAN style="color: #629755;"&gt;   * Creates an interaction listener that allows you to zoom in by defining an envelope by dragging the mouse.
&lt;/SPAN&gt;&lt;SPAN style="color: #629755;"&gt;   */
&lt;/SPAN&gt;&lt;SPAN style="color: #629755;"&gt;  &lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;class &lt;/SPAN&gt;ZoomBoxInteraction &lt;SPAN style="color: #cc7832;"&gt;extends &lt;/SPAN&gt;DefaultInteractionListener {

    &lt;SPAN style="color: #cc7832;"&gt;private &lt;/SPAN&gt;GraphicsOverlay &lt;SPAN style="color: #9876aa;"&gt;graphicsOverlay &lt;/SPAN&gt;= &lt;SPAN style="color: #cc7832;"&gt;new &lt;/SPAN&gt;GraphicsOverlay()&lt;SPAN style="color: #cc7832;"&gt;;
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;    private &lt;/SPAN&gt;Graphic &lt;SPAN style="color: #9876aa;"&gt;boxGraphic&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;;
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;    private &lt;/SPAN&gt;Envelope &lt;SPAN style="color: #9876aa;"&gt;box&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;;
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;    &lt;/SPAN&gt;Point &lt;SPAN style="color: #9876aa;"&gt;firstPoint&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;;
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;    &lt;/SPAN&gt;Point &lt;SPAN style="color: #9876aa;"&gt;lastPoint&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;;
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;    &lt;/SPAN&gt;&lt;SPAN style="color: #ffc66d;"&gt;ZoomBoxInteraction&lt;/SPAN&gt;(MapView mapView) {
      &lt;SPAN style="color: #cc7832;"&gt;super&lt;/SPAN&gt;(mapView)&lt;SPAN style="color: #cc7832;"&gt;;
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;    &lt;/SPAN&gt;}

    &lt;SPAN style="color: #bbb529;"&gt;@Override
&lt;/SPAN&gt;&lt;SPAN style="color: #bbb529;"&gt;    &lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;public void &lt;/SPAN&gt;&lt;SPAN style="color: #ffc66d;"&gt;onMousePressed&lt;/SPAN&gt;(MouseEvent e) {
      &lt;SPAN style="color: #9876aa;"&gt;mapView&lt;/SPAN&gt;.getGraphicsOverlays().add(&lt;SPAN style="color: #9876aa;"&gt;graphicsOverlay&lt;/SPAN&gt;)&lt;SPAN style="color: #cc7832;"&gt;;
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;      &lt;/SPAN&gt;&lt;SPAN style="color: #9876aa;"&gt;boxGraphic &lt;/SPAN&gt;= &lt;SPAN style="color: #cc7832;"&gt;new &lt;/SPAN&gt;Graphic()&lt;SPAN style="color: #cc7832;"&gt;;
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;      &lt;/SPAN&gt;&lt;SPAN style="color: #9876aa;"&gt;graphicsOverlay&lt;/SPAN&gt;.getGraphics().add(&lt;SPAN style="color: #9876aa;"&gt;boxGraphic&lt;/SPAN&gt;)&lt;SPAN style="color: #cc7832;"&gt;;
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;      &lt;/SPAN&gt;&lt;SPAN style="color: #9876aa;"&gt;boxGraphic&lt;/SPAN&gt;.setSymbol(&lt;SPAN style="color: #cc7832;"&gt;new &lt;/SPAN&gt;SimpleFillSymbol(SimpleFillSymbol.Style.&lt;SPAN style="color: #9876aa;"&gt;SOLID&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #6897bb;"&gt;0x88FF0000&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;, null&lt;/SPAN&gt;))&lt;SPAN style="color: #cc7832;"&gt;;
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;      &lt;/SPAN&gt;&lt;SPAN style="color: #9876aa;"&gt;firstPoint &lt;/SPAN&gt;= &lt;SPAN style="color: #9876aa;"&gt;mapView&lt;/SPAN&gt;.screenToLocation(&lt;SPAN style="color: #cc7832;"&gt;new &lt;/SPAN&gt;Point2D(e.getX()&lt;SPAN style="color: #cc7832;"&gt;, &lt;/SPAN&gt;e.getY()))&lt;SPAN style="color: #cc7832;"&gt;;
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;      &lt;/SPAN&gt;&lt;SPAN style="color: #9876aa;"&gt;lastPoint &lt;/SPAN&gt;= &lt;SPAN style="color: #9876aa;"&gt;firstPoint&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;;
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;      &lt;/SPAN&gt;&lt;SPAN style="color: #9876aa;"&gt;box &lt;/SPAN&gt;= &lt;SPAN style="color: #cc7832;"&gt;new &lt;/SPAN&gt;Envelope(&lt;SPAN style="color: #9876aa;"&gt;firstPoint&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #9876aa;"&gt;lastPoint&lt;/SPAN&gt;)&lt;SPAN style="color: #cc7832;"&gt;;
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;      &lt;/SPAN&gt;&lt;SPAN style="color: #9876aa;"&gt;boxGraphic&lt;/SPAN&gt;.setGeometry(&lt;SPAN style="color: #9876aa;"&gt;box&lt;/SPAN&gt;)&lt;SPAN style="color: #cc7832;"&gt;;
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;    &lt;/SPAN&gt;}

    &lt;SPAN style="color: #bbb529;"&gt;@Override
&lt;/SPAN&gt;&lt;SPAN style="color: #bbb529;"&gt;    &lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;public void &lt;/SPAN&gt;&lt;SPAN style="color: #ffc66d;"&gt;onMouseReleased&lt;/SPAN&gt;(MouseEvent e) {
      &lt;SPAN style="color: #9876aa;"&gt;mapView&lt;/SPAN&gt;.setViewpoint(&lt;SPAN style="color: #cc7832;"&gt;new &lt;/SPAN&gt;Viewpoint(&lt;SPAN style="color: #9876aa;"&gt;box&lt;/SPAN&gt;))&lt;SPAN style="color: #cc7832;"&gt;;
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;      &lt;/SPAN&gt;&lt;SPAN style="color: #9876aa;"&gt;mapView&lt;/SPAN&gt;.getGraphicsOverlays().remove(&lt;SPAN style="color: #9876aa;"&gt;graphicsOverlay&lt;/SPAN&gt;)&lt;SPAN style="color: #cc7832;"&gt;;
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;      &lt;/SPAN&gt;&lt;SPAN style="color: #9876aa;"&gt;graphicsOverlay&lt;/SPAN&gt;.getGraphics().clear()&lt;SPAN style="color: #cc7832;"&gt;;
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;      &lt;/SPAN&gt;&lt;SPAN style="color: #9876aa;"&gt;firstPoint &lt;/SPAN&gt;= &lt;SPAN style="color: #cc7832;"&gt;null;
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;      &lt;/SPAN&gt;&lt;SPAN style="color: #9876aa;"&gt;lastPoint &lt;/SPAN&gt;= &lt;SPAN style="color: #cc7832;"&gt;null;
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;      &lt;/SPAN&gt;&lt;SPAN style="color: #9876aa;"&gt;box &lt;/SPAN&gt;= &lt;SPAN style="color: #cc7832;"&gt;null;
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;      &lt;/SPAN&gt;&lt;SPAN style="color: #9876aa;"&gt;boxGraphic &lt;/SPAN&gt;= &lt;SPAN style="color: #cc7832;"&gt;null;
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;    &lt;/SPAN&gt;}

    &lt;SPAN style="color: #bbb529;"&gt;@Override
&lt;/SPAN&gt;&lt;SPAN style="color: #bbb529;"&gt;    &lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;public void &lt;/SPAN&gt;&lt;SPAN style="color: #ffc66d;"&gt;onMouseDragged&lt;/SPAN&gt;(MouseEvent e) {
      &lt;SPAN style="color: #9876aa;"&gt;lastPoint &lt;/SPAN&gt;= &lt;SPAN style="color: #9876aa;"&gt;mapView&lt;/SPAN&gt;.screenToLocation(&lt;SPAN style="color: #cc7832;"&gt;new &lt;/SPAN&gt;Point2D(e.getX()&lt;SPAN style="color: #cc7832;"&gt;, &lt;/SPAN&gt;e.getY()))&lt;SPAN style="color: #cc7832;"&gt;;
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;      &lt;/SPAN&gt;&lt;SPAN style="color: #9876aa;"&gt;box &lt;/SPAN&gt;= &lt;SPAN style="color: #cc7832;"&gt;new &lt;/SPAN&gt;Envelope(&lt;SPAN style="color: #9876aa;"&gt;firstPoint&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #9876aa;"&gt;lastPoint&lt;/SPAN&gt;)&lt;SPAN style="color: #cc7832;"&gt;;
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;      &lt;/SPAN&gt;&lt;SPAN style="color: #9876aa;"&gt;boxGraphic&lt;/SPAN&gt;.setGeometry(&lt;SPAN style="color: #9876aa;"&gt;box&lt;/SPAN&gt;)&lt;SPAN style="color: #cc7832;"&gt;;
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;    &lt;/SPAN&gt;}
  }
}&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is&amp;nbsp;mapview.setEnableTouchZoom(true).&amp;nbsp;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;This enables/disables zooming in/out by using a pinching touch gesture on touch enabled devices.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Dec 2021 20:54:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/java-maps-sdk-questions/at-the-100-4-release-do-you-support-the-rubberband/m-p/22321#M87</guid>
      <dc:creator>ColinAnderson1</dc:creator>
      <dc:date>2021-12-10T20:54:33Z</dc:date>
    </item>
  </channel>
</rss>

