esri.config.defaults.io.proxyUrl = "proxy/proxy.ashx";
I would think you would take an performance hit for that
and somewhere else I read that you shouldn't set that to true except when you are using the proxy for security reasons.
I need it because I'm using a geometryService and a routeTask and both routinely exceed the max # of characters.
I already tried adding that line BTW and it didn't make any difference.
esri.config.defaults.io.alwaysUseProxy = true; If the alwaysUseProxy property is false (the default), then the proxy page will be used automatically if the proxy property is set and the request exceeds 2000 characters.
esri.config.defaults.io.alwaysUseProxy = true;
Les membres connectés peuvent publier, suivre les mises à jour, et plus encore. Nouveau ici ? Inscrivez-vous gratuitement.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.