Hello,
I need some assistance with XamMap. I have a shapefile of the USA within a UI i designed. I have a listbox and a datagrid to show my information. I am running into an issue with replacing my shapefile of the USA with one of the map the user selects. The way I have it now, when a state is clicked by a user - the state map appears, however, it overwrites my entire UI instead of nesting the new shapefile within the designed UI. Is there a way to replace the current shapefile of my xamMap object without creating a new xamMap?
Is it possible to bind the URI name in the xaml to something I have in C#?
similiar to this:<igMap:ShapeFile Reader uri="{Binding Path=shapeFileName}">
Hi ljimbox,
Unfortunately XamMap doesn't support this functionality. I would recommend submitting a feature request for it here: http://devcenter.infragistics.com/Protected/RequestFeature.aspx. As a workaround try calling MapLayer.ImportAsync() after Reader's Uri is changed
Regards,
Ivan Kotev