The PointDataLayer class provides access to points stored as X/Y (or longitude/latitude) columns in a database.

Namespace: ActualMap.Data
Assembly: ActualMap (in ActualMap.dll)


Visual Basic (Declaration)
Public Class PointDataLayer
    Inherits SpatialDatabaseLayer
public class PointDataLayer : SpatialDatabaseLayer
ref class PointDataLayer : SpatialDatabaseLayer
public class PointDataLayer extends SpatialDatabaseLayer
public class PointDataLayer extends SpatialDatabaseLayer


The database table must contain two columns with X and Y coordinates of points (data type is Double). For example, the points may be stored as longitude/latitude coordinates.

The extent of database layers is not calculated automatically for performance reasons. If you use only database layers in your application, you should set the Extent property before adding the layer to the map.

By default, the extent of database layers is set to (-180,90,180,-90) (units are decimal degrees). The coordinate system is set to WGS 1984 (EPSG/SRID code is 4326).

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