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


p
A PointF in the form of (latitude,longitude)
marker
A marker drawn in place of this point. If null, a default marker is drawn.
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 latitude/longitude 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 omitted.

Syntax

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

Parameters

p
A PointF in the form of (latitude,longitude)
marker
A marker drawn in place of this point. If null, a default marker is drawn.
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.