.netCHARTING v10.5 Documentation


dotnetCHARTING.Mapping Namespace > MapLayer Class > AddPoint Method : AddPoint(PointF,ElementMarker,Hotspot,Annotation) Method
The coordinates in Longitude, Latitude format.
A marker drawn in place of this point.
The hotspot info like URL and tooltip for this point. Use null if no hotspot is needed.
An annotation for this point. Use null if no annotation is needed.
AddPoint(PointF,ElementMarker,Hotspot,Annotation) Method
Syntax
'Declaration
 
Public Overloads Sub AddPoint( _
   ByVal p As PointF, _
   ByVal marker As ElementMarker, _
   ByVal hotspot As Hotspot, _
   ByVal annotation As Annotation _
) 
'Usage
 
Dim instance As MapLayer
Dim p As PointF
Dim marker As ElementMarker
Dim hotspot As Hotspot
Dim annotation As Annotation
 
instance.AddPoint(p, marker, hotspot, annotation)

Parameters

p
The coordinates in Longitude, Latitude format.
marker
A marker drawn in place of this point.
hotspot
The hotspot info like URL and tooltip for this point. Use null if no hotspot is needed.
annotation
An annotation for this point. Use null if no annotation is needed.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also