Trouble loading feature layer in code behind. This is in runtime 10.2.7.
In XAML I define my base map as..
<esri:Map>
<esri:ArcGISTiledMapServiceLayer
ServiceUri="http://services.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer" />
This map layer reports Spatial Reference: 102100 (3857)
Then in the code behind, i try to load the feature layer..
Solved! Go to Solution.
Hi,
In 10.2.7 you should use one of the OpenAsync methods that takes a Spatial Reference parameter to initialize the ServiceFeatureTable in the SpatialReference of your Map.
ServiceFeatureTable.OpenAsync Method (Uri, String, SpatialReference)
Cheers
Mike
Hi,
In 10.2.7 you should use one of the OpenAsync methods that takes a Spatial Reference parameter to initialize the ServiceFeatureTable in the SpatialReference of your Map.
ServiceFeatureTable.OpenAsync Method (Uri, String, SpatialReference)
Cheers
Mike
That's it!
Thanks, Mike.