<?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 How to use the middle mouse button to pan a map in ArcGIS AppStudio Questions</title>
    <link>https://community.esri.com/t5/arcgis-appstudio-questions/how-to-use-the-middle-mouse-button-to-pan-a-map/m-p/869806#M3278</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is there any easy way to change the default mouse button used for panning a MapView on desktop (e.g. Windows/Mac) for the mouse?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By default, clicking and dragging the left mouse button pans the map around. I have a use case where some users would prefer to use the middle mouse button (I.e. typically the mouse wheel) for this. They are used to CAD programs that do this, where clicking with the left button is reserved for drawing and selection stuff and the middle button pans around. For them, this is intuitive and much faster.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The only way I can think is to place a MouseArea over the map, capture all mouse events and somehow manually pass them through to the MapView, somehow switching out a left click for middle when panning. But I'm not really even sure how to manually cause the map to pan, except by making it zoom to a point location to follow the mouse, which I expect would be quite slow and not keep up with the mouse movement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas? It would be great if there was a property on the MapView object that could control this perhaps?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/migrated-users/25477"&gt;Lucas Danzinger&lt;/A&gt;‌&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 13 Feb 2019 15:07:01 GMT</pubDate>
    <dc:creator>Anonymous User</dc:creator>
    <dc:date>2019-02-13T15:07:01Z</dc:date>
    <item>
      <title>How to use the middle mouse button to pan a map</title>
      <link>https://community.esri.com/t5/arcgis-appstudio-questions/how-to-use-the-middle-mouse-button-to-pan-a-map/m-p/869806#M3278</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is there any easy way to change the default mouse button used for panning a MapView on desktop (e.g. Windows/Mac) for the mouse?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By default, clicking and dragging the left mouse button pans the map around. I have a use case where some users would prefer to use the middle mouse button (I.e. typically the mouse wheel) for this. They are used to CAD programs that do this, where clicking with the left button is reserved for drawing and selection stuff and the middle button pans around. For them, this is intuitive and much faster.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The only way I can think is to place a MouseArea over the map, capture all mouse events and somehow manually pass them through to the MapView, somehow switching out a left click for middle when panning. But I'm not really even sure how to manually cause the map to pan, except by making it zoom to a point location to follow the mouse, which I expect would be quite slow and not keep up with the mouse movement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas? It would be great if there was a property on the MapView object that could control this perhaps?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/migrated-users/25477"&gt;Lucas Danzinger&lt;/A&gt;‌&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Feb 2019 15:07:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-appstudio-questions/how-to-use-the-middle-mouse-button-to-pan-a-map/m-p/869806#M3278</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2019-02-13T15:07:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to use the middle mouse button to pan a map</title>
      <link>https://community.esri.com/t5/arcgis-appstudio-questions/how-to-use-the-middle-mouse-button-to-pan-a-map/m-p/869807#M3279</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Paul, We don't have a simple way to switch this in the API. You'd need to override everything and handle it yourself.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Feb 2019 15:49:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-appstudio-questions/how-to-use-the-middle-mouse-button-to-pan-a-map/m-p/869807#M3279</guid>
      <dc:creator>LucasDanzinger</dc:creator>
      <dc:date>2019-02-13T15:49:10Z</dc:date>
    </item>
  </channel>
</rss>

