Represents a collection of layers that can be cached to improve the performance of your application.

Namespace: AspMap.Web
Assembly: AspMapNET (in AspMapNET.dll)


Visual Basic (Declaration)
Public Class TileLayer
    Implements IDisposable
public class TileLayer : IDisposable
ref class TileLayer : IDisposable
public class TileLayer implements IDisposable
public class TileLayer extends IDisposable


The TileLayer class lets you define a set of layers that will be rendered at different zoom levels and cached on the client and server side as tile images. AspMap can then distribute these images whenever someone asks for a map. It's much quicker for AspMap to hand out a cached image than to draw the layers each time someone requests them.

The TileLayer class works best with layers that do not change frequently. These include street layers, imagery, and terrain layers.

The TileLayer class does not support rendering of charts (ChartRenderer) and adding relations to data sources (AddRelate).

Inheritance Hierarchy


Thread Safety

Public static (Shared in Visual Basic)staticShared members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.

See Also