-
Notifications
You must be signed in to change notification settings - Fork 0
/
MainWindow.xaml
22 lines (22 loc) · 970 Bytes
/
MainWindow.xaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<Window
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="clr-namespace:CustomProjection"
xmlns:dxm="http://schemas.devexpress.com/winfx/2008/xaml/map"
x:Class="CustomProjection.MainWindow"
Title="MainWindow" Height="549" Width="526">
<Grid>
<dxm:MapControl>
<dxm:MapControl.CoordinateSystem>
<dxm:GeoMapCoordinateSystem>
<dxm:GeoMapCoordinateSystem.Projection>
<local:HammerAitoffProjection/>
</dxm:GeoMapCoordinateSystem.Projection>
</dxm:GeoMapCoordinateSystem>
</dxm:MapControl.CoordinateSystem>
<dxm:VectorLayer>
<dxm:ShapefileDataAdapter FileUri="Data/Countries.shp" />
</dxm:VectorLayer>
</dxm:MapControl>
</Grid>
</Window>