MapControl.RequestUpdatesInAdvance Property
This element is not available using the selected API.
This element is not available using the selected API.
In this article
Allows an extra paint event to be posted by the internal view update scheduler before the previous paint event was handled.
The Thread Access Verifier will enforce this rule when it is active.
public:
bool requestUpdatesInAdvance ( ) const;
void requestUpdatesInAdvance ( bool value )
The base class implementation makes calls to View::setViewUpdateSettings when needed. One of the parameters is the value of this property.
In the event that an update takes longer than what Carmenta Engine expects, it is possible to request a new update before the first one is completed so that the next update will be done as fast as possible. This is currently only used in the QtQuick map control. It has a special rendering process in which it inserts a delay upon receiving the first paint event, where it can handle input. Enabling requests in advance can improve the framerate since it minimizes the delay between updates, but for most map controls it can cause them to be starved of input events which could lead to a worse perceived framerate.
It is not recommended to modify this property when using the built-in map controls. It can be of interest if you write your own map control.
Windows, Linux, Android
In this article
This element is not available using the selected API.
In this article
This element is not available using the selected API.
In this article