dotnetCHARTING Send comments on this topic.
AddPoint(PointF,ElementMarker,Hotspot,Annotation) Method
See Also 
dotnetCHARTING.Mapping Namespace > MapLayer Class > AddPoint Method : AddPoint(PointF,ElementMarker,Hotspot,Annotation) Method


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.
Adds a point to this map layer with a marker, hotspot, and annotation. A null value can be used for hotspot or annotation if they are to be

Syntax

Visual Basic (Declaration) 
Public Overloads Sub AddPoint( _
   ByVal p As PointF, _
   ByVal marker As ElementMarker, _
   ByVal hotspot As Hotspot, _
   ByVal annotation As Annotation _
) 
Visual Basic (Usage)Copy Code
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)
C# 
public void AddPoint( 
   PointF p,
   ElementMarker marker,
   Hotspot hotspot,
   Annotation 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.

See Also

© 2010 All Rights Reserved.