<?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 map with lat/long value in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/center-map-with-lat-long-value/m-p/507957#M47235</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Santosh,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;map.centerAt([point.getLongitude(), point.getLatitude()]) this will work only if your basemap spatial reference if 4326. If you are using ArcGIS online or bing base maps which are in 102100 spatial reference then you will have to convert lat and long values to map spatial reference and then call map.centerAt (). &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;method to convert coordinates from 4326 to 102100:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/webapi/javascript/arcgis/jsapi/namespace_geometry.html#namespace_geometry/geographicToWebMercator"&gt;http://help.arcgis.com/en/webapi/javascript/arcgis/jsapi/namespace_geometry.html#namespace_geometry/geographicToWebMercator&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If your base map is in spatial reference other than 102100 use geometry service project method to convert the alt/long to map spatial reference.&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/webapi/javascript/arcgis/jsapi/geometryservice.html#GeometryService/project"&gt;http://help.arcgis.com/en/webapi/javascript/arcgis/jsapi/geometryservice.html#GeometryService/project&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I hope this helps.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 11 Mar 2013 03:48:39 GMT</pubDate>
    <dc:creator>RahulMetangale1</dc:creator>
    <dc:date>2013-03-11T03:48:39Z</dc:date>
    <item>
      <title>Center map with lat/long value</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/center-map-with-lat-long-value/m-p/507956#M47234</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Can anyone explain how to center esri map instance with lat/long values?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I tried with centerAt method as map.centerAt([point.getLongitude(), point.getLatitude()]); which did nothing.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 09 Mar 2013 17:32:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/center-map-with-lat-long-value/m-p/507956#M47234</guid>
      <dc:creator>SanthoshKumar3</dc:creator>
      <dc:date>2013-03-09T17:32:53Z</dc:date>
    </item>
    <item>
      <title>Re: Center map with lat/long value</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/center-map-with-lat-long-value/m-p/507957#M47235</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Santosh,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;map.centerAt([point.getLongitude(), point.getLatitude()]) this will work only if your basemap spatial reference if 4326. If you are using ArcGIS online or bing base maps which are in 102100 spatial reference then you will have to convert lat and long values to map spatial reference and then call map.centerAt (). &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;method to convert coordinates from 4326 to 102100:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/webapi/javascript/arcgis/jsapi/namespace_geometry.html#namespace_geometry/geographicToWebMercator"&gt;http://help.arcgis.com/en/webapi/javascript/arcgis/jsapi/namespace_geometry.html#namespace_geometry/geographicToWebMercator&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If your base map is in spatial reference other than 102100 use geometry service project method to convert the alt/long to map spatial reference.&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/webapi/javascript/arcgis/jsapi/geometryservice.html#GeometryService/project"&gt;http://help.arcgis.com/en/webapi/javascript/arcgis/jsapi/geometryservice.html#GeometryService/project&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I hope this helps.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Mar 2013 03:48:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/center-map-with-lat-long-value/m-p/507957#M47235</guid>
      <dc:creator>RahulMetangale1</dc:creator>
      <dc:date>2013-03-11T03:48:39Z</dc:date>
    </item>
  </channel>
</rss>

