<?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: Disable pan/zoom while editing in ArcGIS API for Silverlight Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/disable-pan-zoom-while-editing/m-p/454100#M11737</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Truth be told it is causing some trouble. I'm working with a tabletop that registers touches very frequently, so that tap is often read as two or more touches close together, triggering a map scroll or map zoom. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It's a problem with the hardware, but since I can't correct that, I was hoping I could compensate by switching off scroll and zoom while any of the edit controls are enabled.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 17 Jun 2011 19:48:28 GMT</pubDate>
    <dc:creator>PatrickKing</dc:creator>
    <dc:date>2011-06-17T19:48:28Z</dc:date>
    <item>
      <title>Disable pan/zoom while editing</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/disable-pan-zoom-while-editing/m-p/454096#M11733</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello, &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm looking for a way to reversibly turn off map panning and zooming while using a Draw object with editing enabled, since these functions are being activated accidentally while using touch devices to edit. I have tried setting zoom and pan durations to zero, but this didn't seem to have any effect. I have also tried setting IsEnabled, IsManipulationEnabled, and IsHitTestVisible on the map object, but these end up blocking both pan and edit inputs from reaching the map. Is there anything I've missed?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jun 2011 00:12:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/disable-pan-zoom-while-editing/m-p/454096#M11733</guid>
      <dc:creator>PatrickKing</dc:creator>
      <dc:date>2011-06-14T00:12:48Z</dc:date>
    </item>
    <item>
      <title>Re: Disable pan/zoom while editing</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/disable-pan-zoom-while-editing/m-p/454097#M11734</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;When Draw or Editor is active, map navigation (pan/zoom) already gets disabled. Because mouse and touch events are being handled by Draw and Editor. Are you saying this does not work? &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;What version of the API are you using? Can you give us steps to reproduce the issue? Maybe try the following samples with your touch-enabled device: &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#DrawGraphics"&gt;http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#DrawGraphics&lt;/A&gt;&lt;SPAN&gt; and &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#EditToolsAutoSave"&gt;http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#EditToolsAutoSave&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2011 00:32:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/disable-pan-zoom-while-editing/m-p/454097#M11734</guid>
      <dc:creator>JenniferNery</dc:creator>
      <dc:date>2011-06-16T00:32:36Z</dc:date>
    </item>
    <item>
      <title>Re: Disable pan/zoom while editing</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/disable-pan-zoom-while-editing/m-p/454098#M11735</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 tried the samples you suggested, and both of them work in the same way as my application. When clicking and editing, no drag and scroll is possible, but when using touches it is possible to scroll with some of the tools. The point, line segment, and polygon tools add a new point on touch, and scroll the map on touch and drag. The rectangle region, freehand line and freehand polygon tools do not scroll on touch and drag, they draw the feature as normal. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I think I read elsewhere on the forum this is the expected behaviour for the draw object, since being able to scroll while adding features can be useful. Or am I mistaken? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We have several touch devices, some with better precision than others, and on the lower precision devices it's proving difficult to enter points without triggering the scroll behaviour. The device I do development on is a Dell ST2220T touch monitor, but all of the devices show the same behaviour, so I assume it has to do with ArcGIS. The WPF API version is 2.1.0.446.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks! &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Patrick&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jun 2011 17:55:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/disable-pan-zoom-while-editing/m-p/454098#M11735</guid>
      <dc:creator>PatrickKing</dc:creator>
      <dc:date>2011-06-17T17:55:51Z</dc:date>
    </item>
    <item>
      <title>Re: Disable pan/zoom while editing</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/disable-pan-zoom-while-editing/m-p/454099#M11736</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Ah yes. That is correct, drawing and editing using touch does not completely disable map navigation. This is especially useful for WindowsPhone7 apps. Are you seeing a problem with this design?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jun 2011 18:37:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/disable-pan-zoom-while-editing/m-p/454099#M11736</guid>
      <dc:creator>JenniferNery</dc:creator>
      <dc:date>2011-06-17T18:37:06Z</dc:date>
    </item>
    <item>
      <title>Re: Disable pan/zoom while editing</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/disable-pan-zoom-while-editing/m-p/454100#M11737</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Truth be told it is causing some trouble. I'm working with a tabletop that registers touches very frequently, so that tap is often read as two or more touches close together, triggering a map scroll or map zoom. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It's a problem with the hardware, but since I can't correct that, I was hoping I could compensate by switching off scroll and zoom while any of the edit controls are enabled.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jun 2011 19:48:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/disable-pan-zoom-while-editing/m-p/454100#M11737</guid>
      <dc:creator>PatrickKing</dc:creator>
      <dc:date>2011-06-17T19:48:28Z</dc:date>
    </item>
    <item>
      <title>Re: Disable pan/zoom while editing</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/disable-pan-zoom-while-editing/m-p/454101#M11738</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;If it's just zooming you want to avoid, I think you can susbscribe to Map.MapGesture event and mark it handled. Touch events get translated to mouse events so panning cannot be turned off this way, unless you mark MouseLeftButtonDown to handled as well.&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
private void MyMap_MapGesture(object sender, Map.MapGestureEventArgs e)
{
 e.Handled = true;
}
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 20:15:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/disable-pan-zoom-while-editing/m-p/454101#M11738</guid>
      <dc:creator>JenniferNery</dc:creator>
      <dc:date>2021-12-11T20:15:02Z</dc:date>
    </item>
    <item>
      <title>Re: Disable pan/zoom while editing</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/disable-pan-zoom-while-editing/m-p/454102#M11739</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;private void MyMap_MapGesture(object sender, Map.MapGestureEventArgs e)
{
 e.Handled = true;
}&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I had a chance to look into this issue again. The code suggested has the effect of stopping all input to the map, panning, zooming and editing, while using touch input. Because manipulation needs to be enabled in order for the map to register touch events properly, they are marked handled and touches are not promoted to clicks. The project is moving on, it looks like I will have to leave this issue alone for now...&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 20:15:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/disable-pan-zoom-while-editing/m-p/454102#M11739</guid>
      <dc:creator>PatrickKing</dc:creator>
      <dc:date>2021-12-11T20:15:05Z</dc:date>
    </item>
    <item>
      <title>Re: Disable pan/zoom while editing</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/disable-pan-zoom-while-editing/m-p/454103#M11740</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;SPAN&gt;I have the exact same problem as you! so did you managed to solve it or left it as it is?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope you will share your solution if you find one in the future. Thanks!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jun 2011 23:57:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/disable-pan-zoom-while-editing/m-p/454103#M11740</guid>
      <dc:creator>Hwee_KiangSim</dc:creator>
      <dc:date>2011-06-29T23:57:00Z</dc:date>
    </item>
  </channel>
</rss>

