Select to view content in your preferred language

Zillow Widget for Flexviewer 2.x

2575
11
02-02-2011 01:12 PM
ReneRubalcava
Esri Frequent Contributor
Not too long ago someone had inquired about a Real Estate widget using Zillow or some other service on this forum.

So, I had been wanting to try out some new API's and built a Zillow Widget for Flexviewer 2.x.
http://www.arcgis.com/home/item.html?id=43a861b27c3a4463b23493d042974138

You will need to get your own Zillow API key from Zillow, which you can do for free.
http://www.zillow.com/howto/api/APIOverview.htm

Their API calls are pretty well documented and it's basically a lot of XML parsing. This widget was also built using Robotlegs once I realized that it was really going to be a more invloved module than I initially anticipated.
If you wish to compile from source, you will need the Robotlegs .swc file which you can get from the official site.
http://www.robotlegs.org/

I have tested some more extensive API calls to Zillow and I am pleasantly surprised that their servies are quick. You are limited to 1000 API calls per day, so if my sample application breaks, that is probably why.

The latest source can be found on github
https://github.com/odoe/Zillow-Widget

I will update the zip file on the Resource center when new functionalities are complete. The github repo will probably have some incomplete features as I commit often while working.

Any feedback is welcome, thank you.

Update:
(02/03/2011) - added search options for Regional Postings to include Property Types and Rentals.
Tags (2)
0 Kudos
11 Replies
RyanColeman
Regular Contributor
Sorry, I have not had much free time to work on my widget projects.
I updated the Zillow widget with a clear button. I've found that users don't always want to clear results when a widget is closed, so I think this is a good compromise.

Now if you wanted to do this on widget close, I add a clear method to the ViewManager
vManager.clearLayer();
You can tie the widget close event to a function that can call this method when the widget is closed if you like.

Hope that helps.


Thanks very much for your help! If anybody else is doing this- you can add map.infoWindow.hide(); to the same widgetClosedHandler and it will get rid of any open Zillow info windows when the close button is hit too.
0 Kudos
KyleReese-Cassal
New Contributor
Does this Widget work for Flexviewer 2.5?  I have a Zillow API key, but the dialogue box does not open.  I've tried the code from this site and from https://github.com/odoe/Zillow-Widget.  Thanks!
0 Kudos