raptorswing / MapGraphics

A tile-based "slippy map" library written in/for C++/Qt. It's meant to enable C++/Qt developers to easily add nice, interactive maps to their applications. Supports zooming, rotating, interactive custom map objects, transparency, etc. It is a Qt map widget that can use tiles from MapQuest, Openstreetmap, or a custom source you define.
Other
163 stars 77 forks source link

MapGraphicsView::centerOn(QPointF) doesn't work reliabily before the event loop is running. #7

Open raptorswing opened 12 years ago

raptorswing commented 12 years ago

It centers in the wrong place, somewhere to the upper-left of the desired position. I think it's something to do with the size or geometry of the window and widgets not being initialized before the event loop gets going.