<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html> <html lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <!-- qtlocation-changes.qdoc --> <title>Qt Location QML API changes since 5.4 | Qt Location 5.9</title> <link rel="stylesheet" type="text/css" href="style/offline-simple.css" /> <script type="text/javascript"> document.getElementsByTagName("link").item(0).setAttribute("href", "style/offline.css"); // loading style sheet breaks anchors that were jumped to before // so force jumping to anchor again setTimeout(function() { var anchor = location.hash; // need to jump to different anchor first (e.g. none) location.hash = "#"; setTimeout(function() { location.hash = anchor; }, 0); }, 0); </script> </head> <body> <div class="header" id="qtdocheader"> <div class="main"> <div class="main-rounded"> <div class="navigationbar"> <table><tr> <td >Qt 5.9</td><td ><a href="qtlocation-index.html">Qt Location</a></td><td >Qt Location QML API changes since 5.4</td></tr></table><table class="buildversion"><tr> <td id="buildversion" width="100%" align="right">Qt 5.9.4 Reference Documentation</td> </tr></table> </div> </div> <div class="content"> <div class="line"> <div class="content mainContent"> <div class="sidebar"><div class="sidebar-content" id="sidebar-content"></div></div> <h1 class="title">Qt Location QML API changes since 5.4</h1> <span class="subtitle"></span> <!-- $$$qtlocation-changes.html-description --> <div class="descr"> <a name="details"></a> <p>This page lists the <a href="qtlocation-module.html">QtLocation</a> QML API changes since the first Qt Location Technology Preview in Qt 5.4. Since Qt 5.6 this API is considered to be final and subsequent releases will not break the given API anymore.</p> <p><b>Note: </b>The public C++ API remained binary compatible since Qt 5.4.</p><p><b><a href="qml-qtlocation-map.html">Map</a> Component</b></p> <ul> <li>removed wheelAngleChanged() signal</li> <li>added <a href="qml-qtlocation-map.html#error-prop">error</a> property</li> <li>added <a href="qml-qtlocation-map.html#errorString-prop">errorString</a> property</li> <li>added <a href="qml-qtlocation-map.html#copyrightLinkActivated-signal">copyrightLinkActivated</a> signal</li> <li>removed toScreenPosition() method</li> <li>added <a href="qml-qtlocation-map.html#fromCoordinate-method">fromCoordinate</a>() method</li> <li>replaced cameraStopped() method with <a href="qml-qtlocation-map.html#prefetchData-method">prefetchData</a> method</li> <li>replaced fitViewportToGeoShape() method with <a href="qml-qtlocation-map.html#visibleRegion-prop">visibleRegion</a> property</li> <li>added <a href="qml-qtlocation-map.html#color-prop">color</a> property</li> <li>added <a href="qml-qtlocation-map.html#clearData-method">clearData</a> method</li> </ul> <p><b><a href="qml-qtlocation-mapgesturearea.html">MapGestureArea</a> Component</b></p> <ul> <li>removed movementStopped() signal</li> <li>replaced isPanActive and isPinchActive properties with <a href="qml-qtlocation-mapgesturearea.html#panActive-prop">panActive</a> and <a href="qml-qtlocation-mapgesturearea.html#pinchActive-prop">pinchActive</a> properties</li> <li>replaced activeGestures with <a href="qml-qtlocation-mapgesturearea.html#acceptedGestures-prop">acceptedGestures</a></li> <li>replaced <a href="qml-qtlocation-mapgesturearea.html">MapGestureArea</a>.ZoomGesture with <a href="qml-qtlocation-mapgesturearea.html#acceptedGestures-prop">MapGestureArea.PinchGesture</a></li> <li>removed properties panEnabled and pinchEnabled, please use <a href="qml-qtlocation-mapgesturearea.html#acceptedGestures-prop">acceptedGestures</a> instead</li> </ul> <p><b><a href="qml-qtlocation-mappolyline.html">MapPolyline</a> Component</b></p> <ul> <li>added <a href="qml-qtlocation-mappolyline.html#containsCoordinate-method">containsCoordinate</a> method</li> <li>added <a href="qml-qtlocation-mappolyline.html#coordinateAt-method">coordinateAt</a> method</li> <li>added <a href="qml-qtlocation-mappolyline.html#insertCoordinate-method">insertCoordinate</a> method</li> <li>added <a href="qml-qtlocation-mappolyline.html#replaceCoordinate-method">replaceCoordinate</a> method</li> <li>added <a href="qml-qtlocation-mappolyline.html#removeCoordinate-method">removeCoordinate</a> method</li> </ul> <p><b>Geoservice</b>'s plugin parameters</p> <ul> <li>the <a href="location-plugin-here.html">HERE</a> plugin uses the <code>here</code> prefix in front of each plugin parameter name</li> <li>the <a href="location-plugin-osm.html">OSM</a> plugin uses the <code>osm</code> prefix in front of each plugin parameter name</li> </ul> </div> <!-- @@@qtlocation-changes.html --> </div> </div> </div> </div> </div> <div class="footer"> <p> <acronym title="Copyright">©</acronym> 2017 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners.<br> The documentation provided herein is licensed under the terms of the <a href="http://www.gnu.org/licenses/fdl.html">GNU Free Documentation License version 1.3</a> as published by the Free Software Foundation.<br> Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners. </p> </div> </body> </html>