Transparency

2335
3
Jump to solution
10-14-2015 02:08 PM
PatrickWild3
New Contributor III

Is it possible to apply transparency to ArcGISLocalTiledLayers?

I see property descriptions for brightness, contrast, and gamma in the Qt QML API, but no alpha.

Thanks,

PW

0 Kudos
1 Solution

Accepted Solutions
by Anonymous User
Not applicable

Try the opacity property? Is a generic property of most objects.

View solution in original post

0 Kudos
3 Replies
by Anonymous User
Not applicable

Try the opacity property? Is a generic property of most objects.

0 Kudos
PatrickWild3
New Contributor III

Thanks Paul,

Any idea how to implement a slider for layer opacity?

PW

0 Kudos
by Anonymous User
Not applicable

Off the top of my head, I imagine you'd create a Slider object with a min/max value of 0/1 and bind its value to the opacity of the layer, something like...

Slider{

id: slider

minimumValue: 0

maximumValue: 1

}

ArcgisTiledMapServiceLayer{

opacity: slider.value

}

In theory, as you alter the value of the slider, it should adjust the opacity of the layer.

0 Kudos