<?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: Zooming to Full Extent through code? in ArcGIS Runtime SDK for WPF (Retired) Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/zooming-to-full-extent-through-code/m-p/102101#M418</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I think you're in the wrong place. This is the ArcGIS Runtime SDK forum. I need code that zooms the map to its full extent (of all layers).&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 04 Apr 2013 17:41:28 GMT</pubDate>
    <dc:creator>GeorgeFaraj</dc:creator>
    <dc:date>2013-04-04T17:41:28Z</dc:date>
    <item>
      <title>Zooming to Full Extent through code?</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/zooming-to-full-extent-through-code/m-p/102097#M414</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;What's the best way to zoom to the full extent through code?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Apr 2013 18:45:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/zooming-to-full-extent-through-code/m-p/102097#M414</guid>
      <dc:creator>GeorgeFaraj</dc:creator>
      <dc:date>2013-04-03T18:45:56Z</dc:date>
    </item>
    <item>
      <title>Re: Zooming to Full Extent through code?</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/zooming-to-full-extent-through-code/m-p/102098#M415</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;If you are talking about the full extent of a layer, you can look at this &lt;/SPAN&gt;&lt;A href="http://broux.dominique.free.fr/Silverlight/InteractiveSDK/Default.htm#LegendTOCGoogleStyle"&gt;legend sample&lt;/A&gt;&lt;SPAN&gt;, the 'ZoomToFullExtent' method is wired up the Layer.Initialized event and zoom to the full extent of that layer once the map spatial reference is known.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;A geometry service may be used to project the layer full extent to the map spatial reference.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Apr 2013 07:02:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/zooming-to-full-extent-through-code/m-p/102098#M415</guid>
      <dc:creator>DominiqueBroux</dc:creator>
      <dc:date>2013-04-04T07:02:17Z</dc:date>
    </item>
    <item>
      <title>Re: Zooming to Full Extent through code?</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/zooming-to-full-extent-through-code/m-p/102099#M416</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I want to zoom to the full extent of all the layers that I have currently loaded.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Apr 2013 15:09:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/zooming-to-full-extent-through-code/m-p/102099#M416</guid>
      <dc:creator>GeorgeFaraj</dc:creator>
      <dc:date>2013-04-04T15:09:54Z</dc:date>
    </item>
    <item>
      <title>Re: Zooming to Full Extent through code?</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/zooming-to-full-extent-through-code/m-p/102100#M417</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hit the Full Extent button in the Tools Toolbar.&amp;nbsp; It looks like a little globe.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If that is taking you out to far you can right click on your most extensive feature and click zoom to layer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You can manually adjust it to where you want to be. Right click on the Data Frame header.&amp;nbsp; Defaults to Layers.&amp;nbsp; Open the Data Frame Tab and click on the Other and Specify &lt;/SPAN&gt;&lt;SPAN style="text-decoration:underline;"&gt;E&lt;/SPAN&gt;&lt;SPAN&gt;xtent button.&amp;nbsp; Then choose Current Visible Extent.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Save your MXD.&amp;nbsp; Then every time you click on the Full Extent Button it will take you to the same spot.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I want to zoom to the full extent of all the layers that I have currently loaded.&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Apr 2013 15:35:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/zooming-to-full-extent-through-code/m-p/102100#M417</guid>
      <dc:creator>RobertBorchert</dc:creator>
      <dc:date>2013-04-04T15:35:43Z</dc:date>
    </item>
    <item>
      <title>Re: Zooming to Full Extent through code?</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/zooming-to-full-extent-through-code/m-p/102101#M418</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I think you're in the wrong place. This is the ArcGIS Runtime SDK forum. I need code that zooms the map to its full extent (of all layers).&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Apr 2013 17:41:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/zooming-to-full-extent-through-code/m-p/102101#M418</guid>
      <dc:creator>GeorgeFaraj</dc:creator>
      <dc:date>2013-04-04T17:41:28Z</dc:date>
    </item>
    <item>
      <title>Re: Zooming to Full Extent through code?</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/zooming-to-full-extent-through-code/m-p/102102#M419</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I want to zoom to the full extent of all the layers that I have currently loaded. &lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;You can get the full extent af all layers by code like &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://resources.arcgis.com/en/help/runtime-wpf/apiref/ESRI.ArcGIS.Client~ESRI.ArcGIS.Client.LayerCollection~GetFullExtent.html" rel="nofollow" target="_blank"&gt;MyMap.Layers.GetFullExtent&lt;/A&gt;&lt;SPAN&gt;()&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This is working well if all of your layers use the same spatial reference. If some layers are not in the same spatial reference as the map you will have to project the layer extents and to union them by code.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Apr 2013 10:33:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/zooming-to-full-extent-through-code/m-p/102102#M419</guid>
      <dc:creator>DominiqueBroux</dc:creator>
      <dc:date>2013-04-05T10:33:35Z</dc:date>
    </item>
    <item>
      <title>Re: Zooming to Full Extent through code?</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/zooming-to-full-extent-through-code/m-p/102103#M420</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;use this code using C#:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; MyMap.ZoomTo(MyMap.Layers.GetFullExtent());&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jan 2014 05:46:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/zooming-to-full-extent-through-code/m-p/102103#M420</guid>
      <dc:creator>aymantoubasi</dc:creator>
      <dc:date>2014-01-09T05:46:59Z</dc:date>
    </item>
  </channel>
</rss>

