示例#1
0
        public void ListBranchInfo(int stationId)
        {
            List <BranchModel> branchList = BranchDao.GetBranch(stationId);

            double?latitude, longitude;
            string branchName;

            foreach (var x in branchList)
            {
                branchName = x.Name;
                latitude   = x.Latitude;
                longitude  = x.Longitude;

                this.bingGeocodeDataProviderBranchName.RequestLocationInformation(new GeoPoint((double)latitude, (double)longitude), null);
            }
        }