Fix requesting single updates from Geoclue plugin.

Geoclue providers are expected to return a position update straight
away, otherwise the geoclue-master blocks when positioning is started.
This means that a position update with no longitude and latitude values
is not an error.

Change the Geoclue plugin to ignore these position updates, instead
waiting for the specified timeout before aborting.

Change-Id: I80b3c4cfdc31da78660f7435fdfac03963688c5a
Emit the last known position when Geoclue positioning is started.

The QML position source already essentially does this as its position
property is set to the last known position on construction.

Change-Id: I3e41886348a218751ab0872e8d78ac92cb72dc0b
Don't require a position fix before reporting Geoclue satellite info.

The Geoclue plugin uses the Geoclue master provider to select the most
appropriate position provider. However, it doesn't select a provider
unless it is in the available state. For satellite information a
position fix is not required.

If the Geoclue master provider doesn't return a valid provider the
plugin will now listen for all SatelliteChanged signals from any
org.freedesktop.Geoclue.Satellite interface. This means that if
multiple satellite based providers are active at the same time
QGeoSatelliteInfoSource will include satellite information from
both providers.

Change-Id: I257b56dc03fed51a5c4ba0023862708b9618be05
Bugfix and improvement for start of panning

Fixed obvious mistake of subtracting touchCenterCoord_ from new
start coordinate when starting a pan. This lead to a jump to a location
close to 0,0 when touchCenterCoord_ was set.
Since lastPos_ is also maintained as the center between two touch
points, smooth start could also be done in that case.

Change-Id: Icf8776aeb1ea3ae0cbadc74a28e2db22058f05d1
Reviewed-by: Fabian Bumberger <fbumberger@rim.com>
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>

Conflicts:
	src/imports/location/qdeclarativegeomapgesturearea.cpp
Don't start Geoclue satellite providers until necessary.

This builds on 2509cc2f13b15de099c3d68769e9bce869400ef7. It implements
similar changes to the Geoclue satellite info source.

Change-Id: I657f110e049c84b35f534a3bfffd14d57ee9c37a
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>

Conflicts:
	src/plugins/position/geoclue/qgeosatelliteinfosource_geocluemaster.cpp
Set default preferred positioning methods for Geoclue position source.

Set the default positioning methods used by the Geoclue positioning
source to all positioning methods.

Change-Id: I62196cc0203642838104cb5a0dafa06b1df29190
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
Fix incorrect accuracy values reported by Geoclue plugin.

Initialize variables to valid (unknown) values as they will not be
assigned to if accuracy data is not available with the current position
update from Geoclue.

Change-Id: Icdca528da86df9a2a95acf1cc6704a9c39485fe2
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
Initialize the center of the Map item

Center is initialized with center (latitude and longitude) being NAN.
Without initializing the center the Map item is not useable (navigation is not working)
and it sometimes crashes.

Change-Id: I708e9f0efd05ee0b3ed0ebc0f0cac818b6185c12
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
Enhance measurement system support in routing manager.

It is useful to be able to set the measurement system independently of
the locale used by the routing manager. Add accessor functions for the
measurement system to the routing manager classes.

Locale and measurement system properties are also added to the
RouteModel QML type.

Change-Id: I8ee9fbdb5ab94615fef7019914b0f104aebfa9c8
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
Remove RouteModel::locale property.

I missed that the functionality was already available in Plugin. The
measurementSystem property is retained.

Change-Id: Id65aa29cb7078d3be7310081278a032edc25bf0d
Fix run-time warning when using Geoclue positioning plugin.

The Geoclue plugin requires that the QGeoPositionInfo meta type is
registered.

Change-Id: I1310868ffd5d57539c3b790b4de1ba9c8396c580
Report direction and vertical speed with Geoclue plugin.

Geoclude provides both direction and vertical speed information with
the velocity interface. These values were previously being ignored.

[ChangeLog][QtPositioning][Geoclue] The Geoclue plugin now reports
direction of travel and vertical speed attributes, if supported by the
active Geoclue provider.

Task-number: QTBUG-36298
Change-Id: I9f99a64f3c2bd78a06a6c60e0ef3af6f75223e9f
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
Attempt to crash in tile cache.

The tile cache can sometimes end up with null pointers which causes a
crash when saving the state of the cache queues to disk. Fixed by
skipping over these entries.

Task-number: QTBUG-36486
Change-Id: Ifa359bd1f9dbe37da0d5b208a7c4ee7a26f8bd44
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
Nokia plug-in URL and tiler API updates

Updated URLs for places and map tiler to current ones. Added URL
management for additional hosts for hybrid, terrain and satellite maps.
Added new languages and map types available in the new tiler API.

Bug fixes for code evaluating copyrights text to show. Now only
copyrights related to viewed maps are shown and each name is shown only
once.

Updated drawing of copyright information to show HERE logo and
copyrights text side by side. This is to avoid having logo jumping
up and down.

Change-Id: Ide18a95335c4299c8219c4dbcfb0cc60b43d46c3

Conflicts:
	src/plugins/geoservices/nokia/qgeotilefetcher_nokia.cpp
Emit updateTimeout() when regular position updates aren't received.

The documentation indicates that the updateTimeout() signal should be
emitted once when the source determines that regular updates will no
longer be received.

[ChangeLog][QtPositioning][Geoclue] The Geoclue position source now
emits the updateTimeout() signal when position updates do not arrive in
a timely manner.

Change-Id: I87c31a60a8e718a0ab72a1e270a93e967307f77a
Send requested update interval to Geoclue providers.

Send the requested update interval to the active Geoclue provider. The
update interval is sent by passing and 'UpdateInterval' option to the
provider. Not all Geoclue providers support this setting, in which case
they will report position changes at their default rate.

The Geoclue position info source no longer limits the rate of position
updates internally.

[ChangeLog][QtPositioning][Geoclue] The Geoclue position info source
provider no longer internally filters position updates to the
requested update interval.

Change-Id: I96a112575173d4fa485905b1885a98fe43da1153