This is

<https://bugreports.qt.io/browse/QTBUG-47170>

https://bugreports.qt.io/browse/QTBUG-47170


where we discuss this further if the need should arise.

--

Alex


________________________________
From: interest-bounces+alexander.blasche=theqtcompany....@qt-project.org 
<interest-bounces+alexander.blasche=theqtcompany....@qt-project.org> on behalf 
of Herbert Danzinger <herbert.danzin...@gmail.com>
Sent: Sunday, July 12, 2015 14:45
To: Interests Qt
Subject: [Interest] Bug in QtLocation 5.5 when zooming map?

I just tried the following QML to have a playground for integrating maps in an 
Android app.
But the problem is, zooming the map on the device just does not work.
I tried that on a Nexus4 running Android 4.4 and on a Moto G with the same 
result: zooming is not available.
The example mapviewer app included in Qt 5.5 works without problems though.

Am I missing something?


import QtQuick 2.5

import QtQuick.Controls 1.4

import QtLocation 5.5

import QtPositioning 5.5


ApplicationWindow {

    visible: true

    Plugin {

        id: myPlugin

        name: "osm"


    }

    Map {

        id: map

        plugin: myPlugin

        anchors.fill: parent

        gesture.activeGestures: MapGestureArea.ZoomGesture | 
MapGestureArea.PanGesture | MapGestureArea.FlickGesture

        gesture.enabled: true

        zoomLevel: 16

        Component.onCompleted: {

            console.log("Pinch enabled: " + gesture.pinchEnabled)

        }

    }

}


BR

herbert
_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to