diff options
author | Aaron McCarthy <mccarthy.aaron@gmail.com> | 2014-12-12 14:18:35 +1000 |
---|---|---|
committer | Alex Blasche <alexander.blasche@theqtcompany.com> | 2015-02-04 11:18:12 +0000 |
commit | 8e2c7e491373c17f8985530690000abcb76dee0b (patch) | |
tree | 40c8b12bd285b237430cdc850e5be560acfb52fe /src/location | |
parent | d5daf443ca594bd60ee9abfb167c96ab892da899 (diff) | |
download | qtlocation-8e2c7e491373c17f8985530690000abcb76dee0b.tar.gz |
Make Open Street Maps the default plugin used in Qt Location examples.
The Nokia plugin requires application authentication codes before it
can be used. The OSM plugin does not. Use the OSM plugin by default so
that the examples work out of the box.
Change-Id: I4c965dc35b0ae6b643ee14f64c0758fee2bb958d
Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
Diffstat (limited to 'src/location')
-rw-r--r-- | src/location/doc/snippets/declarative/places_loader.qml | 2 | ||||
-rw-r--r-- | src/location/doc/src/places.qdoc | 2 | ||||
-rw-r--r-- | src/location/doc/src/qtlocation-qml.qdoc | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/location/doc/snippets/declarative/places_loader.qml b/src/location/doc/snippets/declarative/places_loader.qml index d14223fd..6eea0194 100644 --- a/src/location/doc/snippets/declarative/places_loader.qml +++ b/src/location/doc/snippets/declarative/places_loader.qml @@ -48,7 +48,7 @@ Rectangle { Plugin { id: myPlugin - name: "nokia" + name: "osm" //specify plugin parameters if necessary //PluginParameter {...} //PluginParameter {...} diff --git a/src/location/doc/src/places.qdoc b/src/location/doc/src/places.qdoc index 2a853a20..edbd20f4 100644 --- a/src/location/doc/src/places.qdoc +++ b/src/location/doc/src/places.qdoc @@ -42,7 +42,7 @@ \section2 Plugin A \l Plugin is an abstraction for a backend. One \l Plugin might access places from a REST server while another may access places from a local database. The following - instantiates a \l Plugin object by providing a name of "nokia". The \l Plugin name + instantiates a \l Plugin object by providing a name of "osm". The \l Plugin name identifies which backend to choose from. Plugins may also be provided with a set of \l {PluginParameter} {parameters}, which essentially takes the form of a set of key-value pairs. The \l {PluginParameter} {parameters} that can be specified vary diff --git a/src/location/doc/src/qtlocation-qml.qdoc b/src/location/doc/src/qtlocation-qml.qdoc index a2ef8058..68b82d30 100644 --- a/src/location/doc/src/qtlocation-qml.qdoc +++ b/src/location/doc/src/qtlocation-qml.qdoc @@ -68,7 +68,7 @@ geocoding and routing information, which can be consumed by the application. There may be various GeoServices plugins for various tasks with some plugins providing more than one service. One QML \l Plugin must be created for each required GeoService plugin. Plugins are required for maps, routing and geocoding, -however the default plugin handles all three of these services. A plugin may +and places, however the default plugin handles all four of these services. A plugin may require online access or may support on-board maps and data. \note Plugins may not provide features such as paging or relevance hints. |