<?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: Map Flickering on changing graphics in the overlays in Qt Maps SDK Questions</title>
    <link>https://community.esri.com/t5/qt-maps-sdk-questions/map-flickering-on-changing-graphics-in-the/m-p/1564862#M5378</link>
    <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/838735"&gt;@anmy&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;Given your current implementation, with the amount of graphics being drawn it might be hard to avoid a flicker. Maybe `ClassBreaksRenderer` would be a good candidate for you? Here is a sample showing it's use,&amp;nbsp;&lt;A href="https://github.com/Esri/arcgis-maps-sdk-samples-qt/tree/main/CppSamples/Layers/ChangeSublayerRenderer" target="_blank"&gt;https://github.com/Esri/arcgis-maps-sdk-samples-qt/tree/main/CppSamples/Layers/ChangeSublayerRenderer&lt;/A&gt;.&lt;BR /&gt;&lt;BR /&gt;I am unsure of how you are getting the temperature and audio intensity data but I think setting the overlays renderer to ClassBreaksRenderer with ClassBreaks defined at the specified ranges you want could work in your case and I would expect better performance as well.&lt;BR /&gt;&lt;BR /&gt;What do you think?&lt;/P&gt;</description>
    <pubDate>Wed, 04 Dec 2024 20:13:34 GMT</pubDate>
    <dc:creator>JaredCaccamo</dc:creator>
    <dc:date>2024-12-04T20:13:34Z</dc:date>
    <item>
      <title>Map Flickering on changing graphics in the overlays</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/map-flickering-on-changing-graphics-in-the/m-p/1544662#M5318</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;All below is applicable for ArcGIS Maps SDK for Qt 200.2.0.3963, but with earlier versions the behavior is the same.&lt;/P&gt;&lt;P&gt;We are using overlays in GraphicsRenderingMode::Dynamic, but also tried to change to GraphicsRenderingMode::Static, which differs just a bit.&lt;/P&gt;&lt;P&gt;Another thing is that we add a new shape in a newly created overlay and remove a previous overlay of the same shape. I've found this thread &lt;A href="https://community.esri.com/t5/qt-maps-sdk-questions/graphicoverlay-on-mapview-blinking-how-to-fix/m-p/1014748" target="_blank"&gt;https://community.esri.com/t5/qt-maps-sdk-questions/graphicoverlay-on-mapview-blinking-how-to-fix/m-p/1014748&lt;/A&gt; about the very similar problem. The issue with this is that putting a shape in an existing overlay, leads to the situation that the existing overlay still contains rendering results of a previous shape, which leads to keeping an obsolete data in the picture. Removing of a previous shape from the overlay doesn't change anything.&lt;/P&gt;&lt;P&gt;Could you give some advices or/and propose approaches how to avoid/reduce the flickering?&lt;/P&gt;</description>
      <pubDate>Wed, 02 Oct 2024 10:21:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/map-flickering-on-changing-graphics-in-the/m-p/1544662#M5318</guid>
      <dc:creator>anmy</dc:creator>
      <dc:date>2024-10-02T10:21:52Z</dc:date>
    </item>
    <item>
      <title>Re: Map Flickering on changing graphics in the overlays</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/map-flickering-on-changing-graphics-in-the/m-p/1545278#M5321</link>
      <description>&lt;P&gt;Could you add some details about what your workflow is? Is it simply adding graphics on top of each other with the same symbology? A code snippet that illustrates the issue so we can reproduce it would be great.&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Lucas&lt;/P&gt;</description>
      <pubDate>Thu, 03 Oct 2024 17:03:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/map-flickering-on-changing-graphics-in-the/m-p/1545278#M5321</guid>
      <dc:creator>LucasDanzinger</dc:creator>
      <dc:date>2024-10-03T17:03:17Z</dc:date>
    </item>
    <item>
      <title>Re: Map Flickering on changing graphics in the overlays</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/map-flickering-on-changing-graphics-in-the/m-p/1550849#M5347</link>
      <description>&lt;P&gt;Thanks for your replay, Lucas.&lt;/P&gt;&lt;P&gt;It's adding of simple (might be overlapped by borders) graphics, but with quite a lot of differently colored symbols, which are changing, as the coloring is changing over time.&lt;/P&gt;&lt;P&gt;I am adding a minimal reproducible code here. It's based on the example&amp;nbsp;&lt;A href="https://github.com/Esri/arcgis-maps-sdk-samples-qt/tree/main/CppSamples/DisplayInformation/GODictionaryRenderer" target="_blank"&gt;arcgis-maps-sdk-samples-qt/CppSamples/DisplayInformation/GODictionaryRenderer at main · Esri/arcgis-maps-sdk-samples-qt · GitHub&lt;/A&gt;, but doesn't use any offline data and the DictionaryRenderer itself, just as the base.&lt;/P&gt;&lt;P&gt;As you can see in the video, it doesn't blink on every update, but still we have complains from our customers, as sometimes it happens quite often and too hard for eyes.&lt;/P&gt;&lt;P&gt;We are glad to hear about any alternative approaches.&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Anton&lt;/P&gt;</description>
      <pubDate>Tue, 22 Oct 2024 12:51:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/map-flickering-on-changing-graphics-in-the/m-p/1550849#M5347</guid>
      <dc:creator>anmy</dc:creator>
      <dc:date>2024-10-22T12:51:08Z</dc:date>
    </item>
    <item>
      <title>Re: Map Flickering on changing graphics in the overlays</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/map-flickering-on-changing-graphics-in-the/m-p/1555216#M5364</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/838735"&gt;@anmy&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Might I ask for you to expand on your workflow/use case? I can observe the `flicker` when reproducing it locally but it doesn't rise to the level of causing irritation of the eyes.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;Sincerely,&lt;BR /&gt;Jared&lt;/P&gt;</description>
      <pubDate>Mon, 04 Nov 2024 19:27:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/map-flickering-on-changing-graphics-in-the/m-p/1555216#M5364</guid>
      <dc:creator>JaredCaccamo</dc:creator>
      <dc:date>2024-11-04T19:27:46Z</dc:date>
    </item>
    <item>
      <title>Re: Map Flickering on changing graphics in the overlays</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/map-flickering-on-changing-graphics-in-the/m-p/1559584#M5376</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/297917"&gt;@JaredCaccamo&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Our main use case is visualization of temperature or audio intensity measured by a fiber as a sensor. Resolution can be between 25 cm and several meters depending on a fiber length, which in complex systems can reach several hundred kilometers. In case of audio intensity, content may change several times per second, in case of temperature once per several minutes. So, the audio intensity case is currently more crucial for us.&lt;/P&gt;&lt;P&gt;As you can see in the topic-start post's videos captured from our application, the flickering can be more irritated than in the artificial example.&lt;/P&gt;&lt;P&gt;We would appreciate any suggestion with an approach alternative to creation of a huge amount of small polygons.&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Anton&lt;/P&gt;</description>
      <pubDate>Mon, 18 Nov 2024 10:12:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/map-flickering-on-changing-graphics-in-the/m-p/1559584#M5376</guid>
      <dc:creator>anmy</dc:creator>
      <dc:date>2024-11-18T10:12:46Z</dc:date>
    </item>
    <item>
      <title>Re: Map Flickering on changing graphics in the overlays</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/map-flickering-on-changing-graphics-in-the/m-p/1564862#M5378</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/838735"&gt;@anmy&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;Given your current implementation, with the amount of graphics being drawn it might be hard to avoid a flicker. Maybe `ClassBreaksRenderer` would be a good candidate for you? Here is a sample showing it's use,&amp;nbsp;&lt;A href="https://github.com/Esri/arcgis-maps-sdk-samples-qt/tree/main/CppSamples/Layers/ChangeSublayerRenderer" target="_blank"&gt;https://github.com/Esri/arcgis-maps-sdk-samples-qt/tree/main/CppSamples/Layers/ChangeSublayerRenderer&lt;/A&gt;.&lt;BR /&gt;&lt;BR /&gt;I am unsure of how you are getting the temperature and audio intensity data but I think setting the overlays renderer to ClassBreaksRenderer with ClassBreaks defined at the specified ranges you want could work in your case and I would expect better performance as well.&lt;BR /&gt;&lt;BR /&gt;What do you think?&lt;/P&gt;</description>
      <pubDate>Wed, 04 Dec 2024 20:13:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/map-flickering-on-changing-graphics-in-the/m-p/1564862#M5378</guid>
      <dc:creator>JaredCaccamo</dc:creator>
      <dc:date>2024-12-04T20:13:34Z</dc:date>
    </item>
    <item>
      <title>Re: Map Flickering on changing graphics in the overlays</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/map-flickering-on-changing-graphics-in-the/m-p/1589030#M5395</link>
      <description>&lt;P&gt;Thank you&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/297917"&gt;@JaredCaccamo&lt;/a&gt;&amp;nbsp;and&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/184785"&gt;@LucasDanzinger&lt;/a&gt;&amp;nbsp;! We could finally apply the solution you proposed and it works much better and stable than the previous one we had.&lt;/P&gt;</description>
      <pubDate>Tue, 25 Feb 2025 17:13:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/map-flickering-on-changing-graphics-in-the/m-p/1589030#M5395</guid>
      <dc:creator>anmy</dc:creator>
      <dc:date>2025-02-25T17:13:19Z</dc:date>
    </item>
  </channel>
</rss>

