<?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 at MapPoint  in ArcGIS Server with JavaScript API Questions</title>
    <link>https://community.esri.com/t5/arcgis-server-with-javascript-api-questions/center-at-mappoint/m-p/806362#M316</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm not familiar with the web app builder, but i think because it's javascript I &lt;/P&gt;&lt;P&gt;would place it in widget.js. This file is loaded at the start and so your code available&lt;/P&gt;&lt;P&gt;when you need it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 22 Jan 2016 09:01:12 GMT</pubDate>
    <dc:creator>MiriamBrockmann</dc:creator>
    <dc:date>2016-01-22T09:01:12Z</dc:date>
    <item>
      <title>Center at MapPoint</title>
      <link>https://community.esri.com/t5/arcgis-server-with-javascript-api-questions/center-at-mappoint/m-p/806359#M313</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: verdana, arial, helvetica; font-size: 11.2632px;"&gt;Actually I am trying to recenter a map with a longitude and latitude from text boxes with widget in web app builder.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: verdana, arial, helvetica; font-size: 11.2632px;"&gt;Can anybody help me out ?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Jan 2016 07:43:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-server-with-javascript-api-questions/center-at-mappoint/m-p/806359#M313</guid>
      <dc:creator>SaurabhRohilla</dc:creator>
      <dc:date>2016-01-22T07:43:35Z</dc:date>
    </item>
    <item>
      <title>Re: Center at MapPoint</title>
      <link>https://community.esri.com/t5/arcgis-server-with-javascript-api-questions/center-at-mappoint/m-p/806360#M314</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Saurabh!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is easy to do...you just need to use &lt;/P&gt;&lt;P&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; map.centerAt(mapPoint);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here's the Reference:&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/javascript/jsapi/map-amd.html#centerat" title="https://developers.arcgis.com/javascript/jsapi/map-amd.html#centerat"&gt;Map | API Reference | ArcGIS API for JavaScript&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You have to setup a new Point Geometry&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&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; &lt;SPAN class="pln"&gt;&lt;/SPAN&gt;&lt;SPAN class="kwd"&gt;var&lt;/SPAN&gt;&lt;SPAN class="pln"&gt; point &lt;/SPAN&gt;&lt;SPAN class="pun"&gt;=&lt;/SPAN&gt;&lt;SPAN class="pln"&gt; &lt;/SPAN&gt;&lt;SPAN class="kwd"&gt;new&lt;/SPAN&gt;&lt;SPAN class="pln"&gt; &lt;/SPAN&gt;&lt;SPAN class="typ"&gt;Point&lt;/SPAN&gt;&lt;SPAN class="pun"&gt;([x,y&lt;/SPAN&gt;&lt;SPAN class="pun"&gt;],&lt;/SPAN&gt;&lt;SPAN class="kwd"&gt;new&lt;/SPAN&gt;&lt;SPAN class="pln"&gt; &lt;/SPAN&gt;&lt;SPAN class="typ"&gt;SpatialReference&lt;/SPAN&gt;&lt;SPAN class="pun"&gt;({&lt;/SPAN&gt;&lt;SPAN class="pln"&gt; wkid&lt;/SPAN&gt;&lt;SPAN class="pun"&gt;:XXXXX&lt;/SPAN&gt;&lt;SPAN class="pln"&gt; &lt;/SPAN&gt;&lt;SPAN class="pun"&gt;}));&lt;/SPAN&gt;&lt;SPAN class="pln"&gt;&lt;BR /&gt;&lt;/SPAN&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;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;with your Koordinates and use this Point to recenter the Map.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Jan 2016 08:25:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-server-with-javascript-api-questions/center-at-mappoint/m-p/806360#M314</guid>
      <dc:creator>MiriamBrockmann</dc:creator>
      <dc:date>2016-01-22T08:25:58Z</dc:date>
    </item>
    <item>
      <title>Re: Center at MapPoint</title>
      <link>https://community.esri.com/t5/arcgis-server-with-javascript-api-questions/center-at-mappoint/m-p/806361#M315</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Miriam for your response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please share the code because I need to use this javascript code in web app builder to create a widget. My doubt is where to write this code either in widget.js file or in widget.html file.@&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Jan 2016 08:49:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-server-with-javascript-api-questions/center-at-mappoint/m-p/806361#M315</guid>
      <dc:creator>SaurabhRohilla</dc:creator>
      <dc:date>2016-01-22T08:49:39Z</dc:date>
    </item>
    <item>
      <title>Re: Center at MapPoint</title>
      <link>https://community.esri.com/t5/arcgis-server-with-javascript-api-questions/center-at-mappoint/m-p/806362#M316</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm not familiar with the web app builder, but i think because it's javascript I &lt;/P&gt;&lt;P&gt;would place it in widget.js. This file is loaded at the start and so your code available&lt;/P&gt;&lt;P&gt;when you need it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Jan 2016 09:01:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-server-with-javascript-api-questions/center-at-mappoint/m-p/806362#M316</guid>
      <dc:creator>MiriamBrockmann</dc:creator>
      <dc:date>2016-01-22T09:01:12Z</dc:date>
    </item>
    <item>
      <title>Re: Center at MapPoint</title>
      <link>https://community.esri.com/t5/arcgis-server-with-javascript-api-questions/center-at-mappoint/m-p/806363#M317</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a lot Miriam....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Jan 2016 09:22:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-server-with-javascript-api-questions/center-at-mappoint/m-p/806363#M317</guid>
      <dc:creator>SaurabhRohilla</dc:creator>
      <dc:date>2016-01-22T09:22:20Z</dc:date>
    </item>
  </channel>
</rss>

