<?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: Locator in sample working, but still using wrong coordinate system? in ArcGIS API for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/locator-in-sample-working-but-still-using-wrong/m-p/357291#M8456</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;@phi505: in the beta there is no special support for singleline geocoder.&amp;nbsp; In the upcoming 2.1 release of the viewer, the LocatorWidget will automatically use the singleline geocoder if there is one.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 14 Sep 2010 14:41:26 GMT</pubDate>
    <dc:creator>BjornSvensson</dc:creator>
    <dc:date>2010-09-14T14:41:26Z</dc:date>
    <item>
      <title>Locator in sample working, but still using wrong coordinate system?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/locator-in-sample-working-but-still-using-wrong/m-p/357280#M8445</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have implemented the sample flex viewer and am using local state plane data and address locator service.&amp;nbsp; When I use locator to find address, it finds the addresses and lists matches, but put the locations off in space somewhere.&amp;nbsp; Is there a place where I need to change the WKID so the the service will put pins in proper place?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here is what my locatewidget.xml looks like (I have commented out the state list):&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;configuration&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt; &amp;lt;locator&amp;gt;&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://gis.snco.us/ArcGIS/rest/services/StreetsAddressLocator/GeocodeServer" rel="nofollow" target="_blank"&gt;http://gis.snco.us/ArcGIS/rest/services/StreetsAddressLocator/GeocodeServer&lt;/A&gt;&lt;SPAN&gt;&amp;lt;/locator&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &amp;lt;minscore&amp;gt;40&amp;lt;/minscore&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;lt;!--&amp;gt;listfield&amp;gt;State&amp;lt;/listfield&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &amp;lt;listvalues&amp;gt;AK,AL,AR,AZ,CA,CO,CT,DE,DC,FL,GA,HI,IA,ID,IL,IN,KS,KY,LA,MA,MD,ME,MI,MN,MS,MO,MT,NC,ND,NE,NH,NJ,NM,NV,NY,OH,OK,OR,PA,RI,SC,SD,TN,TX,UT,VA,WA,WI,WV,WY&amp;lt;/listvalues--&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &amp;lt;zoomscale&amp;gt;3500&amp;lt;/zoomscale&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/configuration&amp;gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Apr 2010 12:35:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/locator-in-sample-working-but-still-using-wrong/m-p/357280#M8445</guid>
      <dc:creator>LeeAllen</dc:creator>
      <dc:date>2010-04-15T12:35:26Z</dc:date>
    </item>
    <item>
      <title>Re: Locator in sample working, but still using wrong coordinate system?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/locator-in-sample-working-but-still-using-wrong/m-p/357281#M8446</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;lallen4585,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; The out of the box LocatorWidget does not re-project results but here is a modified one that does.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://resources.esri.com/arcgisserver/apis/flex/index.cfm?fa=codeGalleryDetails&amp;amp;scriptID=16359"&gt;http://resources.esri.com/arcgisserver/apis/flex/index.cfm?fa=codeGalleryDetails&amp;amp;scriptID=16359&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Apr 2010 12:54:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/locator-in-sample-working-but-still-using-wrong/m-p/357281#M8446</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2010-04-15T12:54:00Z</dc:date>
    </item>
    <item>
      <title>Thanks!</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/locator-in-sample-working-but-still-using-wrong/m-p/357282#M8447</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;It works like a charm, in version 1.3 as well.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Apr 2010 19:14:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/locator-in-sample-working-but-still-using-wrong/m-p/357282#M8447</guid>
      <dc:creator>LeeAllen</dc:creator>
      <dc:date>2010-04-15T19:14:07Z</dc:date>
    </item>
    <item>
      <title>Re: Locator in sample working, but still using wrong coordinate system?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/locator-in-sample-working-but-still-using-wrong/m-p/357283#M8448</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I believe I am having the same problem with version 2.0 of the Flex Viewer that was just released.&amp;nbsp; Is this fix still applicable?&amp;nbsp; I am trying it and having no luck...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Melissa&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Sep 2010 19:45:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/locator-in-sample-working-but-still-using-wrong/m-p/357283#M8448</guid>
      <dc:creator>MelissaJohnson</dc:creator>
      <dc:date>2010-09-08T19:45:18Z</dc:date>
    </item>
    <item>
      <title>Re: Locator in sample working, but still using wrong coordinate system?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/locator-in-sample-working-but-still-using-wrong/m-p/357284#M8449</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Melissa,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; No the issue you are having with the FlexViewer2.0 locator widget like has to do with line 365 of the LocateWidget.mxml where they are saying that if the WKID of your map is not 4326 than reproject the results of the locator to webmercator. So if your map wkid is anything other than 4326 or 102100 (webmercator) than you will have issues.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Sep 2010 20:29:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/locator-in-sample-working-but-still-using-wrong/m-p/357284#M8449</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2010-09-08T20:29:20Z</dc:date>
    </item>
    <item>
      <title>Re: Locator in sample working, but still using wrong coordinate system?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/locator-in-sample-working-but-still-using-wrong/m-p/357285#M8450</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes I am using Missouri State Plane spatial reference 102697. so it sounds like I am just out of luck using my own locator with this widget.&amp;nbsp; Thanks for the quick reply!!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Sep 2010 20:32:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/locator-in-sample-working-but-still-using-wrong/m-p/357285#M8450</guid>
      <dc:creator>MelissaJohnson</dc:creator>
      <dc:date>2010-09-08T20:32:01Z</dc:date>
    </item>
    <item>
      <title>Re: Locator in sample working, but still using wrong coordinate system?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/locator-in-sample-working-but-still-using-wrong/m-p/357286#M8451</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Melissa,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Not exactly. Are you using all of your own mapservice and base maps or are you using some of esri's? So your locator returning results in 102697 right? Are you using ArcGIS Server 10?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Sep 2010 20:36:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/locator-in-sample-working-but-still-using-wrong/m-p/357286#M8451</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2010-09-08T20:36:20Z</dc:date>
    </item>
    <item>
      <title>Re: Locator in sample working, but still using wrong coordinate system?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/locator-in-sample-working-but-still-using-wrong/m-p/357287#M8452</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am using all of my own map services, no esri services. The address locator finds the address and zooms in, just not to the correct spot.&amp;nbsp; We have not upgraded ArcGIS Server to 10 yet (it is going to be soon though) and I know some of the functionality of the 2.0 Flex viewer won't work with 9.3.1.&amp;nbsp; Is that address locator something that I can't use in 2.0 unless I am at 10?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Sep 2010 11:51:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/locator-in-sample-working-but-still-using-wrong/m-p/357287#M8452</guid>
      <dc:creator>MelissaJohnson</dc:creator>
      <dc:date>2010-09-09T11:51:33Z</dc:date>
    </item>
    <item>
      <title>Re: Locator in sample working, but still using wrong coordinate system?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/locator-in-sample-working-but-still-using-wrong/m-p/357288#M8453</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Melissa,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; Nope you can use the locator with 9.3.1 you just have to modify the locatorWidget.mxml code on line 365.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
//replace
locateResult.point = map.spatialReference.wkid != 4326 ? WebMercatorUtil.geographicToWebMercator(addrCandidate.location) as MapPoint : addrCandidate.location;
//With
locateResult.point = addrCandidate.location;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The reasoning behind this is your map and your locator are using WKID 102697 and the default esri code is saying that if the WKID of the map is not 4326 than reproject the locator point to web mercator. They did not account for people using their own locators and map services when they developed this code.:(&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 16:42:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/locator-in-sample-working-but-still-using-wrong/m-p/357288#M8453</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2021-12-11T16:42:18Z</dc:date>
    </item>
    <item>
      <title>Re: Locator in sample working, but still using wrong coordinate system?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/locator-in-sample-working-but-still-using-wrong/m-p/357289#M8454</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I will say it again, you are AWESOME!!!&amp;nbsp; It works perfectly now...&amp;nbsp; Thank you for your help! You are a great resource on this forum and are much appreciated by those of us starting out with Flex!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Sep 2010 12:12:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/locator-in-sample-working-but-still-using-wrong/m-p/357289#M8454</guid>
      <dc:creator>MelissaJohnson</dc:creator>
      <dc:date>2010-09-09T12:12:14Z</dc:date>
    </item>
    <item>
      <title>Re: Locator in sample working, but still using wrong coordinate system?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/locator-in-sample-working-but-still-using-wrong/m-p/357290#M8455</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I would like to use the "singleLineAddressField"&amp;nbsp; with my addresses locator and not the "addressFields".&amp;nbsp; Is there something in the LocateWidget.mxml i can change to do this?&amp;nbsp; I believe you should be able to do this using ArcGIS 10.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Geocode services support single-line address format&lt;BR /&gt;ArcGIS geocoding now allows users to enter an address in a single-line string such as "300 peachtree st nw atlanta ga". This enhancement is exposed through the geocode service, including through the REST API.&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here is part of my locator service.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Service Description: &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Address Fields: &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Street (Type: esriFieldTypeString, Alias: Street or Intersection, Required: false ) &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;City (Type: esriFieldTypeString, Alias: City or Placename, Required: false ) &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;State (Type: esriFieldTypeString, Alias: State, Required: false ) &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ZIP (Type: esriFieldTypeString, Alias: ZIP Code, Required: false ) &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Single Line Address Field: &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Single Line Input (Type: esriFieldTypeString, Alias: Full Address, Required: false )&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Sep 2010 18:32:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/locator-in-sample-working-but-still-using-wrong/m-p/357290#M8455</guid>
      <dc:creator>CarlAlexander</dc:creator>
      <dc:date>2010-09-13T18:32:14Z</dc:date>
    </item>
    <item>
      <title>Re: Locator in sample working, but still using wrong coordinate system?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/locator-in-sample-working-but-still-using-wrong/m-p/357291#M8456</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;@phi505: in the beta there is no special support for singleline geocoder.&amp;nbsp; In the upcoming 2.1 release of the viewer, the LocatorWidget will automatically use the singleline geocoder if there is one.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Sep 2010 14:41:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/locator-in-sample-working-but-still-using-wrong/m-p/357291#M8456</guid>
      <dc:creator>BjornSvensson</dc:creator>
      <dc:date>2010-09-14T14:41:26Z</dc:date>
    </item>
    <item>
      <title>Re: Locator in sample working, but still using wrong coordinate system?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/locator-in-sample-working-but-still-using-wrong/m-p/357292#M8457</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;What can I do, if I'm using the ESRI locator with my mapservices in 26918 (Loction Widget SFV 2.1)?&amp;nbsp; Currently my results are of in no where land.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Nov 2010 00:05:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/locator-in-sample-working-but-still-using-wrong/m-p/357292#M8457</guid>
      <dc:creator>HaroldBostic</dc:creator>
      <dc:date>2010-11-01T00:05:43Z</dc:date>
    </item>
    <item>
      <title>Re: Locator in sample working, but still using wrong coordinate system?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/locator-in-sample-working-but-still-using-wrong/m-p/357293#M8458</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Is there an updated link to the locator widget that allows a user to find a lat/long coordinate when the map service and locator service are in State Plane?&amp;nbsp; All the links I found to the script on the resources page just redirect back to the resources home page.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 May 2011 11:42:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/locator-in-sample-working-but-still-using-wrong/m-p/357293#M8458</guid>
      <dc:creator>VinceGuillet</dc:creator>
      <dc:date>2011-05-05T11:42:05Z</dc:date>
    </item>
    <item>
      <title>Re: Locator in sample working, but still using wrong coordinate system?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/locator-in-sample-working-but-still-using-wrong/m-p/357294#M8459</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Vince,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; This is some pretty old stuff, so no promises.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://arcscripts.esri.com/details.asp?dbid=16359"&gt;http://arcscripts.esri.com/details.asp?dbid=16359&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 May 2011 12:23:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/locator-in-sample-working-but-still-using-wrong/m-p/357294#M8459</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2011-05-05T12:23:46Z</dc:date>
    </item>
  </channel>
</rss>

