Select to view content in your preferred language

project and measure at the same time

548
1
09-30-2010 11:02 AM
KevinGooss
Regular Contributor
I want to have a measure tool that calculates the area of a sketch the user draws. But I want the measures to be in a projected coord sys (UTM) and my map is in a geo coord sys (WM). Is there a way I can do the projection and the measurement in the same round trip to the serve rather than having to do 2 calls?

This link
http://help.arcgis.com/en/webapi/javascript/arcgis/help/jssamples/util_measurepoly.html

describes this very topic and then provides a link to another sample that has nothing to do with projection so that is not very helpful.
0 Kudos
1 Reply
derekswingley1
Deactivated User
I think you're stuck doing two calls unless you want to develop an SOE...
0 Kudos