/usr/share/qt5/doc/qtlocation/qtlocation-index.html is in qtlocation5-doc-html 5.2.1-1ubuntu2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 | <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en_US" lang="en_US">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- qtlocation.qdoc -->
<title>Qt Location | QtLocation 5.2</title>
<link rel="stylesheet" type="text/css" href="style/offline.css" />
</head>
<body>
<div class="header" id="qtdocheader">
<div class="main">
<div class="main-rounded">
<div class="navigationbar">
<ul>
<li>Qt 5.2</li>
<li>Qt Location</li>
<li id="buildversion">
Qt 5.2.1 Reference Documentation</li>
</ul>
</div>
</div>
<div class="content">
<div class="line">
<div class="content mainContent">
<div class="toc">
<h3><a name="toc">Contents</a></h3>
<ul>
<li class="level1"><a href="#overview">Overview</a></li>
<li class="level1"><a href="#getting-started">Getting Started</a></li>
<li class="level2"><a href="#api-sub-modules">API Sub-Modules</a></li>
<li class="level3"><a href="#places">Places</a></li>
<li class="level3"><a href="#maps-and-navigation">Maps and Navigation</a></li>
<li class="level1"><a href="#api-references-and-examples">API References and Examples</a></li>
<li class="level1"><a href="#plugin-references-and-parameters">Plugin References and Parameters</a></li>
<li class="level2"><a href="#implementing-new-back-ends-and-porting">Implementing New Back-Ends and Porting</a></li>
<li class="level1"><a href="#new-since-qt-4">New Since Qt 4</a></li>
</ul>
</div>
<h1 class="title">Qt Location</h1>
<span class="subtitle"></span>
<!-- $$$qtlocation-index.html-description -->
<div class="descr"> <a name="details"></a>
<p>The Qt Location API provides positioning, mapping, navigation, and place search via QML and C++ interfaces.</p>
<a name="overview"></a>
<h2>Overview</h2>
<p>The Qt Location API gives developers the ability to determine a position by using a variety of possible sources, including satellite, or wifi, or text file, and so on. That information can then be used to determine a position in a map context with appropriate navigation and to embed, in the map, defined places with descriptive metadata. These three parts allow a device to know where it is and its location with respect to important features. Using features such as roads, destinations, routes, and other navigation attributes, applications can specify beginning and end-points for navigation and awareness of objects that may aid or hinder a journey.</p>
<a name="getting-started"></a>
<h2>Getting Started</h2>
<p>To load the Qt Location module, add the following statement to your .qml files</p>
<pre class="cpp">import <span class="type"><a href="qtlocation-module.html">QtLocation</a></span> <span class="number">5.0</span></pre>
<p>For C++ projects include the header appropriate for the current use case, for example applications using routes may use</p>
<pre class="cpp"><span class="preprocessor">#include <QGeoRoute> </span></pre>
<p>The .pro file should have the <i>location</i> keyword added</p>
<pre class="cpp">QT <span class="operator">+</span><span class="operator">=</span> location</pre>
<a name="api-sub-modules"></a>
<h3>API Sub-Modules</h3>
<p>The API is split into sub-modules, which each have QML and C++ APIs. It focuses on Map and Place information. The required position data can be retrieved via the QtPositioning module.</p>
<a name="places"></a>
<h4>Places</h4>
<p>Places is the natural complement to Positioning, providing a source of geographic data about places of interest (POIs). As well as providing the location, size and other vitals about a POI, the Places API can also retrieve images, reviews and other rich content related to the place.</p>
<table class="generic">
<tr valign="top" class="odd"><td >Places introduction:</td><td ><a href="location-places-qml.html">for QML</a></td><td ><a href="location-places-cpp.html">for C++</a></td></tr>
</table>
<a name="maps-and-navigation"></a>
<h4>Maps and Navigation</h4>
<p>Maps and Navigation provides Qt Quick user interface components for displaying geographic information on a map, as well as allowing user interaction with map objects and the display itself. It also contains utilities for geocoding (finding a geographic coordinate from a street address) and navigation (including driving and walking directions).</p>
<table class="generic">
<tr valign="top" class="odd"><td >Maps and Navigation introduction:</td><td ><a href="location-maps-qml.html">for QML</a></td><td ><a href="location-maps-cpp.html">for C++</a></td></tr>
</table>
<a name="api-references-and-examples"></a>
<h2>API References and Examples</h2>
<p>Alphabetized lists of all classes and user interface components in the API, as well as detailed example applications to demonstrate their usage.</p>
<table class="generic">
<tr valign="top" class="odd"><td ><a href="qtlocation-qmlmodule.html">QML API Reference</a></td><td >Full list of QML components in the Qt Location API</td></tr>
<tr valign="top" class="even"><td ><a href="qtlocation-cpp.html">C++ API Reference by domain</a></td><td >Full list of C++ classes and methods of the Qt Location APIs sorted by domain</td></tr>
<tr valign="top" class="odd"><td ><a href="qtlocation-module.html">C++ API Reference</a></td><td >Full list of C++ classes and methods of the Qt Location APIs</td></tr>
<tr valign="top" class="even"><td ><a href="qtlocation-examples.html">Example Apps</a></td><td >Examples demonstrating use of the Qt Location APIs</td></tr>
<tr valign="top" class="odd"><td ><a href="qml-location5-maps.html">Maps and Navigation Tutorial</a></td><td >Tutorial introducing the QML Maps Types</td></tr>
</table>
<a name="plugin-references-and-parameters"></a>
<h2>Plugin References and Parameters</h2>
<p>Information about plugins, important notes on their usage, parameters that can be provided to influence their behavior.</p>
<table class="annotated">
<tr class="odd topAlign"><td class="tblName"><p><a href="location-plugin-nokia.html">Qt Location Nokia Plugin</a></p></td><td class="tblDescr"><p>Uses the relevant Nokia services provided by Nokia.</p></td></tr>
<tr class="even topAlign"><td class="tblName"><p><a href="location-plugin-osm.html">Qt Location Open Street Map Plugin</a></p></td><td class="tblDescr"><p>Uses Open Street Map and related services.</p></td></tr>
</table>
<a name="implementing-new-back-ends-and-porting"></a>
<h3>Implementing New Back-Ends and Porting</h3>
<p>For systems integrators and distributors, information relating to making Qt Location available for a new platform.</p>
<table class="generic">
<tr valign="top" class="odd"><td ><a href="qtlocation-geoservices.html">GeoServices</a></td><td >Information about the Qt Location GeoServices plugins</td></tr>
<tr valign="top" class="even"><td ><a href="location-places-backend.html">Places</a></td><td >Information for places backend implementors</td></tr>
</table>
<a name="new-since-qt-4"></a>
<h2>New Since Qt 4</h2>
<p>In Qt 4 Qt Mobility provided some location functionality for Positioning and Maps with Landmarks support. The new Qt Location API has had an extensive reworking of <a href="qml-qtlocation-map.html">Map</a>s and <a href="qml-qtlocation-place.html">Place</a>s (formerly Landmarks). Also both C++ and QML APIs have been reworked to be simpler to use.</p>
<p>New features of Qt Location includes</p>
<ul>
<li>Maps are now part of the Qt Quick scenegraph, and rendered using hardware-accelerated OpenGL</li>
<li>Arbitrary Qt Quick items on the map are supported using <a href="qml-qtlocation-mapquickitem.html">MapQuickItem</a></li>
<li>Now possible to create map overlays with a model</li>
<li>Built-in support for pinch-to-zoom gestures, flicking , and panning (see <a href="qml-qtlocation-mapgesturearea.html">MapGestureArea</a>)</li>
<li>Vast performance improvements over Qt Mobility 1.2, especially for large map polylines and objects in general</li>
<li>Full QML API now available for routing and geocoding -- compatible with standard QML model-view design</li>
<li>Service provider feature detection without having to open all the available plugins</li>
<li>Unified <a href="qml-qtlocation-plugin.html">Plugin</a> QML type used by routing/geocoding/maps etc with easy-to-set <a href="qml-qtlocation-pluginparameter.html">PluginParameter</a></li>
<li>Two plugins are supplied with Qt (a Nokia and an OSM plugin for GeoServices).</li>
<li>Landmarks API is replaced by the Places API</li>
<li><a href="qml-qtlocation-place.html">Place</a> supports viewing of richer content such as reviews, images, and editorials</li>
<li><a href="qml-qtlocation-place.html">Place</a> supports locale handling, sponsored search results, and supplier attribution</li>
</ul>
</div>
<!-- @@@qtlocation-index.html -->
</div>
</div>
</div>
</div>
</div>
<div class="footer">
<p>
<acronym title="Copyright">©</acronym> 2013 Digia Plc and/or its
subsidiaries. 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> Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide. All other trademarks are property
of their respective owners. </p>
</div>
</body>
</html>
|