MapPointMappingInfoBase.Latitude Property
Gets or sets the data field to which the GeoPoint.Latitude property is bound.
Namespace: DevExpress.Xpf.Map
Assembly: DevExpress.Xpf.Map.v20.2.dll
NuGet Packages: DevExpress.WindowsDesktop.Wpf.Map, DevExpress.Wpf.Map
Declaration
Property Value
Type | Description |
---|---|
String | A String object that specifies the name of the bound data field. |
Example
Follow the steps below to use the ListSourceDataAdapter:
- Create a ListSourceDataAdapter object and assign it to the VectorLayer.Data property.
- Specify the DataSourceAdapterBase.DataSource property.
- Configure the ListSourceDataAdapter.Mappings property to assign data source field values to map items.
- Use the ListSourceDataAdapter.ItemSettings property to specify map item settings.
<dxm:VectorLayer.Data>
<dxm:ListSourceDataAdapter DataSource="{Binding Source={StaticResource data}, XPath=Ship}">
<dxm:ListSourceDataAdapter.AttributeMappings>
<dxm:MapItemAttributeMapping Name="Name" Member="Name"/>
<dxm:MapItemAttributeMapping Name="Year" Member="Year"/>
<dxm:MapItemAttributeMapping Name="Description" Member="Description"/>
</dxm:ListSourceDataAdapter.AttributeMappings>
<dxm:ListSourceDataAdapter.Mappings>
<dxm:MapItemMappingInfo Latitude="Latitude" Longitude="Longitude"/>
</dxm:ListSourceDataAdapter.Mappings>
<dxm:ListSourceDataAdapter.ItemSettings>
<dxm:MapCustomElementSettings ContentTemplate="{Binding Source={StaticResource itemTemplate}}"/>
</dxm:ListSourceDataAdapter.ItemSettings>
</dxm:ListSourceDataAdapter>
</dxm:VectorLayer.Data>
See Also