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,
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.
Thanks Robert,
Miles,
Don't forget to mark this question as answered.