Modify Measure Tool for Bearings and Angles
Modify the measure tool to not only show distance, but also bearings and angles... Maybe have a widget that has checkboxes for each type that a user can turn off or on.
0
-
Hi Bill, Angle and Bearing is currently available in the measurement tools for the HTML5 viewer since version 2.4. The measurements now can appear in a table format and there will be two columns for Angle and Bearing.
This will show up by default in any new viewers that you create for a site.
If you want to add this for an upgraded viewer (from before 2.4.):
- Edit the configuration files for your viewer (Desktop.json.js and tablet.json.js)
- Search for the text: "moduleName": "Results"
- Within the module configuration, find the following:"Measurement": [ ]
And change it for:"Measurement": [ "ShowResultsTable" ]
Hope it helps
-Alejandro0 -
Thanks but it would be nice to have this show up when you are measuring on the display as well as the table.
Also would be nice if you could use the items in the table to draw another feature or export.0 -
Thank you for this Alejandro. Is it possible to change the coordinates returned? I would prefer that WGS84 Lat/Long be shown rather than my default of my application. Web Mercator in my case.
Thanks again,
Bobby Jo0 -
Thanks for the information Alejandro. It helped. 0
Please sign in to leave a comment.
Comments
4 comments