Initializes a new Marker with the specified position, image, tooltip, and HTML conteht which will be dsiplayed in an InfoWindow after the user clicks on the marker.


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

Syntax

Visual Basic (Declaration)
Public Sub New( _ 
   ByVal position As Point,  _ 
   ByVal image As MarkerSymbol,  _ 
   ByVal tooltip As String,  _ 
   ByVal content As String _ 
)
C#
public Marker(
   Point position,
   MarkerSymbol image,
   string tooltip,
   string content
)
C++
public:
 Marker(
   Point position,
   MarkerSymbol image,
   String tooltip,
   String content
) sealed 
J#
public Marker(
   Point position,
   MarkerSymbol image,
   string tooltip,
   string content
)
JScript
public function Marker(
   position : Point,
   image : MarkerSymbol,
   tooltip : String,
   content : String
)

Parameters

position
The coordinates of the marker.
image
Specifies the image of the marker.
tooltip
Specifies the tooltip of the marker. The tooltip can contain any HTML formatting.
content
Specifies the content of the marker. The content can contain any HTML formatting.

See Also