Powered by Jitbit AspNetForum free trial version.
home recent topics recent posts search register faq   AspNetForum v.4.7.0.0

 AfriGIS MapServer JavaScriptAPI :: Forum

user:
psw:
| lost password
Home » JavaScriptAPI - General » AGSearch() returning an empty result Messages in this topic - RSS
10/9/2009 2:50:53 PM
Kellros
Posts 1
Good day,

I am having an issue with the AGSearch().search. It doesn't matter what string is searched for, it always returns a Json array with no result ( _d8[0]._hl("{'SearchResults':[]}") ).
On the website www.qvadisministry.co.za (drupal based <php>, I have hooked up the map in the About Us -> Our Location section. The purpose of this is to preset the destination LONG/LAT of the ministry and give users the option to enter their current address and click search. Which in turn would should a list of all search results, where they select their nearest location and then click 'Get Directions'.

The whole business is easy enough, the AGSearch gets the longitude/latitude which is required for the 'From Destination' in AGDirections with the destinations' longitude/latitude already set.

After seeing this repeatedly return with no result, I decided to check if the LuceneSearch used in http://maps.afrigis.co.za/ would return results, but the result was an 403 error (no access, which is good to stop other people/sites from misusing your internal webservice).

Hope this issue will be sorted out soon and thanks to AfriGIS for the use of their services.
pages: 1
|

Home » JavaScriptAPI - General » AGSearch() returning an empty result