1

I am using Robert's compiled TOC widget and attempting to modify the LocateWidget.mxml for the flexviewer. The workflow I have in mind is that user performs an address search clicks the locate button and all my defined operational layers turn on. The clear button would then turn them off.

My attempt at the code is posted here: http://forums.arcgis.com/threads/57851-Modifying-the-LocateWidget.mxml-Locate-and-Clear-functions

1

1 Answer 1

1

You need to check in the ActionScript code block for scale change, as soon as this takes place you need to check if the scale is larger then 18056 scale, turn on the OP Layers otherwise keep default.

If you could post your MXML file it will be of more help to assist you in this.

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.