Temporary workaround for failing unit test on win8 config in CI

Task-number: QTBUG-36519
Change-Id: I17a60fe311715bcd9b7e5e5253736daabff67caf
Reviewed-by: Aaron McCarthy <mccarthy.aaron@gmail.com>
Switch to MapQuest tileserver

The official OSM tile server should not be used in applications.
MapQuest is free and also allows to display a satellite map (which
unfortunately only goes to zoomLevel 10).

More info:
http://wiki.openstreetmap.org/wiki/Tile_usage_policy

Change-Id: Ia5e0d2c99ea4d8f3989f8460c778bf748c5b68b5
Reviewed-by: Aaron McCarthy <mccarthy.aaron@gmail.com>
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
Add credits for MapQuest and OSM data/services.

Change-Id: I66bb2ef931384d5894d445a81d66e109dc0b946a
Reviewed-by: Fabian Bumberger <fbumberger@rim.com>
Remove offset from PlaceSearchModel documentation

The offset property was removed by
1d0966c6924876655c52725e779a7aa24866ff60.

Change-Id: Id46e1b6f97e70d38eaef8813be2543293f423fab
Reviewed-by: Aaron McCarthy <mccarthy.aaron@gmail.com>
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
Fix crash in tile fetcher when no engine is set.

The engine is stored in a QPointer. The pointer must be checked for
validity before use.

Change-Id: I07eaf9276511273735f000ce0eb9cdf2fe130df3
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
Reject negative number of alternative routes.

Requesting a negative number of alternative routes does not make sense.
Fall back to the default value of 0 if a negative number of alternative
routes is requested.

Change-Id: Iecc1b7ba8bfa25b59b2a4c2efeafa33fd528377d
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
Fix QGeoRouteXmlParser test.

The TravelTime element is a double, which was failing to be parsed by
QString::toInt(). Fixed by using QString::toDouble() and rounding the
result.

Change-Id: I012c277f1efdb3811a50eff96519a4d0d9959a67
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>
Revert "Temporary workaround for failing unit test on win8 config in CI"

This reverts commit 93773ce48d3f884fbd71a6783d317bda1880bd37.

The related bug was fixed in qtdeclarative
(see c6da58a295235c89ee2a5847b15cb0b1dc66b2f4)

Task-number: QTBUG-36519
Change-Id: I233d08f091fb3273f111d41c4743808d8aaf4637
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
Remove the GeoMapMouseArea

I don't see a reason for keeping this. First of all, only half of it is
implemented. Second we can have the same behavior with a normal
MouseArea. The only advantage a MapMouseArea has is that mouse events
are only received in the boundaries of the parent map item. However
with a bit of work in the parent map item we can have this behavior as
well for a normal mouse area.

The only thing we are eventually loosing is the geocoordinate property
of the MapMouseEvent. But this can be easily obtained with the
"toCoordinate" function in the Map item.

Change-Id: Icb176ee7d7c2881df714ab3191fa1f7f5c8915e2
Reviewed-by: Aaron McCarthy <mccarthy.aaron@gmail.com>
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
Missing changes from MapMouseArea removal.

MapMouseArea has been removed. Remove MapMouseEvent, it is no longer
required.

Remove some remaining MapMouseArea instances in the tests.

Change-Id: I12c534bb3360f6a19ec9e1dd40ecf7bb0d7b8e21
Reviewed-by: Fabian Bumberger <fbumberger@rim.com>
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
Prevent the map stealing mouse events from the zoom slider.

Fixes using the slider to zoom the map.

Task-number: QTBUG-34237
Change-Id: I78b005030c3d869e63b9391e41d05ff28caa3cf5
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
Add new markers at touched location.

New markers added in the mapviewer example were being placed at the top
left hand corner of the displayed map, just out of view. The user had
to pan the map to see the newly added marker.

Changed to position new markers at the location touched by the user to
activate the context menu.

Change-Id: If328e04cfd651a75fb91d599bedbd1129e761c7b
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
Fix map item behavior when used with a MouseArea.

Update the geo coordinate properties when the map items are moved.

Change-Id: I32918571379d81c651e652513b63945ee23e3fd9
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
Work around broken Map mouse tests.

Due to QTBUG-36560 some map mouse tests were failing. Implement a valid
workaround until it is fix.

Change-Id: Iec67f82d2e2a9792ed067b9cd956345ab38e7ab7
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
Add new Satellite Information example

[ChangeLog][QtPositioning] New SatelliteInfo example
added. The example displays the signal strength of surrounding satellites.
The example employs a demo mode on those platforms which don't provide
satellite information

Change-Id: I573266c7a4429c0d2f1bcdfeb01af52ad02efba7
Reviewed-by: Aaron McCarthy <mccarthy.aaron@gmail.com>
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
Reviewed-by: Aaron McCarthy <mccarthy.aaron@gmail.com>
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
Remove dependency between MapStyle and Nokia map schemes

Makes it possible to add Nokia base schemes without adding new
MapStyles.

Removes the redundant collection of base schemes.

Change-Id: Ia2189a3f10ba47cc40087b7d4fee9a2c5d84caad
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
Reviewed-by: Aaron McCarthy <mccarthy.aaron@gmail.com>