[Interest] Set transparent fill on map using mapboxgl plugin

Paolo Angelelli paolo.angelelli at qt.io
Wed Oct 25 13:34:45 CEST 2017


Hi, in this case i'm not 100% sure what you mean.
I just tried to create a Map using mapboxgl plugin, with a polyline on it, and set
the opacity to 0.5, and it seems to behave as expected.

So yes, i would say that it might be a bug worth to report with a sample :-)


On Tue, 24 Oct 2017 14:13:16 +0200
Ola Røer Thorsen <ola at silentwings.no> wrote:

> >
> > MapParameter {
> > type: "paint"
> >                         property var layer: "water-shadow"
> >                         property var fillOpacity: 0.1
> >                     }
> >
> >  
> ... sorry for accidentally pressing send.
> 
> It seems like the map does not handle transparency properly. I also tried
> creating my own mapbox style with most fill-colors set transparent. However
> in Qt Quick Map the transparent colors are rendered as black instead so the
> map cannot be used as an overlay on top of the rest of the Qt Quick scene.
> 
> Is this a bug, or simply not possible?
> 
> Best regards,
> Ola




More information about the Interest mailing list