AnsweredAssumed Answered

I m unable to show ENC map getting error "layer could not be added to map because layer initialization failed" and "S57 dictionary not found". I have set symbols path too.

Question asked by Anzar04 on Aug 20, 2016
Latest reply on Dec 11, 2016 by Anzar04

I want to show ENC chart in my WPF app but getting these error. I have also attached screen shot of error. I have set symbols path and manifest file too but no success.

 

<Window x:Class="ArcGISApp1.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:esri="http://schemas.esri.com/arcgis/runtime/2013"
xmlns:hydro="clr-namespace:Esri.ArcGISRuntime.Hydrographic;assembly=Esri.ArcGISRuntime"
Title="MainWindow"
Height="350"
Width="525">
<Grid>
<esri:MapView x:Name="MyMapView"
LayerLoaded="MyMapView_LayerLoaded">
<esri:Map>
<!--<esri:ArcGISTiledMapServiceLayer ID="Basemap" ServiceUri="http://services.arcgisonline.com/ArcGIS/rest/services/World_Topo_Map/MapServer"/>-->
<esri:GroupLayer ID="Hydrographic">
<hydro:HydrographicS57Layer ID="PK2NB58Z"
Path="US5TX51M.000">
</hydro:HydrographicS57Layer>
</esri:GroupLayer>
</esri:Map>
</esri:MapView>
</Grid>
</Window>

 

I think there is no issue at all in code. I dont understand what is the reason..........!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Attachments

Outcomes