A Google Map module for XAF web applications


Refer to the XAF - Web Map Module (Coming soon in v15.2) article for more details on the built-in feature available in XAF starting with v15.2.

XAF it’s a great platform simply because everything is pluggable and reusable! In this post I will demonstrate one more pluggable and reusable contribution – the MapView module from Sergej Derjabkin!

Scenario: We have a business object which has an Address property and we want to display them in Google maps. However we have no time to research or develop anything by ourselves.

Step1: Install the MapView module by drag & drop from the toolbox.


Step2: Open Application Model editor to configure from where the module will take its data. This requires that we locate the Customer in the BOModel node and simply change the attributes as illustrated below.


Step3: To display the Customer Addresses, the MapView module provides the MapListEditor. Simply install the MapViewWebModule and assign the list editor to the Customer_ListView.


Step4: Run the XAF web app and see the results in the map!


Bonus scenario: Display a detail view of the mapped address.

Sergej Derjabkin also contributed webmaster detail functionality which is available with XpandSystemAspNetModule so install it as in Step1 and set the MasterDetailMode attribute to ListViewAndDetailView. Youi ‘ll need to override the SupportMasterDetailMode of your WebApplication descendant and return true.


Simple and fast – the XAF way!

Sergej Derjabkin released his MapView module as a preview in eXpand v13.1.7.2 and asked me to get your feedback in order to develop further, so feel free to thank him personally and ask your questions or even contribute your code or ideas in eXpand forums. To see MapView module in action use the Demos/Modules/MapView/MapViewTester.sln found in eXpandFramework sources.

Subscribe to XAF feed
Subscribe to community feed

11 comment(s)
Kevin McDonald

This is awesome, any change of it using Bing maps in the future.

26 September, 2013
Apostolis Bekiaris (DevExpress)

@Kevin as far as I know the creator is using raw google api cause the existing controls do not work so good. However consider using this thread to ask him directly your questions and learn more about the updates coming.


2 October, 2013
Robert Fuchs

Why no Winforms module?

Should be much easier to implement as the DX control is already there.

8 October, 2013
Apostolis Bekiaris (DevExpress)

its on the road

8 October, 2013
Paul Usher

trying to test map feature, but receive a 'Geocode was not successful for the following reason: OVER_QUERY_LIMIT' ? any ideas?

9 October, 2013
Sergej Derjabkin

Hello Paul,

I'm working on the solution. A new version will be available soon.


14 October, 2013
Sergej Derjabkin

Hello Paul,

I've fixed the OVER_QUERY_LIMIT issue:



16 November, 2013
Elder Chivas

can give me video for this sample? I can't add this mapview into toolbox ,Im using vs2013 and devex 14.1, thanks

21 November, 2014
Apostolis Bekiaris (DevExpress)

This is a community module and demonstrated in the MapViewTester solution github.com/.../MapView.

If you have related to the MapView module questions please use the communit project forums www.expandframework.com/.../index.html

21 November, 2014

What if i want to integrated with XAF Framework only (not the eXpand Framework). How can it be done?

15 September, 2015
Dennis (DevExpress Support)


You can find a pure XAF example at www.devexpress.com/.../T195734

13 October, 2015

Please login or register to post comments.