Thursday, 15 July 2010

c# - GeocodeQuery is not searching with current location -


I want to search nearby hotels using 'Search'. But the Geocodecutgie is giving far away results, even if I have set up 'MyGeocodeQuery.GeoCoordinate' with my current location. (I have checked my current location correctly by debugging, which is accurate) I do not understand what happened wrong.

Please help me ..

  MyGeocodeQuery = New GeocodeQuery (); MyGeocodeQuery.SearchTerm = searchTerm; MyGeocodeQuery.GeoCoordinate = MyCoordinate == Zero? New Geocordinate (0, 0): Mycordinate; MyGeocodeQuery.QueryCompleted + = GeocodeQuery_Query Complete; MyGeocodeQuery.QueryAsync ();  


No comments:

Post a Comment