<?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 Capturing mouse movement over a MapView in ArcGIS AppStudio Questions</title>
    <link>https://community.esri.com/t5/arcgis-appstudio-questions/capturing-mouse-movement-over-a-mapview/m-p/793722#M1111</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is there any way to capture the mouse movement over a MapView?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The mousePositionChanged signal documentation is slightly mis-leading, because it only fires when the mouse button is held down while the mouse is moved. I'm looking for a signal similar to the onPositionChanged signal of a MouseArea.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried placing a MouseArea over my mapview, but then nothing propagates through to the MapView, i.e. can't pan or click (although mouse wheel zooming seems to work!?). I tried manually triggering all the MapView mouse signals (e.g. whenever the mouse area pressed signal fires I called mapView.mousePressed(mouse) etc) but still couldn't pan/move the map around.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I guess I'm asking for either of two things:&lt;/P&gt;&lt;P&gt;1) a way to capture the mouse hover movement over a MapView so I don't have to use a MouseArea at all (my preference)&lt;/P&gt;&lt;P&gt;2) a way to place a MouseArea over a MapView to capture the mouse hover movement but still be able to navigate the map underneath.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV style="color: #4c4c4c; font-family: 'Avenir Next W01', 'Avenir Next W00', 'Avenir Next', Avenir, 'Helvetica Neue', sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff; text-decoration-style: initial; text-decoration-color: initial;"&gt;&lt;DIV&gt;&lt;TABLE style="margin-bottom: 1.5rem; width: 1003.2px; background-color: #ffffff; border-collapse: collapse; border-spacing: 0px; border: 1px solid #cccccc; text-align: left; overflow: auto; font-size: 0.875rem; line-height: 1.5;"&gt;&lt;TBODY style="overflow: auto; width: 1003.2px;"&gt;&lt;TR style="border-bottom: none; text-align: left;" valign="top"&gt;&lt;TD style="font-weight: 300; border-left: 1px solid #cccccc; border-right: 1px solid #cccccc; padding: 0.5rem; font-size: 1.69949rem; line-height: 1.3875; background-color: #c4bcdc; animation: hilite 2s ease 0s 1 normal none running;"&gt;&lt;P style="margin: 0px;"&gt;&lt;SPAN&gt;mousePositionChanged&lt;/SPAN&gt;(&lt;SPAN&gt;&lt;A href="https://developers.arcgis.com/qt/latest/qml/api-reference/qml-esri-arcgisruntime-mouseevent.html" style="color: #0079c1; text-decoration: none;"&gt;MouseEvent&lt;/A&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;mouse&lt;/EM&gt;)&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV style="color: #4c4c4c; font-family: 'Avenir Next W01', 'Avenir Next W00', 'Avenir Next', Avenir, 'Helvetica Neue', sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff; text-decoration-style: initial; text-decoration-color: initial;"&gt;&lt;P style="margin-top: 0px; margin-bottom: 1.5rem;"&gt;Emitted when the mouse is moved over the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://developers.arcgis.com/qt/latest/qml/api-reference/qml-esri-arcgisruntime-geoview.html" style="color: #0079c1; text-decoration: none;"&gt;GeoView&lt;/A&gt;.&lt;/P&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 12 Oct 2018 08:22:43 GMT</pubDate>
    <dc:creator>Anonymous User</dc:creator>
    <dc:date>2018-10-12T08:22:43Z</dc:date>
    <item>
      <title>Capturing mouse movement over a MapView</title>
      <link>https://community.esri.com/t5/arcgis-appstudio-questions/capturing-mouse-movement-over-a-mapview/m-p/793722#M1111</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is there any way to capture the mouse movement over a MapView?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The mousePositionChanged signal documentation is slightly mis-leading, because it only fires when the mouse button is held down while the mouse is moved. I'm looking for a signal similar to the onPositionChanged signal of a MouseArea.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried placing a MouseArea over my mapview, but then nothing propagates through to the MapView, i.e. can't pan or click (although mouse wheel zooming seems to work!?). I tried manually triggering all the MapView mouse signals (e.g. whenever the mouse area pressed signal fires I called mapView.mousePressed(mouse) etc) but still couldn't pan/move the map around.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I guess I'm asking for either of two things:&lt;/P&gt;&lt;P&gt;1) a way to capture the mouse hover movement over a MapView so I don't have to use a MouseArea at all (my preference)&lt;/P&gt;&lt;P&gt;2) a way to place a MouseArea over a MapView to capture the mouse hover movement but still be able to navigate the map underneath.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV style="color: #4c4c4c; font-family: 'Avenir Next W01', 'Avenir Next W00', 'Avenir Next', Avenir, 'Helvetica Neue', sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff; text-decoration-style: initial; text-decoration-color: initial;"&gt;&lt;DIV&gt;&lt;TABLE style="margin-bottom: 1.5rem; width: 1003.2px; background-color: #ffffff; border-collapse: collapse; border-spacing: 0px; border: 1px solid #cccccc; text-align: left; overflow: auto; font-size: 0.875rem; line-height: 1.5;"&gt;&lt;TBODY style="overflow: auto; width: 1003.2px;"&gt;&lt;TR style="border-bottom: none; text-align: left;" valign="top"&gt;&lt;TD style="font-weight: 300; border-left: 1px solid #cccccc; border-right: 1px solid #cccccc; padding: 0.5rem; font-size: 1.69949rem; line-height: 1.3875; background-color: #c4bcdc; animation: hilite 2s ease 0s 1 normal none running;"&gt;&lt;P style="margin: 0px;"&gt;&lt;SPAN&gt;mousePositionChanged&lt;/SPAN&gt;(&lt;SPAN&gt;&lt;A href="https://developers.arcgis.com/qt/latest/qml/api-reference/qml-esri-arcgisruntime-mouseevent.html" style="color: #0079c1; text-decoration: none;"&gt;MouseEvent&lt;/A&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;mouse&lt;/EM&gt;)&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV style="color: #4c4c4c; font-family: 'Avenir Next W01', 'Avenir Next W00', 'Avenir Next', Avenir, 'Helvetica Neue', sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff; text-decoration-style: initial; text-decoration-color: initial;"&gt;&lt;P style="margin-top: 0px; margin-bottom: 1.5rem;"&gt;Emitted when the mouse is moved over the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://developers.arcgis.com/qt/latest/qml/api-reference/qml-esri-arcgisruntime-geoview.html" style="color: #0079c1; text-decoration: none;"&gt;GeoView&lt;/A&gt;.&lt;/P&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Oct 2018 08:22:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-appstudio-questions/capturing-mouse-movement-over-a-mapview/m-p/793722#M1111</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2018-10-12T08:22:43Z</dc:date>
    </item>
    <item>
      <title>Re: Capturing mouse movement over a MapView</title>
      <link>https://community.esri.com/t5/arcgis-appstudio-questions/capturing-mouse-movement-over-a-mapview/m-p/793723#M1112</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Looping in &lt;A href="https://community.esri.com/space/2136"&gt;ArcGIS Runtime SDK for Qt&lt;/A&gt;‌ to see if people in that group have an explanation to the mis-leading&amp;nbsp;documentation and explanation on the mouse event.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Oct 2018 22:19:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-appstudio-questions/capturing-mouse-movement-over-a-mapview/m-p/793723#M1112</guid>
      <dc:creator>ErwinSoekianto</dc:creator>
      <dc:date>2018-10-12T22:19:44Z</dc:date>
    </item>
    <item>
      <title>Re: Capturing mouse movement over a MapView</title>
      <link>https://community.esri.com/t5/arcgis-appstudio-questions/capturing-mouse-movement-over-a-mapview/m-p/793724#M1113</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Looks like we need to add some clarification to our doc. You can accomplish this with a MouseArea and accepting the mouse events to let everything propagate through.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;MapView &lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; id&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt; mapView
&amp;nbsp;&amp;nbsp;&amp;nbsp; anchors&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;fill&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt; parent
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="comment token"&gt;// add a map to the mapview&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; Map &lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="comment token"&gt;// add the BasemapTopographic basemap to the map&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; BasemapTopographic &lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 

&amp;nbsp;&amp;nbsp;&amp;nbsp; MouseArea &lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; id&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt; mouseArea
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; anchors&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;fill&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt; parent
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; hoverEnabled&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;true&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; onMouseXChanged&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; console&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;log&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;mouse&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;x&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; mouse&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;y&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; onPressed&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt; mouse&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;accepted &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;false&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;
&lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 09:07:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-appstudio-questions/capturing-mouse-movement-over-a-mapview/m-p/793724#M1113</guid>
      <dc:creator>LucasDanzinger</dc:creator>
      <dc:date>2021-12-12T09:07:57Z</dc:date>
    </item>
  </channel>
</rss>

