Overriding the maximumZoomLevel for the mapviewer example



  • Hello,

    I am hoping to override the maximumZoomLevel for the mapviewer example, this is because I want to overlay detailed plans on top of the map which can be zoomed into.

    However I have not figured out how to do this.

    When I tried to simply set map.maximumZoomLevel = X

    It doesn't seem to work.

    I'd appreciate any help,

    Thanks



  • I do not have experience with QML,
    but it might be that you have to control it on plugin side, since according to QT documentation
    "The maximum zoom level is defined by the plugin used. If a plugin supporting mapping is not set, -1.0 is returned."



  • Thanks, I will look into the plugins!


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.