require(["esri/config"], function(esriConfig) { esriConfig.defaults.io.proxyUrl = "proxy.ashx" esriConfig.defaults.io.alwaysUseProxy = true; });
<ProxyConfig allowedReferers="*" mustMatch="true"> <serverUrls> <serverUrl url="http://services.arcgisonline.com" matchAll="true"/> <serverUrl url="http://RemoteIP" matchAll="true"/> <serverUrl url="http://RemoteIP:6080" matchAll="true"/> </serverUrls> </ProxyConfig>
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.