Beispiel #1
0
        public void DoGetTest6()
        {
            IPConvertRequestDTO iP = new IPConvertRequestDTO();

            iP.Coor = GlobalConstant.RETCOORDTYPEGCJ02;
            var response = BaseProxy.DoGet <IPConvertRequestDTO>(Resources.BaiduMapIPConvert, iP);
        }
Beispiel #2
0
        public void DoGetTest4()
        {
            RGeocoderRequestDTO rGeocoderRequestDTO = new RGeocoderRequestDTO();

            rGeocoderRequestDTO.Location = "35.658651,139.745415";
            rGeocoderRequestDTO.Output   = "json";
            var response = BaseProxy.DoGet <RGeocoderRequestDTO>(Resources.BaiduMapGeocoder, rGeocoderRequestDTO);
        }
Beispiel #3
0
        public void DoGetTest1()
        {
            LGeocoderRequestDTO lGeocoderRequestDTO = new LGeocoderRequestDTO();

            lGeocoderRequestDTO.Address = "哈尔滨理工大学";
            lGeocoderRequestDTO.Output  = "json";
            var response = BaseProxy.DoGet <LGeocoderRequestDTO>(Resources.BaiduMapGeocoder, lGeocoderRequestDTO);
        }
Beispiel #4
0
        public void DoGetTest3()
        {
            PlaceSearchRequestDTO place = new PlaceSearchRequestDTO();

            place.Query  = "ATM机";
            place.Bounds = "39.915,116.404,39.975,116.414";
            place.Output = "json";
            var response = BaseProxy.DoGet <PlaceSearchRequestDTO>(Resources.BaiduMapPlaceSearch, place);
        }
Beispiel #5
0
        public void DoGetTest()
        {
            PlaceSearchRequestDTO place = new PlaceSearchRequestDTO();

            place.Query  = "ATM机";
            place.Region = "北京";
            place.Output = "json";
            var response = BaseProxy.DoGet <PlaceSearchRequestDTO>(Resources.BaiduMapPlaceSearch, place);
        }
Beispiel #6
0
 public void DoGetTest5()
 {
     var response = BaseProxy.DoGet(Resources.BaiduMapIPConvert);
 }