<esri:Locator id="locator" url="{File.applicationDirectory.resolvePath('.....gcpk')}"/>
Hello All,
I'm working on a mobile project where I am trying to use a locator package locally using flex. However it looks like I am getting an error when the package is trying to geocode the address. Is it possible to use locator package in flex api? Has anybody try to do this before Can someone please enlighten me on this issue.
Thanks in advance.<esri:Locator id="locator" url="{File.applicationDirectory.resolvePath('.....gcpk')}"/>
Failure:
[RPC Fault faultString="HTTP request error" faultCode="Server.Error.Request" faultDetail="Error: [IOErrorEvent type="ioError" bubbles=false cancelable=false eventPhase=2 text="Error #2032: Stream Error. URL: app:/%5Bobject%20File%5D/findAddressCandidates?outFields=%2A&f=json&SingleLine=703%20W%2E%20California%20Ave%2E%20Vista%20CA%2092083" errorID=2032]. URL: [object File]/findAddressCandidates?outFields=%2A&f=json&SingleLine=703%20W%2E%20California%20Ave%2E%20Vista%20CA%2092083"]
Hi Heberlie and thanks for the reply but....
Is the Flex API team planning to support this?
Since Flex api now support tile package it will just make sense to start thinking about these packages as a whole.
Thanks