GeoPointMapDashboardItem Class

A Geo Point Map dashboard item that allows you to place callouts on the map using geographical coordinates.

Namespace: DevExpress.DashboardCommon
Assembly: DevExpress.Dashboard.v18.1.Core.dll
public class GeoPointMapDashboardItem : GeoPointMapDashboardItemBase, IDashboardComponent, IComponent, ISupportInitialize, IDisposable, IChangeService, ISupportPrefix, ICurrencyCultureNameProvider, ISliceDataQueryProvider, IDimensionAxes, IMasterFilter, IMasterFilterItem, IDataItemRepositoryProvider, IDataSourceSchemaProvider, IDataItemContainerContext, IDataItemContext, IColorSchemeContext, IFormatRulesContext, IFiltersProvider, IInteractivityOptionsProvider, IRaiseClusterizationRequestItem

The Geo Point Map dashboard item allows you to place callouts on the map using geographical coordinates.


The following documentation is available.


The following example demonstrates how to bind a Geo Point Map dashboard item to data in code.

´╗┐using System.Windows.Forms;
using DevExpress.DashboardCommon;
using DevExpress.DataAccess.ConnectionParameters;
using DevExpress.DataAccess.Sql;

namespace Dashboard_CreateGeoPointMap {
    public partial class Form1 : Form {
        public Form1() {

            // Creates a new dashboard and a data source for this dashboard.
            Dashboard dashboard = new Dashboard();
            DashboardSqlDataSource dataSource = new DashboardSqlDataSource();
            CustomSqlQuery sqlQuery = new CustomSqlQuery("Cities", "select * from Cities");
            dataSource.ConnectionParameters = 
                new Access97ConnectionParameters(@"..\..\Data\Cities.mdb", "", "");

            // Creates a Geo Point Map dashboard item and specifies its data source.
            GeoPointMapDashboardItem geopointMap = new GeoPointMapDashboardItem();
            geopointMap.DataSource = dataSource;
            geopointMap.DataMember = "Cities";

            // Loads the map of the world.
            geopointMap.Area = ShapefileArea.WorldCountries;

            // Provides city coordinates and corresponding populations.
            geopointMap.Latitude = new Dimension("Latitude");
            geopointMap.Longitude = new Dimension("Longitude");
            geopointMap.Value = new Measure("Population");

            // Adds the Geo Point Map dashboard item to the dashboard and opens this
            // dashboard in the Dashboard Viewer.
            dashboardViewer1.Dashboard = dashboard;
See Also