Show theme settings Shopping cart Download trialFree Trial
Change Theme Settings
Change Theme Settings
Themes
 
Show All Themes
v
...v

Maps Integration

Page 1 of 8 (77 items)Prev12345678Next
Drop Filter Fields Here
Page 1 of 8 (77 items)Prev12345678Next

The Bing Maps service provides the capability to display sales reports on a map. The maps provide a JavaScript API to display maps, locate countries and businesses, and create pushpin indicators.

To send report data from the server to the client side, use the CustomJsProperties event. This event automatically serializes dictionary and list-typed property data, without any additional efforts.

These properties can be accessed on the client side as follows: [PivotGrid ClientInstanceName].[PropertyName]

To display a sales report on a map, create a new instance of the SalesMap class and use the SalesMap.ShowMap method. Its parameters are the following:

  • mapContainerId - id of a map container element;
  • salesPerCountry - dictionary of country:sales pairs;
  • loadingPanel - instance of a LoadingPanel client instance;

Note that all parameters are mandatory.

Collapse/Expand
Local Copy of this Demo
To inspect the source code for this demo on your machine, you must first install our components via the DevExpress Component Installer.
You can open a local copy of this online demo directly from this webpage (if using v20.2.8, 21.1.4 or higher).
Open CS Solution
Open VB Solution
The source code files for this demo are installed (by default) in the following directories:
\Users\Public\Documents\DevExpress Demos XX.X\Components\ASP.NET\CS\ASPxPivotGridDemos
\Users\Public\Documents\DevExpress Demos XX.X\Components\ASP.NET\VB\ASPxPivotGridDemos