Thiago Marcos P. Santos
e9259fc03e
[Qt] Added set style layout properties method
2016-07-11 17:01:32 +03:00
Thiago Marcos P. Santos
46df5d58f9
[Qt] Added conversion functions for the runtime style API
2016-07-11 17:01:31 +03:00
Bruno de Oliveira Abinader
65868b28cc
[Qt] Janitor private headers
2016-07-11 17:01:31 +03:00
Bruno de Oliveira Abinader
7d63847bec
[Qt] Use mbgl::LineString instead of mbgl::Polygon as default shape
2016-06-22 18:07:19 +03:00
Bruno de Oliveira Abinader
760a692378
[Qt] Added QMapbox::TransitionOptions to style class functions
2016-06-20 13:01:59 +03:00
Bruno de Oliveira Abinader
d323f393ec
[Qt] Cleanup annotation usage
2016-06-16 19:30:19 +03:00
John Firebaugh
c902f9098b
[core] Rationalize naming for style-related code
2016-06-02 14:51:39 -07:00
John Firebaugh
d7e1ecd19e
[core] Generalize Map::{add,remove}CustomLayer
2016-06-02 14:51:39 -07:00
John Firebaugh
0fba70d5a8
[all] Rationalize annotation API
2016-06-01 17:37:01 -07:00
Thiago Marcos P. Santos
cfd6757ecc
[Qt] Use geometry.hpp internally for shape annotations
2016-06-01 17:36:50 -07:00
Bruno de Oliveira Abinader
6c94898297
[Qt] Fix typo in QMapboxGL::resize
2016-06-01 15:52:00 +03:00
Thiago Marcos P. Santos
5be5bab730
[Qt] Share the same RunLoop if in the same thread
2016-05-27 15:44:59 +03:00
Bruno de Oliveira Abinader
26a425fa6d
[Qt] QMapboxGLPrivate::getPixelRatio() cleanup
2016-05-26 17:52:34 +03:00
Bruno de Oliveira Abinader
835790d41a
[Qt] Consider pixel ratio in View::getFramebufferSize()
2016-05-24 19:58:24 +03:00
Bruno de Oliveira Abinader
c1dde52c73
[Qt] Fix map aspect ratio
...
Take QGuiApplication::devicePixelRatio() in consideration when resizing
the map.
Fixes #4889 .
2016-05-13 17:29:36 +03:00
Bruno de Oliveira Abinader
ae7a0ddea4
[Qt] Added viewport mode
...
Qt Quick requires third-party rendering codes to follow its standards
with regards to viewport transform. Qt 5.6 adds a 'mirrorVertically'
property but that only solves the solution for that version of Qt
onwards. Telling Mapbox GL core to flip the Y axis makes QQuickMapboxGL
item available for Qt 5.2 onwards.
Qt 'mirrorVertically' property documentation:
http://doc.qt.io/qt-5/qquickframebufferobject.html#mirrorVertically-prop
Fixes #4866 .
2016-05-11 15:50:28 +03:00
John Firebaugh
9330d674a9
[core] Use geometry.hpp's point
2016-05-05 11:30:53 -07:00
Bruno de Oliveira Abinader
9c5ed9c378
[Qt] Statically assert reflected Qt enums
2016-04-28 19:10:58 +03:00
Bruno de Oliveira Abinader
ffb59864dc
[Qt] s/mapRegionDidChange()/mapChanged(QMapboxGL::MapChange)/ signal
2016-04-28 17:12:09 +03:00
Thiago Marcos P. Santos
a9327c07e7
[Qt] Make needsRendering signal asynchronous
...
Fixes label animation not completing.
2016-04-28 16:33:48 +03:00
Thiago Marcos P. Santos
205ecff6d7
[Qt] Use shared GL context by default
2016-04-27 17:36:30 +03:00
Bruno de Oliveira Abinader
3ee9d12013
[Qt] Remove duplicated mbgl::Map initialization
2016-04-21 17:33:07 +03:00
Bruno de Oliveira Abinader
8ff17ffc9a
[Qt] Expose {add,remove}CustomLayer
2016-04-20 20:55:51 +03:00
Bruno de Oliveira Abinader
0d4ccd4e44
[Qt] Expose QMapboxGL::updatePointAnnotation
2016-04-20 20:55:51 +03:00
Bruno de Oliveira Abinader
fa6421a56f
[Qt] Implement QMapboxGL::jumpTo
2016-04-20 20:55:51 +03:00
Thiago Marcos P. Santos
e974dd282d
[Qt] Add function for get coordinates and zoom based on a bounding box
2016-04-20 20:55:51 +03:00
Thiago Marcos P. Santos
19e1129367
[Qt] Add the QMapbox header with QMapbox datatypes
2016-04-20 20:55:51 +03:00
Thiago Marcos P. Santos
1ea7bde065
[Qt] Add support for margins
2016-04-20 20:55:51 +03:00
Thiago Marcos P. Santos
f83b8d8ea4
[Qt] Do not use Mapbox GL animations
...
Let animations to QPropertyAnimation so it can sync with other
Qt animations and let the user define the easing curve Qt-style.
2016-04-20 20:55:51 +03:00
Bruno de Oliveira Abinader
7d863d259a
[Qt] Added {Map,GLContext,Constrain}Mode settings
2016-04-20 20:55:51 +03:00
Konstantin Käfer
41dd14d208
[Qt] expose NorthOrientation
2016-04-20 20:55:51 +03:00
Bruno de Oliveira Abinader
5482a46a04
[Qt] Wire up connection established signal
2016-04-20 20:55:51 +03:00
Thiago Marcos P. Santos
1d98f7eff7
[Qt] Fix ambiguous call to Mapbox GL API
2016-04-20 20:55:51 +03:00
Thiago Marcos P. Santos
a98c82f6e3
[Qt] Use toStdString() to convert QString into std::string
2016-04-20 20:55:51 +03:00
Bruno de Oliveira Abinader
0e6cc4006f
[Qt] Forward annotations functions
...
Support for custom style properties in shape annotations will be
implemented in the future.
2016-04-20 20:55:51 +03:00
Bruno de Oliveira Abinader
814a12a63c
[Qt] Forward style{JSON,URL} getters
2016-04-20 20:55:51 +03:00
Bruno de Oliveira Abinader
01d50b7bd2
[Qt] Forward style class functions
2016-04-20 20:55:51 +03:00
Bruno de Oliveira Abinader
b2cd18a550
[Qt] Forward toggleDebug() from mbgl::Map
2016-04-20 20:55:51 +03:00
Bruno de Oliveira Abinader
2d156ec6a9
[Qt] Forward scale setter/getter
2016-04-20 20:55:51 +03:00
Thiago Marcos P. Santos
854b3bc39b
[Qt] Add a Qt wrapper aroung mbgl::Map
...
Signed-off-by: Bruno Abinader <bruno@mapbox.com >
Signed-off-by: Thiago Marcos P. Santos <thiago@mapbox.com >
2016-04-20 20:55:51 +03:00