Commit Graph

45 Commits

Author SHA1 Message Date
Bruno de Oliveira Abinader
491fce6879 [core] Added Map::pitchBy() 2019-03-04 14:45:32 +02:00
xylosper
b1ee903dc4 [qt] Add example of feature collection data for GeoJSON source
The example shows that both of QList<QMapbox::Feature> and
QVector<QMapbox::Feature> can be used as feature collection data
for GeoJSON layer.
2019-02-01 16:34:35 +02:00
Thiago Marcos P. Santos
cd92a231b3 [qt] Deprecate Qt4 and old versions of Qt5
Not enough adoption to keep the platform alive.
2018-11-13 22:55:26 +02:00
Bruno de Oliveira Abinader
66f5be3864 [Qt] Check if property value is a valid JSON string 2018-08-06 18:08:02 +03:00
Thiago Marcos P. Santos
0eb58278f2 [qt] Fix crash on the example app when launching multiple windows
We need to have a valid context when destroying QMapboxGL.
2018-04-26 11:07:48 -07:00
Thiago Marcos P. Santos
673730ccd4 [qt] Implement FBO handling
Needed for rendering 3D extrusions properly.
2018-02-09 20:28:54 +02:00
Thiago Marcos P. Santos
18cf796b52 [qt] Removed unused call 2018-02-09 20:28:54 +02:00
Thiago Marcos P. Santos
c5be54bf43 [qt] Make example app build on Windows 2018-01-10 21:42:20 +02:00
Bruno de Oliveira Abinader
4014aa6721 [core] GCC 4.9 bracket initialization issues 2017-07-12 20:42:29 +03:00
John Firebaugh
9eba2a66d1 [core, node, darwin, qt] Remove support for paint classes 2017-05-15 09:45:55 -07:00
Thiago Marcos P. Santos
9bea2007a0 [Qt] Add example of adding a layer before other layer 2017-05-11 20:28:18 +03:00
John Firebaugh
c130d470a1 [core] Remove StyleSourcedAnnotation support
The functionality this provided has been subsumed by the runtime styling API.
2017-05-10 14:22:01 -07:00
Thiago Marcos P. Santos
18c52ab5e4 [Qt] Add extrusion example to the Qt app 2017-05-02 10:07:02 +03:00
Konstantin Käfer
234384ece9 [core] Move OpenGL extension initialization to Backend 2017-03-23 14:50:11 -07:00
Konstantin Käfer
d20327844c [qt] Add setFramebufferObject() for correct FBO binding restoration 2017-03-22 14:15:50 +01:00
Bruno de Oliveira Abinader
d3ca6c67f1 [Qt] Added QMapbox::Feature → GeoJSON conversion helper 2017-02-08 15:55:47 +02:00
Bruno de Oliveira Abinader
7db79da501 [Qt] Added QMapbox::Feature 2017-02-08 15:55:47 +02:00
Bruno de Oliveira Abinader
be43310b6f [Qt] Refactor QMapbox Annotations API 2017-01-26 14:53:45 +02:00
Thiago Marcos P. Santos
eaf03f4103 [Qt] Added line-dasharray to the example app
Showing how to add numbers in an array.
2017-01-09 13:49:35 -02:00
Thiago Marcos P. Santos
0caa496bb3 [Qt] Fixed typo s/maker/marker
It propagated via copy & paste. :-P
2017-01-09 13:49:35 -02:00
Thiago Marcos P. Santos
003eec633e [Qt] Move QMapboxGL stuff from QMapbox namespace 2017-01-03 16:52:24 -02:00
Thiago Marcos P. Santos
b8564299e5 [Qt] Simplify setTransitionOptions 2017-01-03 16:52:24 -02:00
Bruno de Oliveira Abinader
11281d15e9 [qt] Use QOpenGLWidget instead of QGLWidget from Qt 5.4 onwards 2016-11-28 18:18:42 +02:00
Bruno de Oliveira Abinader
bc48cb777b [qt] Defer MapWindow's QMapboxGL init to initializeGL() 2016-11-28 18:18:42 +02:00
Bruno de Oliveira Abinader
b81255e5da [qt, macos] Consume GL_INVALID_OPERATION from Qt 2016-11-28 18:18:42 +02:00
Konstantin Käfer
a4d259c33f [core] move gl::Context to Backend and refactor View 2016-10-25 13:52:36 -07:00
Bruno de Oliveira Abinader
cff5360280 [qt] Fix macOS Qt demo app with Qt4.x 2016-10-24 21:38:12 +03:00
Thiago Marcos P. Santos
a03e6c14b6 [Qt] Add a more compelling runtime style example 2016-09-23 16:43:37 +03:00
Thiago Marcos P. Santos
8f965b2c25 [Qt] Add map pitch support on the example app 2016-09-23 16:43:37 +03:00
Bruno de Oliveira Abinader
d5679b07be [qt] Initial style from MAPBOX_STYLE_URL if set 2016-09-22 15:23:43 +03:00
Bruno de Oliveira Abinader
fdd114d275 [qt] Separate transition options accessors from class API 2016-09-13 13:00:24 +03:00
Thiago Marcos P. Santos
9605cac3e9 [Qt] setStyleURL and setStyleJSON name review
Qt uses URL as Url and JSON as Json.
2016-08-26 15:52:16 +03:00
Thiago Marcos P. Santos
462137a536 [Qt] Bind 'L' on the example app to runtime style example 2016-07-11 17:01:32 +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
26a425fa6d [Qt] QMapboxGLPrivate::getPixelRatio() cleanup 2016-05-26 17:52:34 +03:00
Bruno de Oliveira Abinader
64064088af [Qt] Cycle debug options in Qt example app 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
d36111abed [Qt] Initialize GL extensions on MapWindow
QMapboxGL relies on its embedding widget to call for the GL extensions
initialization function.

Fixes #5024.
2016-05-13 13:28:49 +03:00
Thiago Marcos P. Santos
a02686447a [Qt] Set the test application icon
The super cool Mapbox logo.
2016-05-02 16:06:41 +03:00
Thiago Marcos P. Santos
d00f55de41 [Qt] Do not use non-Qt headers 2016-04-25 15:00:14 +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
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
Thiago Marcos P. Santos
cb52a78542 [Qt] Define the viewport size before rendering 2016-04-20 20:55:51 +03:00
Thiago Marcos P. Santos
b9bbe68fe0 [Qt] Introduce --test
Run a simple test and print some stats.
2016-04-20 20:55:51 +03:00
Bruno de Oliveira Abinader
7a44b95627 [Qt] Add a Qt app example
Should build and run with `make run-qt`

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