public static void Main(string[] args)
        {
            GeocodingService geoCodingService = new GeocodingService();
            LocationInfo     locationInfo     = geoCodingService.Geocode("150 GRANDVIEW WAY MISSOULA MT");

            PublicHousingAuthorityInfoService phaiService = new PublicHousingAuthorityInfoService();
            PublicHousingAuthorityInfo        info        = phaiService.GetPublicHousingAuthorityInfo(locationInfo.City, locationInfo.State);

            //FairMarketRentService service = new FairMarketRentService();
            //service.GetFairMarketRent("King County", "WA", 3);

            // Geocode an address
            // ...

            // Use this to get fair market value
            // ...

            //GeocodeGoogleAddress("150 GRANDVIEW WAY MISSOULA MT");

            //Esri.ArcGISRuntime.Layers.

            /*
             * while(true)
             * {
             *  HudServiceExample();
             * }
             * */

            //http://services.arcgis.com/VTyQ9soqVukalItT/ArcGIS/rest/services/MultiFamilyProperties/FeatureServer/0/query?where=LAT=46.815616+AND+LON=-114.02801&outFields=*1
        }
Пример #2
0
        public ActionResult Index()
        {
            GeocodingService geoCodingService = new GeocodingService();
            LocationInfo     locationInfo     = geoCodingService.Geocode("150 GRANDVIEW WAY MISSOULA MT");

            PublicHousingAuthorityInfoService phaiService = new PublicHousingAuthorityInfoService();
            // Hangs
            PublicHousingAuthorityInfo info = phaiService.GetPublicHousingAuthorityInfo(locationInfo.City, locationInfo.State);

            ViewBag.Message = "Modify this template to jump-start your ASP.NET MVC application.";

            return(View());
        }
        public static void Main(string[] args)
        {
            // Geocode an address provided by the user
            GeocodingService geoCodingService = new GeocodingService();
            LocationInfo     locationInfo     = geoCodingService.Geocode("150 GRANDVIEW WAY MISSOULA MT");

            // Use the information from the geocoded address to get Fair Market Rent
            FairMarketRentService fmrService = new FairMarketRentService();
            FairMarketRentInfo    fmrInfo    = fmrService.GetFairMarketRentInfo(locationInfo.Latitude, locationInfo.Longitude);

            // Use the information from the geocoded address to get Public Housing Authority Conact Information
            PublicHousingAuthorityInfoService phaiService = new PublicHousingAuthorityInfoService();
            PublicHousingAuthorityInfo        info        = phaiService.GetPublicHousingAuthorityInfo(locationInfo.City, locationInfo.State);
        }