have you tried esri.config.defaults.io.alwaysUseProxy = true;
Got it!I can see the image url (in fireBug) passed back from ArcGIS server.With proxy, user should not see it right?In our case, the application is in the same domain as the map server.But we want to use the proxy all the time. The proxy was set up by other people, I am wonder whether the proxy setupis right or not, how can I test it out? I did see "404 Not Found" error in Firebug.Thanks a lot!
esri.config.defaults.io.proxyUrl = "/xyz/map-proxy"; //it is a working proxy esri.config.defaults.io.alwaysUseProxy = true;
Aangemelde leden kunnen berichten plaatsen, updates volgen en meer. Nieuw hier? Registreer een gratis account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.