onRenderQualityChanged Event

Fires when the terrain quality that the user is currently viewing is updated.

SGWorld.attachEvent(“onRenderQualityChanged”, myOnRenderQualityChanged);

function myOnRenderQualityChanged(quality)

 

Parameter

Description

quality

An integer value that indicates the terrain quality as a percentage

It is 100% if the user is currently viewing the best image or less than 100% if the system is still buffering the terrain

Remarks

While the terrain is being streamed to the control, the quality of the terrain image the user is viewing is constantly improving until the best quality is obtained.