The requested page is not available for the requested platform. You are viewing the content for Default platform.

IVectorMapsMarker Interface

Declares properties of business objects that can be displayed as a bubble marker on a vector map using the Maps Module.

Namespace: DevExpress.Persistent.Base

Assembly: DevExpress.Persistent.Base.v19.1.dll

Declaration

public interface IVectorMapsMarker :
    IBaseMapsMarker
Public Interface IVectorMapsMarker
    Inherits IBaseMapsMarker

Remarks

You can implement this interface in an XPO or Entity Framework business object. As a result, the WebVectorMapsListEditor will be used to display List Views of this business object. Each object is displayed as a bubble marker. An object's Detail View is displayed after clicking a marker.

WebVectorMapsListEditor

XPO Example

using DevExpress.Xpo;
using DevExpress.Persistent.Base;
using DevExpress.Persistent.BaseImpl;
// ...
[DefaultClassOptions, DefaultProperty("Title")]
public class VectorMapMarker : BaseObject, IVectorMapsMarker {
    public VectorMapMarker(Session session) : base(session) { }
    public string Tooltip { get; set; }
    public float Value { get; set; }
    public double Latitude { get; set; }
    public double Longitude { get; set; }
    public string Title { get; set; }
}

EF Example

using DevExpress.Persistent.Base;
// ...
[DefaultClassOptions, DefaultProperty("Title")]
public class VectorMapMarker : BaseObject, IVectorMapsMarker {
    [Browsable(false)]
    public int ID { get; private set; }
    public string Tooltip { get; set; }
    public float Value { get; set; }
    public double Latitude { get; set; }
    public double Longitude { get; set; }
    public string Title { get; set; }
}
See Also