<esri:Map x:Name="_map" UseAcceleratedDisplay="False"> <!-- ArcGIS Online Tiled Basemap Layer --> <esri:ArcGISTiledMapServiceLayer ID="World Topographic Basemap (3857)" x:Name="_worldTopographicBasemap" Url="http://services.arcgisonline.com/ArcGIS/rest/services/World_Topo_Map/MapServer"/> </esri:Map>
<esri:Map x:Name="MyMap" Background="#FFE3E3E3" > <esri:Map.Extent> <esri:Envelope XMin="-15000000" YMin="2000000" XMax="-7000000" YMax="8000000"> <esri:Envelope.SpatialReference> <esri:SpatialReference WKID="102100"/> </esri:Envelope.SpatialReference> </esri:Envelope> </esri:Map.Extent> <esri:ArcGISLocalDynamicMapServiceLayer ID="DynamicLayer" Path="..\\Data\\MPKS\\USCitiesStates_Lambert_Conformal_Conic.mpk"/> </esri:Map>
Hi,
I can't immediately account for the difference between the dynamic map service layer and feature layer but it's basically down to the spatial reference not being set on the map.
Better to define the spatial reference explicitly on the Map probably:<esri:Map x:Name="MyMap" Background="#FFE3E3E3" > <esri:Map.Extent> <esri:Envelope XMin="-15000000" YMin="2000000" XMax="-7000000" YMax="8000000"> <esri:Envelope.SpatialReference> <esri:SpatialReference WKID="102100"/> </esri:Envelope.SpatialReference> </esri:Envelope> </esri:Map.Extent> <esri:ArcGISLocalDynamicMapServiceLayer ID="DynamicLayer" Path="..\\Data\\MPKS\\USCitiesStates_Lambert_Conformal_Conic.mpk"/> </esri:Map>
Cheers
Mike