<?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-examples.qdoc --> <title>Qt Location Examples | Qt Location 5.11</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 ><a href="../qtdoc/index.html">Qt 5.11</a></td><td ><a href="qtlocation-index.html">Qt Location</a></td><td >Qt Location Examples</td></tr></table><table class="buildversion"><tr> <td id="buildversion" width="100%" align="right">Qt 5.11.2 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 Examples</h1> <span class="subtitle"></span> <!-- $$$qtlocation-examples-description --> <div class="descr"> <a name="details"></a> <p>These examples show a range of different uses for <a href="qtlocation-index.html">Qt Location</a>, such as displaying a map within a QML user interface, implementing basic routing and place search, as well as integrating positioning data types.</p> <p>These examples can work with any of the available geo services plugins. However, some plugins may require additional <a href="qml-qtlocation-pluginparameter.html">plugin parameters</a> in order to function correctly. The default plugin used by these examples is <a href="location-plugin-osm.html">Qt Location Open Street Map Plugin</a>, which does not require any parameters. The <a href="location-plugin-mapboxgl.html">Qt Location Mapbox GL Plugin</a> was used for the screenshots and can also be used without any parameters, for development purposes, on the platforms it is available.</p> </div> <!-- @@@qtlocation-examples --> <div class="table"><table class="annotated"> <tr class="odd topAlign"><td class="tblName"><p><a href="qtlocation-mapviewer-example.html">Map Viewer (QML)</a></p></td><td class="tblDescr"><p>The Map Viewer example shows how to display and interact with a map, search for an address, and find driving directions.</p></td></tr> <tr class="even topAlign"><td class="tblName"><p><a href="qtlocation-minimal-map-example.html">Minimal Map (QML)</a></p></td><td class="tblDescr"><p>The minimum code to display a map using Qt Quick.</p></td></tr> <tr class="odd topAlign"><td class="tblName"><p><a href="qtlocation-places-example.html">Places (QML)</a></p></td><td class="tblDescr"><p>The Places example demonstrates how to search for Places and access related content.</p></td></tr> <tr class="even topAlign"><td class="tblName"><p><a href="qtlocation-places-list-example.html">Places List (QML)</a></p></td><td class="tblDescr"><p>The Places List example demonstrates how to search for and display a list of places using a ListView.</p></td></tr> <tr class="odd topAlign"><td class="tblName"><p><a href="qtlocation-places-map-example.html">Places Map (QML)</a></p></td><td class="tblDescr"><p>The Places Map example demonstrates how to search for and display a list of places on a map using a MapItemView.</p></td></tr> <tr class="even topAlign"><td class="tblName"><p><a href="qtlocation-planespotter-example.html">Plane Spotter (QML)</a></p></td><td class="tblDescr"><p>The Plane Spotter example demonstrates the tight integration of location and positioning data types into QML.</p></td></tr> </table></div> </div> </div> </div> </div> </div> <div class="footer"> <p> <acronym title="Copyright">©</acronym> 2018 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>