Commit Graph

89 Commits

Author SHA1 Message Date
Bruno de Oliveira Abinader
bfc7c2967c [Qt] Update changes in MapObserver::onDidFailLoadingMap 2017-03-17 11:25:48 +02:00
Bruno de Oliveira Abinader
2a25b026af [Qt] Support mbgl::MapObserver 2017-03-15 14:53:32 +02:00
Bruno de Oliveira Abinader
f28d75dccd [Qt] FBO handling should happen outside of QMapboxGL::render 2017-03-01 09:25:52 -08:00
Bruno de Oliveira Abinader
10b8ef6441 [Qt] Document QMapbox + qdoc fixes 2017-02-22 13:52:33 +02:00
Bruno de Oliveira Abinader
177a27b48a [Qt] Added missing conversion helpers 2017-02-21 15:26:46 +02:00
Konstantin Käfer
3ef9e26593 [ios,macos,android,qt] use shared threadpool 2017-02-20 19:26:06 +01:00
Bruno de Oliveira Abinader
b9af073e98 [Qt] Added QMapboxGL::sourceExists 2017-02-09 12:31:32 +02:00
Bruno de Oliveira Abinader
59d279b689 [Qt] Moved GeoJSON-related conversion functions to qt_geojson.hpp 2017-02-08 15:55:47 +02:00
Bruno de Oliveira Abinader
8b9a511357 [Qt] Added QMapboxGL::layerExists 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
2a22ff7f1b [Qt] Add more docs 2017-01-09 13:49:35 -02:00
Thiago Marcos P. Santos
6cc37e6065 [Qt] Removed unused methods
They will never return true because Qt only does client side animations.
2017-01-09 13:49:35 -02:00
Thiago Marcos P. Santos
f55a6e2b7a [Qt] Expose method for changing the base API URL
Useful for redirecting to a cache server or debugging.
2017-01-05 15:09:02 -02:00
Thiago Marcos P. Santos
5ac72ce8bf [Qt] Add docs for QMapboxGL 2017-01-03 16:52:24 -02:00
Thiago Marcos P. Santos
4bee81dd21 [Qt] Added docs for QMapboxGLSettings 2017-01-03 16:52:24 -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
Thiago Marcos P. Santos
ecf1842a26 [Qt] Removed unused methods 2017-01-03 16:52:24 -02:00
Thiago Marcos P. Santos
8f24119bd0 [Qt] Implement updateSource
It will create or update a source. Right now only GeoJSON sources are
mutable and can be updated using this method.
2016-12-14 14:21:20 -02:00
Thiago Marcos P. Santos
97df99c134 [Qt] Remove route before adding
This will allow to bind a GeoJSON to the source data property
without throwing an exception.
2016-12-09 11:28:31 -02:00
Bruno de Oliveira Abinader
a8c2688ca3 [qt] Added copyrightsChanged() signal 2016-12-08 16:36:38 +01:00
Bruno de Oliveira Abinader
aa9bf7139c [qt, macos] Remove workaround for a bug in Qt 5.7 2016-12-07 17:46:09 +01: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
b81255e5da [qt, macos] Consume GL_INVALID_OPERATION from Qt 2016-11-28 18:18:42 +02:00
Konstantin Käfer
afd43eea3a [core] remove gl.hpp from all headers that don't need it 2016-11-04 21:24:05 +01:00
Konstantin Käfer
f7801e5d82 [core] correctly set the framebuffer size on retina screens
Also asserts in Debug mode that the internal state and the OpenGL state are identical
2016-11-01 10:46:04 +01:00
Bruno de Oliveira Abinader
fa96612888 [Qt] Fix viewport size for Linux on Qt5 2016-10-28 14:36:07 +03:00
Konstantin Käfer
62b56b799a [core] change std::array<uint16_t, 2> to mbgl::Size 2016-10-27 18:30:58 -07:00
Konstantin Käfer
a4d259c33f [core] move gl::Context to Backend and refactor View 2016-10-25 13:52:36 -07:00
Konstantin Käfer
5cc390d694 [core] separate Backend from View for headless rendering 2016-10-25 13:52:36 -07:00
Mike Morris
817c26111a [core] [node] pass thread pool impl to Map constructor
Updates mbgl::Map constructor usage everywhere

Adds NodeThreadPool implementation using AsyncQueue to call
Nan::AsyncQueueWorker from main thread
2016-10-20 14:37:36 -04:00
Thiago Marcos P. Santos
e881795ed1 [Qt] Header cleanup (#6477)
Make some headers private, so we only commit with the QML API.
2016-09-27 16:18:04 +03:00
Konstantin Käfer
63e53de157 [core] standardize on uint16_t for texture sizes 2016-09-27 10:42:10 +02:00
Bruno de Oliveira Abinader
15f7b21c4b [Qt] Fix RVO warning in QMapbox::addAnnotationIcon 2016-09-26 11:47:34 +02:00
Bruno de Oliveira Abinader
1ce6e1b4bb [Qt] Move QMapboxGL::MapChange to QMapbox namespace 2016-09-26 11:47:34 +02:00
Thiago Marcos P. Santos
746bb678c8 [Qt] Add API for adding icon to the style 2016-09-23 16:43:37 +03:00
Bruno de Oliveira Abinader
fdaf26b2c0 [qt] Fix bug in fromQStringList 2016-09-13 13:00:24 +03:00
Bruno de Oliveira Abinader
fdd114d275 [qt] Separate transition options accessors from class API 2016-09-13 13:00:24 +03:00
John Firebaugh
fe2a26225f [core, ios, android, qt] Observe style layer mutations rather than requiring SDKs to use Map::update
This paves the way for updates to filter and layout properties to trigger a source reload, without each SDK having to participate in the implementation.
2016-09-06 14:29:22 -07:00
Thiago Marcos P. Santos
8801c9031b [Qt] s/parent_/parent
Fits better with the docs.
2016-08-26 16:39:38 +03:00
Thiago Marcos P. Santos
8d258e3542 [Qt] Initial documentation stub 2016-08-26 16:39:34 +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
e9a453271b [Qt] Read the access token from the environment by default 2016-08-26 00:25:31 +03:00
Bruno de Oliveira Abinader
aa13acdb87 [Qt] Use strict signature for add{Source,Layer} 2016-08-17 14:43:22 +03:00
Thiago Marcos P. Santos
86cebd4cca [core] Report conversion errors using std::string
char* increases the risk of pointing to a invalid reference. Qt had
to use a static variable as retainer to workaround.
2016-07-12 16:04:20 +03:00
Thiago Marcos P. Santos
abeee2087c [Qt] Added add/remove style source method 2016-07-11 17:01:32 +03:00
Thiago Marcos P. Santos
abff8e42c1 [Qt] Added add style layer method 2016-07-11 17:01:32 +03:00
Thiago Marcos P. Santos
18c8830169 [Qt] Added set style filter method 2016-07-11 17:01:32 +03:00
Thiago Marcos P. Santos
b59070590b [Qt] Added set style paint properties method 2016-07-11 17:01:32 +03:00
Thiago Marcos P. Santos
e9259fc03e [Qt] Added set style layout properties method 2016-07-11 17:01:32 +03:00