I am using the Measure Widget. I want the line tool selected when the widget is started. That way a user can start measuring directly without extra clicks. Tom Sellsted
Is there any code that I can change to do this?
Measure Widget 1.3.1 for Web App Builder
Go to Solution.
Success! In the measure/widget.js you just need to add a single line of code in the postCreate function.
View solution in original post
Not sure I have an easy answer for this. I will investigate.
This is perfect!!!
I have one more request. For some reason, it does not include the text now. Is there another line I can add or change?
Is this in WAB 2.0? Which browser are you using?
Yes this is WAB 2.0. This happens in both chrome and Firefox.
I am not seeing this behavior. What theme are you using?
I am using Launchpad theme.
Its only the first line I draw that does not have the length.
I have now tried it with Billboard theme and I am still getting the same issue.
Can you please try moving the line of code that I provided to the last line in the postCreate function? I was able to replicate the problem.
That did it! Thanks!