I'm trying to display the usa_st shape file in your example, I can display this map in v2010.1 so I'm sure the shape file is good. The usa_st shp and dbf files are in a folder ShapeFiles. I have tried all paths, foward slash, back slash, no begining slash. Please help....Thank you
<Window x:Class="MapTest.MainWindow"
<!--<igMap:ShapeFileReader Uri="/ShapeFiles/usa_st" DataMapping="caption=STATE_ABBR"/>-->
</igMap:MapLayer>
</igMap:XamMap>
</Grid>
</
Window>
In WPF Map v10.2 when ShapeFileReader.Uri starts with “/” the control is not looking for project resources like before. Now it is looking for files, relative to the executable file.
If your shape files are in /project/ShapeFiles/usa_st, and your executable is in /project/bin/debug/
You need to set this path:
<igMap:ShapeFileReader Uri="/../../ShapeFiles/usa_st" />
Thank you.....that did it