public void OnGetPoiResult(MKPoiResult res, int type, int iError)
            {
                if (iError != 0)
                {
                    Toast.MakeText(panoramaPoiSelectorActivity,
                            "抱歉,未能找到结果", ToastLength.Short).Show();
                    return;
                }
                if (res.CurrentNumPois > 0)
                {
                    // 将poi结果显示到地图上
                    SelectPoiOverlay poiOverlay = new SelectPoiOverlay(panoramaPoiSelectorActivity, panoramaPoiSelectorActivity.mMapView);
                    poiOverlay.SetData(res.AllPoi);
                    panoramaPoiSelectorActivity.mMapView.Overlays.Clear();
                    panoramaPoiSelectorActivity.mMapView.Overlays.Add(poiOverlay);
                    panoramaPoiSelectorActivity.mMapView.Refresh();
                    //当ePoiType为2(公交线路)或4(地铁线路)时, poi坐标为空
                    foreach (MKPoiInfo info in res.AllPoi)
                    {
                        if (info.Pt != null)
                        {
                            panoramaPoiSelectorActivity.mMapView.Controller.AnimateTo(info.Pt);
                            break;
                        }
                    }
                }

            }
 /**
  * 在此处理poi搜索结果 , 用poioverlay 显示
  */
 public void OnGetPoiResult(MKPoiResult res, int type, int error)
 {
     // 错误号可参考MKEvent中的定义
     if (error != 0 || res == null)
     {
         Toast.MakeText(shareDemoActivity, "抱歉,未找到结果", ToastLength.Long).Show();
         return;
     }
     // 将地图移动到第一个POI中心点
     if (res.CurrentNumPois > 0)
     {
         // 将poi结果显示到地图上
         PoiShareOverlay poiOverlay = new PoiShareOverlay(shareDemoActivity, shareDemoActivity.mMapView);
         poiOverlay.SetData(res.AllPoi);
         shareDemoActivity.mMapView.Overlays.Clear();
         shareDemoActivity.mMapView.Overlays.Add(poiOverlay);
         shareDemoActivity.mMapView.Refresh();
         //当ePoiType为2(公交线路)或4(地铁线路)时, poi坐标为空
         foreach (MKPoiInfo info in res.AllPoi)
         {
             if (info.Pt != null)
             {
                 shareDemoActivity.mMapView.Controller.AnimateTo(info.Pt);
                 break;
             }
         }
     }
 }
 /**
  * 在此处理poi搜索结果
  */
 public void OnGetPoiResult(MKPoiResult res, int type, int error)
 {
     // 错误号可参考MKEvent中的定义
     if (error != 0 || res == null)
     {
         Toast.MakeText(poiSearchDemo, "抱歉,未找到结果", ToastLength.Long).Show();
         return;
     }
     // 将地图移动到第一个POI中心点
     if (res.CurrentNumPois > 0)
     {
         // 将poi结果显示到地图上
         MyPoiOverlay poiOverlay = new MyPoiOverlay(poiSearchDemo, poiSearchDemo.mMapView, poiSearchDemo.mSearch);
         poiOverlay.SetData(res.AllPoi);
         poiSearchDemo.mMapView.Overlays.Clear();
         poiSearchDemo.mMapView.Overlays.Add(poiOverlay);
         poiSearchDemo.mMapView.Refresh();
         //当ePoiType为2(公交线路)或4(地铁线路)时, poi坐标为空
         foreach (MKPoiInfo info in res.AllPoi)
         {
             if (info.Pt != null)
             {
                 poiSearchDemo.mMapView.Controller.AnimateTo(info.Pt);
                 break;
             }
         }
     }
     else if (res.CityListNum > 0)
     {
         //当输入关键字在本市没有找到,但在其他城市找到时,返回包含该关键字信息的城市列表
         string strInfo = "在";
         for (int i = 0; i < res.CityListNum; i++)
         {
             strInfo += res.GetCityListInfo(i).City;
             strInfo += ",";
         }
         strInfo += "找到结果";
         Toast.MakeText(poiSearchDemo, strInfo, ToastLength.Long).Show();
     }
 }
 public void OnGetPoiResult(MKPoiResult res, int arg1, int arg2)
 {
 }
            public void OnGetPoiResult(MKPoiResult res, int type, int error)
            {
                // 错误号可参考MKEvent中的定义
                if (error != 0 || res == null)
                {
                    Toast.MakeText(busLineSearchDemo, "抱歉,未找到结果", ToastLength.Long).Show();
                    return;
                }

                // 找到公交路线poi node
                MKPoiInfo curPoi = null;
                int totalPoiNum = res.CurrentNumPois;
                //遍历所有poi,找到类型为公交线路的poi
                busLineSearchDemo.busLineIDList.Clear();
                for (int idx = 0; idx < totalPoiNum; idx++)
                {
                    if (2 == res.GetPoi(idx).EPoiType)
                    {
                        // poi类型,0:普通点,1:公交站,2:公交线路,3:地铁站,4:地铁线路
                        curPoi = res.GetPoi(idx);
                        //使用poi的uid发起公交详情检索
                        busLineSearchDemo.busLineIDList.Add(curPoi.Uid);
                        JavaSystem.Out.Println(curPoi.Uid);

                    }
                }
                busLineSearchDemo.SearchNextBusline();

                // 没有找到公交信息
                if (curPoi == null)
                {
                    Toast.MakeText(busLineSearchDemo, "抱歉,未找到结果", ToastLength.Long).Show();
                    return;
                }
                busLineSearchDemo.route = null;
            }
 public void OnGetPoiResult(MKPoiResult res, int type, int error)
 {
 }