I try to use querytask to get M from arcgis server, but it seems javascript api doesn't support returnM. Does anyone know how to get M value using javascript api? Thanks,
Miles,
Don't forget to mark this question as answered.
Thanks Robert,
The JS API Geometry Object is not m aware and the Query class does not provide any returnM property like the REST API does. But if you do not use QueryTask and build your own REST Query url then you can add the returnM url parameter and once you have your URL and parameters built then you can use esriRequest to manually query the REST endpoint.
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.