I'm trying to get the length of a polyline in webmercator (102100). I am using geodesicLength but the result is slighlty off compared to the real distance (I'm getting 7099m instead of 7114m in that case but it happens pretty much on all polylines). Other tools on the web returns me the correct length, as does arcmap.
I'm wondering if the tool runs some sort of simplification before calculating the length?
I have tried to use the geometryService.length but that function crashes all the time, I'm assuming because my polyline has got too many vertices ?