<?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: What Is The Replacment For SpatialReference.Extent? in .NET Maps SDK Questions</title>
    <link>https://community.esri.com/t5/net-maps-sdk-questions/what-is-the-replacment-for-spatialreference-extent/m-p/1301366#M11937</link>
    <description>&lt;P&gt;Thank you for your questions&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/662230"&gt;@HalletBruestle&lt;/a&gt;. An &lt;A href="https://developers.arcgis.com/net/api-reference/api/net/Esri.ArcGISRuntime/Esri.ArcGISRuntime.Geometry.Envelope.-ctor.html#Esri_ArcGISRuntime_Geometry_Envelope__ctor_System_Double_System_Double_System_Double_System_Double_Esri_ArcGISRuntime_Geometry_SpatialReference_" target="_self"&gt;Envelope&lt;/A&gt; can be constructed with diagonal MapPoint corners and a SpatialReference to essentially create a rectangle. The &lt;A href="https://developers.arcgis.com/net/api-reference/api/net/Esri.ArcGISRuntime/Esri.ArcGISRuntime.Geometry.GeometryEngine.Contains.html#Esri_ArcGISRuntime_Geometry_GeometryEngine_Contains_Esri_ArcGISRuntime_Geometry_Geometry_Esri_ArcGISRuntime_Geometry_Geometry_" target="_self"&gt;Contains&lt;/A&gt; GeometryEngine extension method can be used to determine if a point falls inside the envelope. The &lt;A href="https://developers.arcgis.com/net/wpf/sample-code/set-max-extent/" target="_self"&gt;Set max extent code sample&lt;/A&gt; shows how to get the maximum boundary of a geographic region.&lt;/P&gt;&lt;P&gt;Getting the extent of the entire map - so the entire projected surface of the Earth - that's an interesting problem. It's not going to be easy to accomplish programmatically. Interactively, you could subscribe to a GeoViewTapped event and get approximate the maximum envelop when clicking the southwestern-most and northeastern-most points of the map. However, that is a far from elegant solution. You'd be better off searching the web for those projected points on the web and hardcoding those values.&lt;/P&gt;</description>
    <pubDate>Wed, 21 Jun 2023 00:34:29 GMT</pubDate>
    <dc:creator>williambohrmann3</dc:creator>
    <dc:date>2023-06-21T00:34:29Z</dc:date>
    <item>
      <title>What Is The Replacment For SpatialReference.Extent?</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/what-is-the-replacment-for-spatialreference-extent/m-p/1301262#M11934</link>
      <description>&lt;P&gt;In newer versions of the ArcGis SDK, Esri.ArcGISRuntime.Geometry.SpatialReference no longer has the Extent property. This would give the boundaries for the current map, which was useful for determining if a MapPoint is within the map (not just the visible map, anywhere on the map).&lt;BR /&gt;&lt;BR /&gt;What is the replacement for SpatialReference.Extent? How does one get the maximum boundary of a Map or SpatialReference?&lt;/P&gt;</description>
      <pubDate>Tue, 20 Jun 2023 20:18:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/what-is-the-replacment-for-spatialreference-extent/m-p/1301262#M11934</guid>
      <dc:creator>HalletBruestle</dc:creator>
      <dc:date>2023-06-20T20:18:48Z</dc:date>
    </item>
    <item>
      <title>Re: What Is The Replacment For SpatialReference.Extent?</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/what-is-the-replacment-for-spatialreference-extent/m-p/1301366#M11937</link>
      <description>&lt;P&gt;Thank you for your questions&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/662230"&gt;@HalletBruestle&lt;/a&gt;. An &lt;A href="https://developers.arcgis.com/net/api-reference/api/net/Esri.ArcGISRuntime/Esri.ArcGISRuntime.Geometry.Envelope.-ctor.html#Esri_ArcGISRuntime_Geometry_Envelope__ctor_System_Double_System_Double_System_Double_System_Double_Esri_ArcGISRuntime_Geometry_SpatialReference_" target="_self"&gt;Envelope&lt;/A&gt; can be constructed with diagonal MapPoint corners and a SpatialReference to essentially create a rectangle. The &lt;A href="https://developers.arcgis.com/net/api-reference/api/net/Esri.ArcGISRuntime/Esri.ArcGISRuntime.Geometry.GeometryEngine.Contains.html#Esri_ArcGISRuntime_Geometry_GeometryEngine_Contains_Esri_ArcGISRuntime_Geometry_Geometry_Esri_ArcGISRuntime_Geometry_Geometry_" target="_self"&gt;Contains&lt;/A&gt; GeometryEngine extension method can be used to determine if a point falls inside the envelope. The &lt;A href="https://developers.arcgis.com/net/wpf/sample-code/set-max-extent/" target="_self"&gt;Set max extent code sample&lt;/A&gt; shows how to get the maximum boundary of a geographic region.&lt;/P&gt;&lt;P&gt;Getting the extent of the entire map - so the entire projected surface of the Earth - that's an interesting problem. It's not going to be easy to accomplish programmatically. Interactively, you could subscribe to a GeoViewTapped event and get approximate the maximum envelop when clicking the southwestern-most and northeastern-most points of the map. However, that is a far from elegant solution. You'd be better off searching the web for those projected points on the web and hardcoding those values.&lt;/P&gt;</description>
      <pubDate>Wed, 21 Jun 2023 00:34:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/what-is-the-replacment-for-spatialreference-extent/m-p/1301366#M11937</guid>
      <dc:creator>williambohrmann3</dc:creator>
      <dc:date>2023-06-21T00:34:29Z</dc:date>
    </item>
    <item>
      <title>Re: What Is The Replacment For SpatialReference.Extent?</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/what-is-the-replacment-for-spatialreference-extent/m-p/1301792#M11940</link>
      <description>&lt;P&gt;Just a few more details -&amp;nbsp;&lt;A href="https://developers.arcgis.com/net/api-reference/api/net/Esri.ArcGISRuntime/Esri.ArcGISRuntime.Mapping.Map.MaxExtent.html#Esri_ArcGISRuntime_Mapping_Map_MaxExtent" target="_self"&gt;MaxExtent&lt;/A&gt;&amp;nbsp;will allow you to limit the extent of the map. The maximum extent&lt;SPAN&gt;&amp;nbsp;is calculated from the union of the full extent of all basemap layers. Envelope has &lt;A href="https://developers.arcgis.com/net/api-reference/api/net/Esri.ArcGISRuntime/Esri.ArcGISRuntime.Geometry.Envelope.html#properties" target="_self"&gt;properties&lt;/A&gt; for the min/max of X and Y coordinates.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Jun 2023 23:09:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/what-is-the-replacment-for-spatialreference-extent/m-p/1301792#M11940</guid>
      <dc:creator>williambohrmann3</dc:creator>
      <dc:date>2023-06-21T23:09:45Z</dc:date>
    </item>
  </channel>
</rss>

