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


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

Syntax

Visual Basic (Declaration)
Public Class TileLayer
    Implements IDisposable
C#
public class TileLayer : IDisposable
C++
ref class TileLayer : IDisposable
J#
public class TileLayer implements IDisposable
JScript
public class TileLayer extends IDisposable

Remarks

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.

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

Inheritance Hierarchy

System.Object
   AspMap.Web.TileLayer

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