Skip to main content

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.v22.2.dll

NuGet Package: DevExpress.Wpf.Map


public string Latitude { get; set; }

Property Value

Type Description

A String object that specifies the name of the bound data field.


This example shows how to use the ListSourceDataAdapter to load shipwreck information from an XML file and display wrecked ship images on a map.

A map that shows shipwreck markers.

  1. Create a ListSourceDataAdapter object and assign it to the VectorLayer.Data property.
  2. Specify the DataSourceAdapterBase.DataSource property.
  3. Configure the ListSourceDataAdapter.Mappings property to assign data source field values to map items.
  4. Use the ListSourceDataAdapter.ItemSettings property to specify map item settings.

View Example

    <dxm:ListSourceDataAdapter DataSource="{Binding Source={StaticResource data}, XPath=Ship}">
            <dxm:MapItemAttributeMapping Name="Name" Member="Name"/>
            <dxm:MapItemAttributeMapping Name="Year" Member="Year"/>
            <dxm:MapItemAttributeMapping Name="Description" Member="Description"/>
            <dxm:MapItemMappingInfo Latitude="Latitude" Longitude="Longitude"/>
            <dxm:MapCustomElementSettings ContentTemplate="{Binding Source={StaticResource itemTemplate}}"/>

The structure of the XML file used in the example looks as follows:

Show XML
<?xml version="1.0" standalone="yes"?>
    <Description>A steamboat that ran aground off Cronulla Beach.</Description>
    <Description>A sloop that ran aground on Box Head.</Description>

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Latitude property.


The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also