On Mon, 25 Nov 2013 17:36:24 tw_bolek wrote:
> In my application I use a map (QtLocation 5.0, Map, OSM or Nokia plugin) and
> I need to show certain overlay objects on it.  The map itself works fine
> (both with OSM and Nokia plugin), the problem is that objects over it are
> shown only if zoomLevel is 3 or more.  No matter if I use an Image within
> MapQuickItem, or MapCircle, or whatever else, the objects become visible
> only if the zoomLevel is at least 3.  On zoomLevel 0-2 only plain map is
> shown, no objects at all...
> 
> I use the MapQuickItem image without rescalling (i.e. its size is the same
> in all zoomLevels), I also tried with really huge MapCircle (like 500 km
> radius), so it's not that in zoomLevel 0-2 the objects are too small to be
> seen, they just AREN'T THERE.

They are there you just can't see them :)

> A bug, a feature, or am I doing something wrong?

You are not doing anything wrong. As you discovered items are only visible 
when the map zoom level is greater than 3. Between zoom levels 2 and 3 the 
opacity is ramped down linearly and is 0 below a zoom level of 2. See 
https://bugreports.qt-project.org/browse/QTBUG-25393 for details on why this 
was implemented.

Cheers,

-- 
Aaron McCarthy
_______________________________________________
SailfishOS.org Devel mailing list

Reply via email to