I am new to Javascript and have been working on configuring the ParkFinder Template from the Local Government App Gallery (http://www.arcgis.com/home/item.html?id=734512384d3b4b849aba2db0e33a80f2). So far I just swapped out all the ESRi layer/field names for mine. I got the app to work on Chrome and FIrefox, but run into an issue when testing it in IE7.
The app loads and everything is fine until I try to search for parks. The map says "Loading" and never actually loads anything. As you can see in the attached image, the search Results portion is populated. However the Park info and Directions boxes do not even show up. I am guessing it is something with the routing functionality, but am not sure where to start.
Any help would be greatly appreciated.
Thanks,
Mark
Also, I just noticed that the infowindow does not work when I click on the park either.
Thanks for the reply.
Is that just an issue with Javascript, because I have a Silverlight app that I created and it runs fine on IE7?
esri.config.defaults.io.proxyUrl = "proxy.ashx"; //Setting to use proxy file esriConfig.defaults.io.alwaysUseProxy = false; esriConfig.defaults.io.timeout = 180000; //ersi request timeout value
So I checked the folder I download for the app and a proxy is set up and saved in the same location as my application.
I also have the following code in my html document.esri.config.defaults.io.proxyUrl = "proxy.ashx"; //Setting to use proxy file esriConfig.defaults.io.alwaysUseProxy = false; esriConfig.defaults.io.timeout = 180000; //ersi request timeout value
If I understood the documentation I read, this set up will automatically use the proxy page if the request exceeds 2000 characters.
Also, the documentation for this app says that it is optimized for IE 7/8/9, Chrome, FireFox so it must be somethign I changed. The only things I changed were field names and map service names/url's.
<ProxyConfig mustMatch="true"> <serverUrls> <serverUrl url="http://xxxxxxx/ArcGIS/rest/services/" matchAll="true"></serverUrl> </serverUrls> </ProxyConfig>