rinigus / mapbox-gl-qml

Unofficial Mapbox GL Native bindings for Qt QML
GNU Lesser General Public License v3.0
38 stars 10 forks source link

center offset #2

Closed rinigus closed 7 years ago

rinigus commented 7 years ago

Qt API has functions that should allow to implement offsetting the "center" of the map, as done when in navigation mode. Use setBearing(double degrees, const QPointF &center), moveBy, and methods transferring between pixel and coordinate spaces.

API should allow to set the center and (in ratios) position on the map (like 0.5, 0.25)

rinigus commented 7 years ago

resolved by margins