This file is indexed.

/usr/share/qt5/doc/qtlocation/location-maps-qml.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
<?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" />
<!-- maps.qdoc -->
  <title>Maps and Navigation (QML) | 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><a href="qtlocation-index.html">Qt Location</a></li>
<li>Maps and Navigation (QML)</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="#maps">Maps</a></li>
<li class="level2"><a href="#displaying-maps">Displaying Maps</a></li>
<li class="level2"><a href="#putting-objects-on-a-map-map-overlay-objects">Putting Objects on a Map (Map Overlay Objects)</a></li>
<li class="level2"><a href="#model-view-design-with-map-overlay-objects">Model-View Design with Map Overlay Objects</a></li>
<li class="level2"><a href="#interaction-with-map-overlay-objects">Interaction with Map Overlay Objects</a></li>
<li class="level1"><a href="#geocoding-address-to-coordinate-and-vice-versa">Geocoding -- Address to Coordinate and Vice Versa</a></li>
<li class="level1"><a href="#routing-and-navigation">Routing and Navigation</a></li>
</ul>
</div>
<h1 class="title">Maps and Navigation (QML)</h1>
<span class="subtitle"></span>
<!-- $$$location-maps-qml.html-description -->
<div class="descr"> <a name="details"></a>
<p><b>Maps and Navigation</b> provides QtQuick user interface types for displaying geographic information on a map, as well as allowing user interaction with map overlay 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>
<p>It builds upon the API concepts and types in the QML Positioning API. A more hands-on introduction of the Maps and Navigation types can be found in the <a href="qml-location5-maps.html">Maps and Navigation tutorial</a>.</p>
<a name="maps"></a>
<h2>Maps</h2>
<a name="displaying-maps"></a>
<h3>Displaying Maps</h3>
<p>Displaying a map is done using the <a href="qml-qtlocation-map.html">Map</a> QML types. The Map type supports user interaction through the <a href="qml-qtlocation-mapgesturearea.html">MapGestureArea</a> QML type. The Map object draws the map on-screen using OpenGL (ES), allowing for hardware-accelerated rendering where available.</p>
<p><b>Key Types</b></p>
<table class="generic">
 <tr valign="top" class="odd"><td ><a href="qml-qtlocation-plugin.html">Plugin</a></td><td >A location-based services plugin provides data including map data which is then displayed in a Map object.</td></tr>
<tr valign="top" class="even"><td ><a href="qml-qtlocation-map.html">Map</a></td><td >QtQuick item to display a map on-screen.</td></tr>
<tr valign="top" class="odd"><td ><a href="qml-qtlocation-mapgesturearea.html">MapGestureArea</a></td><td >Interaction helper for panning, flicking and pinch-to-zoom gesture on a Map.</td></tr>
</table>
<p>Note that the client must create a <a href="qml-qtlocation-plugin.html">Plugin</a> object prior to using a <a href="qml-qtlocation-map.html">Map</a> type in order to have access to map data to display.</p>
<a name="putting-objects-on-a-map-map-overlay-objects"></a>
<h3>Putting Objects on a Map (Map Overlay Objects)</h3>
<p>Maps can also contain map overlay objects, which are used to display information on its surface. There is a set of basic pre-defined map overlay objects, as well as the ability to implement custom map overlay objects using the <a href="qml-qtlocation-mapquickitem.html">MapQuickItem</a> type, which can contain any standard QtQuick item.</p>
<p><b>Key Types</b></p>
<table class="generic">
 <tr valign="top" class="odd"><td ><a href="qml-qtlocation-mapcircle.html">MapCircle</a></td><td >A geographic circle (all points at a set distance from a center), optionally with a border.</td></tr>
<tr valign="top" class="even"><td ><a href="qml-qtlocation-maprectangle.html">MapRectangle</a></td><td >A rectangle whose top left and bottom right points are specified as coordinate types, optionally with a border.</td></tr>
<tr valign="top" class="odd"><td ><a href="qml-qtlocation-mappolygon.html">MapPolygon</a></td><td >A polygon made of an arbitrary list of coordinates.</td></tr>
<tr valign="top" class="even"><td ><a href="qml-qtlocation-mappolyline.html">MapPolyline</a></td><td >A polyline made of an arbitrary list of coordinates.</td></tr>
<tr valign="top" class="odd"><td ><a href="qml-qtlocation-mapquickitem.html">MapQuickItem</a></td><td >Turns any arbitrary QtQuick Item into a map overlay object. <a href="qml-qtlocation-mapquickitem.html">MapQuickItem</a> is an enabler for specifying custom map overlay objects.</td></tr>
</table>
<a name="model-view-design-with-map-overlay-objects"></a>
<h3>Model-View Design with Map Overlay Objects</h3>
<p>To automatically generate map overlay objects based on the contents of a QtQuick model (for example a ListModel item), the <a href="qml-qtlocation-mapitemview.html">MapItemView</a> type is available. It accepts any map overlay object as its delegate, and can only be created within a <a href="qml-qtlocation-map.html">Map</a>.</p>
<p><b>Key Types</b></p>
<table class="generic">
 <tr valign="top" class="odd"><td ><a href="qml-qtlocation-mapitemview.html">MapItemView</a></td><td >Populates a Map with map overlay objects based on the data provided by a model.</td></tr>
</table>
<a name="interaction-with-map-overlay-objects"></a>
<h3>Interaction with Map Overlay Objects</h3>
<p>Interaction with the pre-defined map overlay object types is done using the <a href="qml-qtlocation-mapmousearea.html">MapMouseArea</a> type, which behaves much like a normal QtQuick MouseArea. MapQuickItems can also contain <a href="qml-qtlocation-mapmousearea.html">MapMouseArea</a> objects, but can additionally use normal QtQuick MouseAreas to provide interaction.</p>
<p>Properties of map overlay objects that influence their appearance on the display can be changed at any time, and many can also be used in animations. Animating coordinate-based map overlay objects, such as <a href="qml-qtlocation-mappolygon.html">MapPolygon</a> and <a href="qml-qtlocation-mappolyline.html">MapPolyline</a>, is not yet available.</p>
<p><b>Key Types</b></p>
<table class="generic">
 <tr valign="top" class="odd"><td ><a href="qml-qtlocation-mapmousearea.html">MapMouseArea</a></td><td >Accepts mouse events for a pre-defined map overlay object (for example <a href="qml-qtlocation-mapcircle.html">MapCircle</a>).</td></tr>
<tr valign="top" class="even"><td ><a href="qml-qtlocation-mapmouseevent.html">MapMouseEvent</a></td><td >Provides additional information unique to mouse events on a Map.</td></tr>
</table>
<a name="geocoding-address-to-coordinate-and-vice-versa"></a>
<h2>Geocoding -- Address to Coordinate and Vice Versa</h2>
<p>Geocoding is the translation of geographic coordinates into addresses, or vice versa. Such a translation usually involves sending the source data to a server which then performs the translation and returns the results, although some location-based service provider <a href="qml-qtlocation-plugin.html">plugins</a> may be able to provide some geocoding functionality without sending data to a remote server. The availability and accuracy of the translation usually depends on the location or address being translated, as different areas of the Earth are mapped to varying degrees of accuracy.</p>
<p>A geocoding query in QML is performed using the <a href="qml-qtlocation-geocodemodel.html">GeocodeModel</a> type. For an address-to-coordinate query, its <tt>query</tt> property may be set to either an Address object or a string containing the textual form of the address to search for. To perform the reverse, the same property can be set to a coordinate instead. Results are made available in the contents of the model.</p>
<p><b>Key Types</b></p>
<table class="generic">
 <tr valign="top" class="odd"><td ><a href="qml-qtlocation-plugin.html">Plugin</a></td><td >A location-based services plugin provides data including geocoding translation results which are exposed to clients via a <a href="qml-qtlocation-geocodemodel.html">GeocodeModel</a>.</td></tr>
<tr valign="top" class="even"><td ><a href="qml-qtlocation-geocodemodel.html">GeocodeModel</a></td><td >Queries the Plugin for geocoding translations and provides access to results via indexes in the model.</td></tr>
<tr valign="top" class="odd"><td >Address</td><td >Structured address for use in queries and results of geocoding.</td></tr>
</table>
<p>Note that the client must create a <a href="qml-qtlocation-plugin.html">Plugin</a> object prior to using a <a href="qml-qtlocation-geocodemodel.html">GeocodeModel</a> object. This will enable access to geocoding translation services and thus data to display.</p>
<a name="routing-and-navigation"></a>
<h2>Routing and Navigation</h2>
<p>Routing is the determination of a navigable path from one point to another on a map. Given a map that is aware of features that aid or hinder navigation, such as bridges, waterways and so on, a series of segments that make up the journey can be constructed. If these <a href="qml-qtlocation-routesegment.html">RouteSegment</a>s are simple then we can add navigation information at the connecting points, <a href="qml-qtlocation-routemaneuver.html">RouteManeuver</a>s, between the segments.</p>
<p><b>Key Types</b></p>
<table class="generic">
 <tr valign="top" class="odd"><td ><a href="qml-qtlocation-route.html">Route</a></td><td >The entire path to be navigated.</td></tr>
<tr valign="top" class="even"><td ><a href="qml-qtlocation-routesegment.html">RouteSegment</a></td><td >The individual components of a route.</td></tr>
<tr valign="top" class="odd"><td ><a href="qml-qtlocation-routemaneuver.html">RouteManeuver</a></td><td >The navigation information that joins segments.</td></tr>
<tr valign="top" class="even"><td ><a href="qml-qtlocation-routemodel.html">RouteModel</a></td><td >The means of making requests on the backend to supply route information.</td></tr>
</table>
</div>
<!-- @@@location-maps-qml.html -->
        </div>
       </div>
   </div>
   </div>
</div>
<div class="footer">
   <p>
   <acronym title="Copyright">&copy;</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>