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

Make QGeoMap add/remove/clear QGeoMapParameter methods virtual

    XMLWordPrintable

Details

    • User Story
    • Resolution: Out of scope
    • Not Evaluated
    • None
    • 5.13.1
    • None
    • All

    Description

      Please make the QGeoMapParameter methods virtual:

          virtual void addParameter(QGeoMapParameter *param);
          virtual void removeParameter(QGeoMapParameter *param);
          virtual void clearParameters();
      

      so that we can overwrite existing maps (e.g. QGeoTiledMap) with our own implementation, for instance:

      class MyTilesMap: public QGeoTiledMap
      {
          void addParameter(QGeoMapParameter *param) override;
          void removeParameter(QGeoMapParameter *param) override;
          void clearParameters() override;
      };
      

      Attachments

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

        Activity

          People

            paangele Paolo Angelelli
            DanielSt Peter Staab
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes