MapPoint
Represents a geographic location rendered as a fixed-size, filled marker with optional image and text.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.RadMap.dll
Syntax:
public class MapPoint : MapGeometry, IClusterable, IBorderElement, IBoxStyle, IBoxElement, IFillElement, ITextElement, IShapedElement, IExtendedData, IColorizable
Inheritance: objectMapVisualElementMapPathBasedVisualElementMapGeometryMapPoint
Implements:
Inherited Members
Constructors
Properties
Gets or sets the balloon data.
public object BalloonData { get; set; }
The balloon data.
Gets or sets the balloon style.
public BalloonStyle BalloonStyle { get; set; }
The balloon style.
Gets or sets the hot spot.
public HotSpot HotSpot { get; set; }
The hot spot.
Gets or sets the image scale.
public double ImageScale { get; set; }
The image scale.
Gets whether hit testing is limited to the marker outline; the filled marker area is also hittable.
protected override bool IsOutline { get; }
Overrides:
Methods
Creates a local ellipse path and pairs it with the projected map-pixel location of the point.
protected override MapVisualElementInfo CreateVisualElementInfo(IMapViewport viewport)
The viewport whose zoom level is used to project the point.
Returns:The marker path and its map-pixel offset.
Overrides:
Draws the marker fill and border, its optional image, and its text across the viewport's wraparound copies.
public override void Paint(IGraphics graphics, IMapViewport viewport)
The graphics context used to render the marker.
viewportIMapViewportThe viewport that supplies map projection, pan, zoom, and wraparound state.
Overrides:
Draws the text of this point.
protected virtual void PaintText(IGraphics graphics, IMapViewport viewport)
The graphics.
viewportIMapViewportThe viewport.