Skip to main content
.NET 6.0+

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.v24.1.dll

Declaration

public interface IVectorMapsMarker :
    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(nameof(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(nameof(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