<?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: Center a web map in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/center-a-web-map/m-p/181612#M16857</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I need to change it dynamically, I'll be presenting this map for many different addresses. &amp;nbsp;I know I can do this on a Basic map, but I need to overlay demographics data on the map and the only way I can see to do that is with a pre-defined web map.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 10 Feb 2017 19:52:43 GMT</pubDate>
    <dc:creator>JohnGessford</dc:creator>
    <dc:date>2017-02-10T19:52:43Z</dc:date>
    <item>
      <title>Center a web map</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/center-a-web-map/m-p/181610#M16855</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm new to all this, created a web map, can see it on a web page by using copying sample code. &amp;nbsp;Can I re-center my web map by setting the [center] value in the config options. &amp;nbsp;I tried below but it seems to be ignored.&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;configOptions &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
 webmap&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"eaab774a02b94ca6b8d8981c01652e6e"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;
 title&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;""&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;
 subtitle&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;""&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;
 &lt;SPAN class="comment token"&gt;//www.arcgis.com sharing url is used. modify this if yours is different&lt;/SPAN&gt;
 sharingurl&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fwww.arcgis.com%2Fsharing%2Frest%2Fcontent%2Fitems" target="_blank"&gt;https://www.arcgis.com/sharing/rest/content/items&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;
 center&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;-&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;117.895287&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;33.745709&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt;
 &lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 09:16:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/center-a-web-map/m-p/181610#M16855</guid>
      <dc:creator>JohnGessford</dc:creator>
      <dc:date>2021-12-11T09:16:39Z</dc:date>
    </item>
    <item>
      <title>Re: Center a web map</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/center-a-web-map/m-p/181611#M16856</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you tried re-centering the webmap that it is pulling from?&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Feb 2017 19:47:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/center-a-web-map/m-p/181611#M16856</guid>
      <dc:creator>RickeyFight</dc:creator>
      <dc:date>2017-02-10T19:47:40Z</dc:date>
    </item>
    <item>
      <title>Re: Center a web map</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/center-a-web-map/m-p/181612#M16857</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I need to change it dynamically, I'll be presenting this map for many different addresses. &amp;nbsp;I know I can do this on a Basic map, but I need to overlay demographics data on the map and the only way I can see to do that is with a pre-defined web map.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Feb 2017 19:52:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/center-a-web-map/m-p/181612#M16857</guid>
      <dc:creator>JohnGessford</dc:creator>
      <dc:date>2017-02-10T19:52:43Z</dc:date>
    </item>
    <item>
      <title>Re: Center a web map</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/center-a-web-map/m-p/181613#M16858</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;John,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;A web map get set to a JS API map object so just use map.centerAt(your map point);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Feb 2017 20:02:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/center-a-web-map/m-p/181613#M16858</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2017-02-10T20:02:41Z</dc:date>
    </item>
  </channel>
</rss>

