<?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 LocateButton dijit to work with other spatial references? in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/locatebutton-dijit-to-work-with-other-spatial/m-p/693154#M64412</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am using the locateButton dijit out of the box, and attempting to get it to work with an app that has a map with spatial reference 102696.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When I hit the button, I get this in my javascript console:&amp;nbsp; "Map: Geometry (wkid: 4326) cannot be converted to spatial reference of the map (wkid: 102696)"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am using a Geometry service from the same location as the map.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any ideas on a fix for this?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you in advance&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 23 Jan 2014 12:17:06 GMT</pubDate>
    <dc:creator>MarcusBush</dc:creator>
    <dc:date>2014-01-23T12:17:06Z</dc:date>
    <item>
      <title>LocateButton dijit to work with other spatial references?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/locatebutton-dijit-to-work-with-other-spatial/m-p/693154#M64412</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am using the locateButton dijit out of the box, and attempting to get it to work with an app that has a map with spatial reference 102696.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When I hit the button, I get this in my javascript console:&amp;nbsp; "Map: Geometry (wkid: 4326) cannot be converted to spatial reference of the map (wkid: 102696)"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am using a Geometry service from the same location as the map.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any ideas on a fix for this?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you in advance&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Jan 2014 12:17:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/locatebutton-dijit-to-work-with-other-spatial/m-p/693154#M64412</guid>
      <dc:creator>MarcusBush</dc:creator>
      <dc:date>2014-01-23T12:17:06Z</dc:date>
    </item>
    <item>
      <title>Re: LocateButton dijit to work with other spatial references?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/locatebutton-dijit-to-work-with-other-spatial/m-p/693155#M64413</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marcus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try setting a default geometryService:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;require(["esri/config"], function(esriConfig) { &lt;/P&gt;&lt;P&gt;&amp;nbsp; /* code goes here */ &lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; esriConfig.defaults.geometryService = "&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://servername/arcgis/rest/services/Geometry/GeometryServer”;" rel="nofollow" target="_blank"&gt;http://servername/arcgis/rest/services/Geometry/GeometryServer”;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;});&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We will be adding this to the docs for 3.12.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-- Lloyd&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Oct 2014 19:54:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/locatebutton-dijit-to-work-with-other-spatial/m-p/693155#M64413</guid>
      <dc:creator>LloydHeberlie</dc:creator>
      <dc:date>2014-10-17T19:54:37Z</dc:date>
    </item>
  </channel>
</rss>

