<?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 Cartesian in .NET Maps SDK Questions</title>
    <link>https://community.esri.com/t5/net-maps-sdk-questions/cartesian/m-p/463916#M5731</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN lang="EN-US" style="font-size: 10.5pt; font-family: Helvetica, sans-serif;"&gt;Hi all,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 10.5pt; font-family: Helvetica, sans-serif;"&gt;First of all, I'm a new user with ersi and I have very little knowledge of coordination Systems, spatial.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN lang="EN-US" style="font-size: 10.5pt; font-family: Helvetica, sans-serif;"&gt;Let’s say I have a map that is 200 x 200, it’s all possible to change the Envelope of a layer (or the Map) to be X min = 0, Y min = 0, X max = 200 and Y max = 200, if not is there a way to convert the current envelope to match those criteria?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN lang="EN-US" style="font-size: 10.5pt; font-family: Helvetica, sans-serif;"&gt;Thanks for your help.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN lang="EN-US" style="font-size: 10.5pt; font-family: Helvetica, sans-serif;"&gt;Simon&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jul 2015 19:20:44 GMT</pubDate>
    <dc:creator>SimonPesant</dc:creator>
    <dc:date>2015-07-15T19:20:44Z</dc:date>
    <item>
      <title>Cartesian</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/cartesian/m-p/463916#M5731</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN lang="EN-US" style="font-size: 10.5pt; font-family: Helvetica, sans-serif;"&gt;Hi all,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 10.5pt; font-family: Helvetica, sans-serif;"&gt;First of all, I'm a new user with ersi and I have very little knowledge of coordination Systems, spatial.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN lang="EN-US" style="font-size: 10.5pt; font-family: Helvetica, sans-serif;"&gt;Let’s say I have a map that is 200 x 200, it’s all possible to change the Envelope of a layer (or the Map) to be X min = 0, Y min = 0, X max = 200 and Y max = 200, if not is there a way to convert the current envelope to match those criteria?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN lang="EN-US" style="font-size: 10.5pt; font-family: Helvetica, sans-serif;"&gt;Thanks for your help.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN lang="EN-US" style="font-size: 10.5pt; font-family: Helvetica, sans-serif;"&gt;Simon&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jul 2015 19:20:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/cartesian/m-p/463916#M5731</guid>
      <dc:creator>SimonPesant</dc:creator>
      <dc:date>2015-07-15T19:20:44Z</dc:date>
    </item>
    <item>
      <title>Re: Cartesian</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/cartesian/m-p/463918#M5733</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you asking how to zoom the map to a new envelope?&lt;/P&gt;&lt;P&gt;Try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;myMapView.SetViewAsync(new Envelope(-180,-85,180,85, SpatialReferences.Wgs84)); //Zoom to full world&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jul 2015 16:25:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/cartesian/m-p/463918#M5733</guid>
      <dc:creator>dotMorten_esri</dc:creator>
      <dc:date>2015-07-16T16:25:30Z</dc:date>
    </item>
    <item>
      <title>Re: Cartesian</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/cartesian/m-p/463917#M5732</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'd like to start by saying that you may want to purchase and review the following book. I had the honor of sitting next to the author my first two years in Esri and I believe that this book is priceless.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Lining Up Data in ArcGIS: A Guide to Map Projections&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;A href="http://www.amazon.com/Lining-Up-Data-ArcGIS-Projections/dp/1589483421" rel="nofollow noopener noreferrer" target="_blank"&gt;http://www.amazon.com/Lining-Up-Data-ArcGIS-Projections/dp/1589483421&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You'll also want to read up on the following page to gain a high level understanding of Spatial References.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Spatial References&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;A href="https://developers.arcgis.com/net/desktop/guide/spatial-references.htm" rel="nofollow noopener noreferrer" target="_blank"&gt;https://developers.arcgis.com/net/desktop/guide/spatial-references.htm&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In regards to setting the extents of the map view, you would be able to create a envelope with those coordinates and set the view in the runtime application to it. Depending on the dimensions of your screen in regards to the corners of your envelope the application may resize the extents to properly fit within the screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You could quickly review this by going to the following sample for runtime .NET and updating it as follows.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ArcGIS Tiled Map Service Layer&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;A href="https://developers.arcgis.com/net/sample-code/ArcGISTiledMapServiceLayerSample/" rel="nofollow noopener noreferrer" target="_blank"&gt;https://developers.arcgis.com/net/sample-code/ArcGISTiledMapServiceLayerSample/&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&amp;lt;Grid&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;esri:MapView x:Name="MyMapView"&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;esri:Map InitialViewpoint="0,0,200,200,3857"&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;esri:ArcGISTiledMapServiceLayer &lt;SPAN class="hljs-attribute" style="color: #008080; font-family: Consolas, 'Andale Mono', 'Lucida Console', Monaco, 'Courier New', Courier, monospace; font-size: 12px; background-color: #fafafa;"&gt;ServiceUri&lt;/SPAN&gt;&lt;SPAN style="color: #000080; font-family: Consolas, 'Andale Mono', 'Lucida Console', Monaco, 'Courier New', Courier, monospace; font-size: 12px; background-color: #fafafa;"&gt;=&lt;/SPAN&gt;&lt;SPAN class="hljs-value" style="color: #dd1144; font-family: Consolas, 'Andale Mono', 'Lucida Console', Monaco, 'Courier New', Courier, monospace; font-size: 12px; background-color: #fafafa;"&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http://services.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer" target="_blank"&gt;http://services.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;/SPAN&gt; /&amp;gt;&lt;SPAN class="hljs-value" style="color: #dd1144; font-family: Consolas, 'Andale Mono', 'Lucida Console', Monaco, 'Courier New', Courier, monospace; font-size: 12px; background-color: #fafafa;"&gt;
&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/esri:Map&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/esri:MapView&amp;gt;
&amp;lt;/Grid&amp;gt;&lt;/PRE&gt;&lt;P&gt;The units will reflect the chosen coordinate system. In this case they would be Meters because I'm using the Web Mercator projection.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 20:36:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/cartesian/m-p/463917#M5732</guid>
      <dc:creator>FreddieGibson</dc:creator>
      <dc:date>2021-12-11T20:36:24Z</dc:date>
    </item>
  </channel>
</rss>

