Environment: ArcGIS Server 10, Silverlight 4 & 3, .NET Framework 4.0Hello:I'd like to define the map projection of the envelope as in this Silverlight sample code here. My current XAML for map element is <esri:Map x:Name="MyMap" Background="White" Margin="5,5,5,5"
Grid.Row="3" Grid.Column="1" Extent="-19000000,6636811,-9000000,11629778" >
The namespaces the XAML refers to doesnot allow me to put an envelope tag within the Map tag and also doesn't allow me to put the spatial reference of the envelope, like in the sample.
I want to do like the code below this but my references don't allow me
<esri:Envelope.SpatialReference>
<esri:SpatialReference WKID="26777"/>
</esri:Envelope.SpatialReference>
Below are the namespaces I am using xmlns:esri="clr-namespace:ESRI.ArcGIS.Client;assembly=ESRI.ArcGIS.Client"
xmlns:esriGeometry="clr-namespace:ESRI.ArcGIS.Client.Geometry;assembly=ESRI.ArcGIS.Client"
xmlns:esriToolkit="clr-namespace:ESRI.ArcGIS.Client.Toolkit;assembly=ESRI.ArcGIS.Client.Toolkit"
xmlns:esriSymbols="clr-namespace:ESRI.ArcGIS.Client.Symbols;assembly=ESRI.ArcGIS.Client"
xmlns:esriConverters="clr-namespace:ESRI.ArcGIS.Client.ValueConverters;assembly=ESRI.ArcGIS.Client"
xmlns:slData="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Data"
whereas the sample just uses one ESRI namespacexmlns:esri="http://schemas.esri.com/arcgis/client/2009"
How should I be putting in the spatial reference for the envelope using the references & assemblies that I am using. Any help is appreciated.Thank you,-Deepti