Hi guys,
I'm facing a problem implementing a map viewer with QML and a C++ model (Qt 5.2). The model is ok.
For the view I'm using GridView and I found that it reflows contents as you resize the app window. I would like to cancel this behaviour and being able to just scroll vertically and horizontally in case the map is too big to fit in the window, but I don't know how. I tried to use a Grid with a Repeater, but the Repeater seems to place items randomly and, even if I could manage to use it correctly, it instantiates all image tiles when loaded (with a zoom level of 19 in Open Street Map there are more than 500.000 x 500.000 image tiles).
Do you have any suggestions?
Thanks
EDIT: I just understood that GridView is a ListView but with reflow. Any other idea for a bidimensional view? Already tried TableView without success
Bookmarks