Closed ashish-srivastava-dev closed 3 years ago
Have a look at the MeasureLocationTool.
Closing because this is not an issue. Please use the discussions page for asking questions.
Hi Paul,
Can you point me to some code samples which use this tool to capture location coordinates?
Thanks.
Best Regards, Ashish Srivastava
No, I can't. An app installs the tool, the user clicks on locations, and the tool reports their coordinates. Look at the implementation of the tool linked above to see how it works.
How can I get location coordinates for any location clicked in viewer? I want the location in JavaScript code.
⚠ Do not edit this section. It is required for imodeljs.github.io ➟ GitHub issue linking