public void TestRadialSearch () { PoIInterface pInterface = new PoIInterface (POI_DP_URL); var list = pInterface.RadialSearch (new Location (1, 1), 1000f); Assert.Greater (list.Count, 0); var list2 = pInterface.RadialSearch (new Location (1, 1), 1000f, 1); Assert.AreEqual (1, list2.Count); }
static void Search () { PoIInterface poi = new PoIInterface (POI_DP_URL); var list = poi.RadialSearch (new Location (1, 1), 20000, 2); Console.WriteLine (list [0].FwCore); }