There isn't a hard limit on the number of facilities you can use. The problem you're probably having is that using more facilities generates a longer URL. When the API tries to load a URL over 2048 characters, it automatically switches to doing a POST instead of a GET. Doing a POST with a long URL requires a proxy page due to limitations imposed by some browsers. It's pretty straightforward to set up a proxy page. We have instructions on how to do this in the proxy page documentation.
We have the proxy page correctly set up on our site and I still have never gotten this task to work, particularly over long distances. Is it meant to be a short-range solution?
Does it time out does it return an error? And are you able to get the same request to work from the services directory?
"code":400,"message":"Unable to complete operation.","details":["No \"Facilities\" found for \"Location 1\" in \"Incidents\". No solution found
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.