I would use xamWebMap to represent some data on a map. The aplication that I use is not internet connected, so I need a map stored in my pc. The map has to represent just a Region of Italym with the names of Provinces and Municipalities.
Can I use XamWebWap to do that?
Where can I find this map? Online I found only shapefile of Italy.
Best regards
Done, thisi is my xaml:
<UserControl x:Class="Infragistic.Page"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
Width="400" Height="300"
xmlns:igMap="clr-namespace:Infragistics.Silverlight.Map;assembly=Infragistics.Silverlight.DataVisualization.Map.v9.2">
<Grid x:Name="LayoutRoot" Background="White">
<igMap:XamWebMap x:Name="map1">
<igMap:XamWebMap.Layers >
<igMap:MapLayer x:Name="statesLayer" >
<igMap:MapLayer.Reader>
<igMap:ShapeFileReader Uri="Shapefiles/Sicilia_province_pt" DataMapping="Caption=STATE_ABBR">
<igMap:ShapeFileReader.CoordinateSystem>
<igMap:CoordinateSystem>
<igMap:CoordinateSystem.Projection>
<igMap:SphericalMercator />
</igMap:CoordinateSystem.Projection>
</igMap:CoordinateSystem>
</igMap:ShapeFileReader.CoordinateSystem>
</igMap:ShapeFileReader>
</igMap:MapLayer.Reader>
</igMap:MapLayer>
</igMap:XamWebMap.Layers>
</igMap:XamWebMap>
</Grid>
</UserControl>
try changing the MapProjectionType, see: http://community.infragistics.com/forums/t/37846.aspx
I'm evaluating for my company to purchase xamWebMap. I downloaded the trial version, I have some shapefiles downloaded from the Internet, but most of them I can't see. I also tried to convert a .dwg file using CAD2Shape, but but resulting shapefile I can't see.