This is the type of thing that's easy to test and figure out on your own . The answer is yes, you can query against a layer in map service. I used a feature service because it was readily available.
Derek in your example, you are querying against a featureserver. Can you query against a mapserver instead or does it have to be a featureserver to do clustering?
Hi Derek,any chance to get point clustering to API? It would be really nice.
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.