Adjustment for the minimum zoom level to prevent gray bands


This patch introduces a lower bound for the minimum zoom level of
a map element so that it becomes canvas size dependent, and it will also
prevent the map from being smaller than the canvas size in either
dimension, avoiding gray bands.

It also bounds the center of the map so that the map cannot be panned or
flicked out of bounds.
The documentation for QDeclarativeGeoMap::minimumZoomLevel has been
modified to reflect the new behavior.

A few testcases have been modified to reflect this new behavior and its
implications.

Change-Id: I3c8160d0295e8dda2f7001e8fec68a5200ea2172
Reviewed-by: Michal Klocek <michal.klocek@theqtcompany.com>
commit820f79284248e5fcc9910282055e67f07c918559
parent3a079a1e6761f3a26223e360d22530f22b5aeade
authorPaolo Angelelli <paolo.angelelli@theqtcompany.com>
committerPaolo Angelelli <paolo.angelelli@theqtcompany.com>
commit timeWed, 2 Mar 2016 14:41:22 +0000