Skip to main content
.NET 8.0+

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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.2.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