Select to view content in your preferred language

Add Transparency Slider to a Layer

4294
20
10-28-2010 09:56 AM
NeilMillward
Regular Contributor
I am trying to add a Transparency Slider to a layer in my layer list but I cannot find any information on how to do this in the concepts. Is this something that is easy to do?

Thanks
Tags (2)
0 Kudos
20 Replies
RobertScheitlin__GISP
MVP Emeritus
All,

  Have you seen the transparency slider on my site? You have to click the transparency icon on the map service in the TOC and then the slider replaces the layers name and has a close button to restore the name.

http://gis.calhouncounty.org/flexviewer2.0/
0 Kudos
RichardDiaz
Regular Contributor
Caution Rick,
use it only for test, it is not well coded.

Erwan


Thanks for the warning Erwan.  I was interested to see how your widget interacted with the existing TOC.

Best regards...Rick
0 Kudos
RichardDiaz
Regular Contributor
All,

Have you seen the transparency slider on my site? You have to click the transparency icon on the map service in the TOC and then the slider replaces the layers name and has a close button to restore the name.

http://gis.calhouncounty.org/flexviewer2.0/



Yes Robert, it works well and is a nice addition!  Have you considered adding "Zoom to Layer" functionality to the TOC?

Best Regards...Rick
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Rick,

    Yep I do that through a right click context menu. I would wait and see what the Viewer Team pulls together for the FlexViewer 2.2. Bjorn has ask some questions about what people are looking for...
0 Kudos
RyanGillen
Deactivated User
Robert,

Have you made this widget available yet?
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Ryan,

   Finally found time to put this out there...

http://www.arcgis.com/home/item.html?id=e2cb71d5c04d40d19e9f945ae0db7ce8
0 Kudos
PaulHeinrich
Emerging Contributor
I'd just like to add my two cents.  Having a transparency slider for each layer would be very useful.  One slider for all operational layers is a lot less useful.  The ability to turn off the slider for some layers would be nice, but not critical.

cheers,  Paul
0 Kudos
IvanBaehr
Deactivated User
Ryan,

   Finally found time to put this out there...

http://www.arcgis.com/home/item.html?id=e2cb71d5c04d40d19e9f945ae0db7ce8


Thanks for this great widget! This was just what I have been looking for. The slider option to gadually shift between pre-event and pos-event image for disaster analysis is very useful for disaster analysis. It would be useful if the slider could be set passive (hiding) for separate layers.

Looking foreward to more cool widgets 🙂

Ivan Baehr
GIS specialist
UNOSAT
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Ivan,

   I am a little unclear on this
It would be useful if the slider could be set passive (hiding) for separate layers.
What exactly do you mean?
0 Kudos
PedroGarcia
Deactivated User
It's not easy ... as you probably figured out based on the lack of responses 🙂

It is however something we are thinking about adding to a future release of the Flex Viewer. So I just wanted to throw out some related questions:

Would it be best (or at least good enough) if users could  set the transparency on all operational layers (as opposed to them only being able to change the transparency on some of the operational layers)?

Should this functionality (layer transparency for end-users) be the default?

Should it always be there, or is something you would want to be able to turn off (not allowing your end users to change the transparency)?


Hi Bjorn,

Why not add for nearest release the same funcionality provided in ArcMap by the Swipe layer button in Effects extension? (for me it's more useful when comparing two aerial photos) 🙂

Regards,
   Pedro.
0 Kudos