[Interest] Set transparent fill on map using mapboxgl plugin

Ola Røer Thorsen ola at silentwings.no
Tue Oct 24 14:10:33 CEST 2017


2017-10-24 12:36 GMT+02:00 Paolo Angelelli <paolo.angelelli at qt.io>:

>
> For your specific problem, if this is going to work, it's probably by
> setting some of the properties described
> in https://www.mapbox.com/mapbox-gl-js/style-spec/#layers-fill
>
>
Thanks for the reply! I got it working, after I figured out that the mapbox
property names are translated from the mapbox names with dashes to
camelCase in the MapParameter item. So this here work for example:

MapParameter {
type: "paint"
                        property var layer: "water-shadow"
                        property var fillOpacity: 0.1
                    }



esfsegfs
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20171024/289125f3/attachment.html>


More information about the Interest mailing list