← Back to carmenta.com
Carmenta Engine SDK Documentation
×

TileLayer.PreloadArea Property

Gets or sets a value increasing the area for which the TileLayer preloads tiles.

Thread safety: This property is not thread-safe. Show

Syntax

C#
public System.Double PreloadArea { get; set; }

Property Value

Type: System.Double
Default: 1.0
A value increasing the area for which the TileLayer preloads tiles.

Remarks

This property tells the TileLayer to increase the area of interest by the specified amount. The TileLayer will load tiles for the extended area, even if some of those tiles are not currently visible on screen. This might eliminate, or at least reduce, the visual effects of the tiling mechanism, since tiles that are panned into view may already be loaded into memory. But note that it will also increase CPU load and memory usage.

The value specifies how much the width and height of the area is scaled when considered for preloading. If for instance the value is set to 2.0, the width and height of the area is doubled, requiring about four times as many tiles to be loaded into memory.

Platforms

Windows, Linux, Android

By accessing the information on this site you accept our terms and conditions and privacy policy.
This site uses cookies to enhance your experience and provide additional functionality.

Accept