c# - GeocodeQuery is not searching with current location -


i want search nearby hotel using 'searchterm'. geocodequery giving far away results if set 'mygeocodequery.geocoordinate' current location. ( have checked current location co-ordinates debugging accurate) not able figure out went wrong.

please me..

  mygeocodequery = new geocodequery();     mygeocodequery.searchterm = searchterm;      mygeocodequery.geocoordinate = mycoordinate == null ? new geocoordinate(0, 0) : mycoordinate;       mygeocodequery.querycompleted += geocodequery_querycompleted;     mygeocodequery.queryasync(); 


Comments

Popular posts from this blog

node.js - Mongoose: Cast to ObjectId failed for value on newly created object after setting the value -

c# - ItextSharp font color issue in ver 5.5.4+ -

how does one get csharp-sqlite to throw exceptions for duplicates or foreign key constraint violations -