MapsAspNetModule.MapSettingsFromModel(IModelMaps, XafApplication) Method
Creates the map settings object based on information from the Application Model.
Namespace: DevExpress.ExpressApp.Maps.Web
Assembly: DevExpress.ExpressApp.Maps.Web.v25.1.dll
NuGet Package: DevExpress.ExpressApp.Maps.Web
Declaration
public static MapSettings MapSettingsFromModel(
IModelMaps model,
XafApplication application
)
Parameters
| Name | Type | Description |
|---|---|---|
| model | IModelMaps | The IModelMaps object that provides the map settings specified in the Application Model. |
| application | XafApplication | An XafApplication object that manages the current XAF application. |
Returns
| Type | Description |
|---|---|
| MapSettings | The MapSettings object that specifies the map settings and can be assigned to the MapViewer.MapSettings property. |
See Also