Initializes a new instance of the PointDataTableLayer class.


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

Syntax

Visual Basic (Declaration)
Public Sub New( _ 
   ByVal dataTable As DataTable,  _ 
   ByVal xField As String,  _ 
   ByVal yField As String _ 
)
C#
public PointDataTableLayer(
   DataTable dataTable,
   string xField,
   string yField
)
C++
public:
 PointDataTableLayer(
   DataTable dataTable,
   String xField,
   String yField
) sealed 
J#
public PointDataTableLayer(
   DataTable dataTable,
   string xField,
   string yField
)
JScript
public function PointDataTableLayer(
   dataTable : DataTable,
   xField : String,
   yField : String
)

Parameters

dataTable
A DataTable object.
xField
Specifies the field that stores the X (longitude) coordinate of a point.
yField
Specifies the field that stores the Y (latitude) coordinate of a point.

See Also