I JsApi 3.x I had "esri/dijit/Measurement," but I cannot find an example for JsApi 4.x.
(if nothing for ShareDialog, please disregard.)
There is a measurement widget in 4.10:
There is no share widget/dialog
In addition to the resources that Robert posted, here are some samples that use the 4 different measurement widgets available at 4.10:
and a blog post about using the 2D measurement widgets:
Measure Twice with the new 2D Measurement Widgets
Those are great!
Is there another one measuring a point?I.E. should return the coordinates of the point; if the map has elevation, should also return the elevation.
Also - I'll try this later... - I need all three combined in one panel. The widget should have some configuration options to display or not the mode and the units selectors (with defaults.) (When not displaying the units selector,) should automatically select the multiplier (m, km etc.)
I'm not sure of a widget measuring a point, but we do have a CoordinateConversion widget, which can do something similar, or just make sure of the x/y/z properties of the point geometry.
Yes: working great!
(Please ignore "Also - I'll try this later...")
We don't have an out-of-the-box share widget but there is one available on the Esri GitHub org that we use in some of the configurable apps:
share-widget/Share/Share at master · Esri/share-widget · GitHub
Retrieving data ...