<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Zoom To Layer in ArcGIS API for Silverlight Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/zoom-to-layer/m-p/734629#M18818</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The data draws correctly because it does reproject on the fly.&amp;nbsp; The issue is using that layers geometry to zoom to it when it is loaded into the map.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 09 Nov 2011 12:05:37 GMT</pubDate>
    <dc:creator>BrianGustafson</dc:creator>
    <dc:date>2011-11-09T12:05:37Z</dc:date>
    <item>
      <title>Zoom To Layer</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/zoom-to-layer/m-p/734626#M18815</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am adding a layer programatically and I am trying to zoom to that layer.&amp;nbsp; However the service that I am adding is in a different spatial reference than my map.&amp;nbsp; Is there still a way to zoom to that layer when it is added to the map?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Nov 2011 13:59:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/zoom-to-layer/m-p/734626#M18815</guid>
      <dc:creator>BrianGustafson</dc:creator>
      <dc:date>2011-11-08T13:59:53Z</dc:date>
    </item>
    <item>
      <title>Re: Zoom To Layer</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/zoom-to-layer/m-p/734627#M18816</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Will the ZoomToLayerAction do this?&amp;nbsp; How does that work if I want to implement this in the code behind.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Nov 2011 20:18:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/zoom-to-layer/m-p/734627#M18816</guid>
      <dc:creator>BrianGustafson</dc:creator>
      <dc:date>2011-11-08T20:18:40Z</dc:date>
    </item>
    <item>
      <title>Re: Zoom To Layer</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/zoom-to-layer/m-p/734628#M18817</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Even if spatial reference of the later service is different, it would be re projected on the fly to the spatial reference of the map.So,there should not be any issue.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Nov 2011 03:04:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/zoom-to-layer/m-p/734628#M18817</guid>
      <dc:creator>SanajyJadhav</dc:creator>
      <dc:date>2011-11-09T03:04:31Z</dc:date>
    </item>
    <item>
      <title>Re: Zoom To Layer</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/zoom-to-layer/m-p/734629#M18818</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The data draws correctly because it does reproject on the fly.&amp;nbsp; The issue is using that layers geometry to zoom to it when it is loaded into the map.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Nov 2011 12:05:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/zoom-to-layer/m-p/734629#M18818</guid>
      <dc:creator>BrianGustafson</dc:creator>
      <dc:date>2011-11-09T12:05:37Z</dc:date>
    </item>
    <item>
      <title>Re: Zoom To Layer</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/zoom-to-layer/m-p/734630#M18819</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Just for the clarification.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You want to zoom to the extent of the &lt;/SPAN&gt;&lt;STRONG&gt;service&lt;/STRONG&gt;&lt;SPAN&gt; that is being added later on, right? If yes, are you using Layer::FullExtent property?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Nov 2011 02:53:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/zoom-to-layer/m-p/734630#M18819</guid>
      <dc:creator>SanajyJadhav</dc:creator>
      <dc:date>2011-11-11T02:53:11Z</dc:date>
    </item>
    <item>
      <title>Re: Zoom To Layer</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/zoom-to-layer/m-p/734631#M18820</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Correct, but that service is in a different projection than the map so it throws an error.&amp;nbsp; Is there away around that?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Nov 2011 12:03:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/zoom-to-layer/m-p/734631#M18820</guid>
      <dc:creator>BrianGustafson</dc:creator>
      <dc:date>2011-11-11T12:03:56Z</dc:date>
    </item>
    <item>
      <title>Re: Zoom To Layer</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/zoom-to-layer/m-p/734632#M18821</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;One thing could be tried out.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1. Create new &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/silverlight/apiref/ESRI.ArcGIS.Client~ESRI.ArcGIS.Client.Geometry.Envelope_members.html"&gt;envelope&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. Use xMin,xMax,yMin and yMax of the LaterService::FullExtent to set the coordinates of this envelope.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3. Use spatial referene of the &lt;/SPAN&gt;&lt;STRONG&gt;map&lt;/STRONG&gt;&lt;SPAN&gt; to set Envelope::SpatialReference&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;4. Set extent.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Let me know if this helps.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Nov 2011 16:11:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/zoom-to-layer/m-p/734632#M18821</guid>
      <dc:creator>SanajyJadhav</dc:creator>
      <dc:date>2011-11-11T16:11:56Z</dc:date>
    </item>
    <item>
      <title>Re: Zoom To Layer</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/zoom-to-layer/m-p/734633#M18822</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;What type of layer are you trying to add programmatically? Did you call map.ZoomTo(layer.FullExtent)?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Nov 2011 17:19:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/zoom-to-layer/m-p/734633#M18822</guid>
      <dc:creator>JenniferNery</dc:creator>
      <dc:date>2011-11-11T17:19:41Z</dc:date>
    </item>
    <item>
      <title>Re: Zoom To Layer</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/zoom-to-layer/m-p/734634#M18823</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;It is a DynamicMapServiceLayer map service layer that is a different spatial reference than the map.&amp;nbsp; I am trying to zoom to the layer in the map inside of the initialized event of the loaded layer.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Nov 2011 17:57:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/zoom-to-layer/m-p/734634#M18823</guid>
      <dc:creator>BrianGustafson</dc:creator>
      <dc:date>2011-11-11T17:57:24Z</dc:date>
    </item>
  </channel>
</rss>

