Select to view content in your preferred language

Measurement Widget

1902
2
02-08-2016 11:25 AM
JennaWalz2
Emerging Contributor

Hello,

I was looking at the measurement widget at the following site. I noticed that when you close the drop-down it still lets you measure things. Is there a way to disable the measure widget when the container is closed?

Measurement Widget | ArcGIS API for JavaScript

Thanks,

Jenna

0 Kudos
2 Replies
RobertScheitlin__GISP
MVP Emeritus

Jenna,

   You click on the tool you have active again to toggle the tool off. You could add an event listener to the title panes toggle event to turn off the measure widgets selected tool.

RyanSellman
Deactivated User

Hi Jenna,

Check out this link. 

Edit fiddle - JSFiddle

Is this what you're after?

Ryan