In MapManager, find the code where is is adding the maps from the config file. This is a snip from where it adds the dynamic maps case "dynamic": { var dynlayer:ArcGISDynamicMapServiceLayer=new ArcGISDynamicMapServiceLayer(url); dynlayer.id=label; dynlayer.name=label; // Remove proxy config for dynamic layers // dynlayer.proxyURL=configData.proxy; dynlayer.visible=visible; dynlayer.alpha=alpha; dynlayer.visibleLayers=new ArrayCollection(configData.configMap.visibleLayers); _map.addLayer(dynlayer); break; }As you can see, we have just removed the config URL property being set on the ArcGISDynamicMapServiceLayer. I don't know if this is a good idea but it works for us!
case "dynamic": { var dynlayer:ArcGISDynamicMapServiceLayer=new ArcGISDynamicMapServiceLayer(url); dynlayer.id=label; dynlayer.name=label; // Remove proxy config for dynamic layers // dynlayer.proxyURL=configData.proxy; dynlayer.visible=visible; dynlayer.alpha=alpha; dynlayer.visibleLayers=new ArrayCollection(configData.configMap.visibleLayers); _map.addLayer(dynlayer); break; }
Hi Luke, can you better explain step by step what you did ?Thanks so much,Naty
OK if you r using FlexViewer1.3 you need to go to IIS and configure the site as an application1.START/rightclick myComputer/Manage2.expand "services and applications"3.expand IIS "internet information services"4. expand websites and click default website5. Navigate to your website right click on it and choose properties.6.in the directory tab click the create button next to application name (grayed out).OK open a fresh browser clear flash cache clear browser cache and you should be aight.-m*
I had the sample problem with all dynamic maps. I found my problem was the proxy file being used. We removed the proxy URL from the dynamic maps when added in MapManager and all worked fine
Membros conectados podem postar, seguir atualizações e mais. Novo aqui? Registre uma conta gratuita.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.