<?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: Responsive label displaying symbol name and coordinates and block zoom due to mouse events on map in Qt Maps SDK Questions</title>
    <link>https://community.esri.com/t5/qt-maps-sdk-questions/responsive-label-displaying-symbol-name-and/m-p/1015702#M3901</link>
    <description>&lt;P&gt;The QML callout draws a shape using a Canvas and then displays it on the screen using the&amp;nbsp; LocationToScreen API. Whenever the MapView's viewpoint changes, the draw location is updated with a new screen point. I think you could use the same workflow for your widgets based app. Here is an example workflow:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- Get the Point location of your feature&lt;/P&gt;&lt;P&gt;- Call locationToScreen and pass in your features geometry -&amp;nbsp;&lt;A href="https://developers.arcgis.com/qt/latest/cpp/api-reference/esri-arcgisruntime-mapview.html" target="_blank"&gt;https://developers.arcgis.com/qt/latest/cpp/api-reference/esri-arcgisruntime-mapview.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;- Display your graphic at that location&lt;/P&gt;&lt;P&gt;- Whenever the MapView's viewpoint changes (user pans/zooms), re execute this routine&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 11 Jan 2021 19:54:54 GMT</pubDate>
    <dc:creator>LucasDanzinger</dc:creator>
    <dc:date>2021-01-11T19:54:54Z</dc:date>
    <item>
      <title>Responsive label displaying symbol name and coordinates and block zoom due to mouse events on map</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/responsive-label-displaying-symbol-name-and/m-p/1013460#M3897</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am using arcgis 100.6 and qt version 5.12.&lt;/P&gt;&lt;P&gt;I want to identify graphics on my map on mouse click and display the respective graphic attributes such as name and coordinates. In order to achieve this I want to use a responsive label i.e the label geometry should change as per zoom scale. Another issue is that whenever I click on graphics the map is zoomed in due to the mouseEvent. I am not using the arcgis callout api as I dont want to use any qml code in my application.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Currently my application appears as follows:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="label_astooltip.png" style="width: 464px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/3118iE52BD51B4EBE2A2F/image-dimensions/464x343?v=v2" width="464" height="343" role="button" title="label_astooltip.png" alt="label_astooltip.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Fig 1. On click on graphics it is identified and label is displayed&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="label_astooltip2.png" style="width: 436px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/3119i8F50C2B0C305CCA1/image-dimensions/436x322?v=v2" width="436" height="322" role="button" title="label_astooltip2.png" alt="label_astooltip2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Fig 2. On zooming out label geometry remains unchanged&lt;/P&gt;&lt;P&gt;1. Is it possible to achieve such responsive labels on map (geometry changing as per zoom scale)&lt;/P&gt;&lt;P&gt;2. and at the same time block zoom in due to mouse events whenever graphic is clicked ?&lt;/P&gt;</description>
      <pubDate>Sun, 03 Jan 2021 18:30:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/responsive-label-displaying-symbol-name-and/m-p/1013460#M3897</guid>
      <dc:creator>AbhijeetSatam</dc:creator>
      <dc:date>2021-01-03T18:30:48Z</dc:date>
    </item>
    <item>
      <title>Re: Responsive label displaying symbol name and coordinates and block zoom due to mouse events on map</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/responsive-label-displaying-symbol-name-and/m-p/1015702#M3901</link>
      <description>&lt;P&gt;The QML callout draws a shape using a Canvas and then displays it on the screen using the&amp;nbsp; LocationToScreen API. Whenever the MapView's viewpoint changes, the draw location is updated with a new screen point. I think you could use the same workflow for your widgets based app. Here is an example workflow:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- Get the Point location of your feature&lt;/P&gt;&lt;P&gt;- Call locationToScreen and pass in your features geometry -&amp;nbsp;&lt;A href="https://developers.arcgis.com/qt/latest/cpp/api-reference/esri-arcgisruntime-mapview.html" target="_blank"&gt;https://developers.arcgis.com/qt/latest/cpp/api-reference/esri-arcgisruntime-mapview.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;- Display your graphic at that location&lt;/P&gt;&lt;P&gt;- Whenever the MapView's viewpoint changes (user pans/zooms), re execute this routine&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Jan 2021 19:54:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/responsive-label-displaying-symbol-name-and/m-p/1015702#M3901</guid>
      <dc:creator>LucasDanzinger</dc:creator>
      <dc:date>2021-01-11T19:54:54Z</dc:date>
    </item>
  </channel>
</rss>

