[OpenLayers-Users] OL2 - layer label opacity

Joseph Armbruster josepharmbruster at gmail.com
Wed Jun 29 13:02:14 PDT 2016


Hi,

Is there a simple way to change the layers label opacity independent
of the layers opacity.  I have some code that calls into
layer.setOpacity and I would like all of my calls to this function to
not operate on feature geometry but not the labels.  Is this possible?

On this topic, should there be a fontOpacity within
layer.styleMap.styles.default.defaultStyle?

Thank You,
Joseph Armbruster


More information about the Users mailing list