Hi, I am working on the measurement widget, and it seems that the out of box 'esri/dijit/Measurement' widget is always based on Web-Mercator projection. This makes the measurement result not as accurate as local projection if I understand correctly. Is there a way to use local projection to do the measurement by using this widget? Or I must build a fresh new widget from scratch by myself if I want to get accurate measurement result?Thanks,Wei
You only really need the conversion algorithm for Web-Mercator to your local projection.With this, you could modify the widget to fit your needs or convert the values after a measurement event.
Hi Wei,I don't use the Javascript API, but what about esri.geometry.geodesicUtils? Melita
Sorry, but are you actually saying that the measure widget is inaccurate for all other projections? I hope not as this is now in my production system and being used daily. All my mapping is in BNG 27700
サインインしたメンバーは投稿、更新のフォローなどができます。初めてですか?無料アカウントを登録してください。
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.