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++][SFML 2.2] Strange Performance Issues - Moving Mouse Lowers CPU Usage -

ios - Possible to get UIButton sizeThatFits to work? -