<?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: how can i center the map between 2 points in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-can-i-center-the-map-between-2-points/m-p/1155505#M76713</link>
    <description>&lt;P&gt;You could use view.goTo(your points). Then use extent expand method to expand the extent of map view to get results you want.&lt;BR /&gt;view.extent = view.extent.expand(1.5); //for example&lt;/P&gt;</description>
    <pubDate>Sun, 20 Mar 2022 08:58:21 GMT</pubDate>
    <dc:creator>YObaidat</dc:creator>
    <dc:date>2022-03-20T08:58:21Z</dc:date>
    <item>
      <title>how can i center the map between 2 points</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-can-i-center-the-map-between-2-points/m-p/1155355#M76708</link>
      <description>&lt;P&gt;I need to center 2 points so that they are adjusted and centered on the map,&amp;nbsp;&amp;nbsp;but I don't know with what class I can do this&lt;/P&gt;&lt;P&gt;This is the map and I have 2 points, I want that when I enter the map it fits me and the 2 points are centered in this way:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Captura de Pantalla 2022-03-18 a la(s) 2.27.40 p.m..png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/36748i501C5ACD53737CFA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Captura de Pantalla 2022-03-18 a la(s) 2.27.40 p.m..png" alt="Captura de Pantalla 2022-03-18 a la(s) 2.27.40 p.m..png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;</description>
      <pubDate>Fri, 18 Mar 2022 19:30:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-can-i-center-the-map-between-2-points/m-p/1155355#M76708</guid>
      <dc:creator>stiven</dc:creator>
      <dc:date>2022-03-18T19:30:09Z</dc:date>
    </item>
    <item>
      <title>Re: how can i center the map between 2 points</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-can-i-center-the-map-between-2-points/m-p/1155505#M76713</link>
      <description>&lt;P&gt;You could use view.goTo(your points). Then use extent expand method to expand the extent of map view to get results you want.&lt;BR /&gt;view.extent = view.extent.expand(1.5); //for example&lt;/P&gt;</description>
      <pubDate>Sun, 20 Mar 2022 08:58:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-can-i-center-the-map-between-2-points/m-p/1155505#M76713</guid>
      <dc:creator>YObaidat</dc:creator>
      <dc:date>2022-03-20T08:58:21Z</dc:date>
    </item>
  </channel>
</rss>

