Closed green3g closed 4 years ago
The div is empty because for the Measurement widget you need to build and configure the UI yourself. See this sample on how to use it: https://developers.arcgis.com/javascript/latest/sample-code/sandbox/index.html?sample=widgets-measurement Let us know if you have more questions.
@NoashX in case you have nothing to add, I think we can close this issue?
That makes sense. I didn't realize the widget didn't provide the buttons. Thanks @RalucaNicola!
Describe the bug Instead of rendering the measurement widget, an empty div is rendered inside an expand widget.
To Reproduce https://codepen.io/roemhildtg/pen/zYYWzeq?editors=1000
Expected behavior Expand widget should render the measurement widget.
Screenshots
Browser (check https://whatismybrowser.com/) Firefox 70
What's your OS? (check https://whatsmyos.com): Windows 10
API version (check your console) 4.13-next