Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-66840

[QML location] MapPolygon not working with ShaderEffectSource

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 5.10.0
    • None
    • MacOS, version 10.13.3
    • macOS

    Description

      When adding a ShaderEffect (or ColorOverlay) on a MapPolygon the following errors appear in console and instead of the polygon a black image is displayed, or in some cases nothing is displayed (play around with map zoom in/out).

      [opengl/qopenglframebufferobject.cpp line 543] OpenGL Error: 1281QOpenGLFramebufferObject: Framebuffer incomplete attachment.QOpenGLFramebufferObject: Framebuffer incomplete, missing attachment.ShaderEffectSource: 'recursive' must be set to true when rendering recursively.

       However this happens only when map is fully zoomed in (zoom level 19) when map is displayed at a zoom level smaller then 19 everything works ok.

       

      See attached an example. To add the poly press the button. Same behaviour if instead of adding later (with button) MapPolygon is defined into the Map item.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            mariuss Marius S
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes