.netCHARTING v10.5 Documentation


dotnetCHARTING.Mapping Namespace > MapLayer Class > AddLatLongPoint Method : AddLatLongPoint(PointF,ElementMarker,Hotspot,Annotation) Method
A PointF in the form of (latitude,longitude)
A marker drawn in place of this point. If null, a default marker is drawn.
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.
AddLatLongPoint(PointF,ElementMarker,Hotspot,Annotation) Method
Syntax
'Declaration
 
Public Overloads Sub AddLatLongPoint( _
   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.AddLatLongPoint(p, marker, hotspot, annotation)
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.
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