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
0f0f2c69d7
[Qt] Fix build when ICU is disabled
2016-12-13 16:16:53 -02:00
Bruno de Oliveira Abinader
b65b2f1c29
[qt] Skip ICU if WITH_QT_I18N is set
2016-12-12 22:34:52 +02:00
Thiago Marcos P. Santos
d6b8866975
[Qt] Allow strings as data source in the QML Item
...
Data values starting with ':' will be assumed to be a resource.
2016-12-09 11:28:31 -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
Konstantin Käfer
4fe071b518
[build] upgrade to variant 1.1.4 and dependencies
2016-11-28 18:02:00 +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
e76de05402
[build] move logging to util
2016-11-22 20:58:51 +01:00
Konstantin Käfer
3bc79e316e
[build] move default ThreadPool implementation to platform/default
2016-11-22 20:58:51 +01: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
Konstantin Käfer
2ec2860ce5
[core] move OpenGL extension loading to their own headers
2016-09-29 13:19:27 -07:00
Bruno de Oliveira Abinader
55c4bb98d7
[Qt] Connect to finished() and error() signals from QNetworkReply
...
Qt macOS network manage implementation differs from linux in a sense
that some requests do not generate a finished() signal, but a error()
instead - that is not caught up by the network access manager. This
made QMapboxGL.styleURL utest hang for macOS.
2016-09-28 18:50:08 +03: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
Minh Nguyễn
0f5b194617
[core, qt] Generalized source change notification
...
This same notification can in the future be used for other changes to a source.
2016-09-26 15:43:01 -07:00
Minh Nguyễn
f307652548
[core] Source-driven attribution
...
Implemented observer callbacks so the style knows when the source’s attribution changes and the map knows when the style’s attribution changes. Also implemented a getter for a tile source’s attribution.
Fixes #2723 .
2016-09-26 11:37:06 -07:00
Bruno de Oliveira Abinader
9eb33d6669
[Qt] Implement QQuickMapboxGL::error{,String} properties
2016-09-26 11:47:34 +02:00
Bruno de Oliveira Abinader
5a12539d34
[Qt] Replace remaining Mapbox-specific features as MapParameter
2016-09-26 11:47:34 +02:00
Bruno de Oliveira Abinader
327cb22095
[Qt] Added 'image' MapParameter type
2016-09-26 11:47:34 +02:00
Bruno de Oliveira Abinader
3e42a0de9f
[Qt] s/QQuickMapboxGL{Style,StyleProperty}/QQuickMapboxGLMapParameter
2016-09-26 11:47:34 +02:00
Bruno de Oliveira Abinader
478241a90f
[Qt] Added QQuickMapboxGLMapParameter
2016-09-26 11:47:34 +02:00
Bruno de Oliveira Abinader
1d1b3f5882
[Qt] Qt conversion toNumber() should accept QVariant::Int
2016-09-26 11:47:34 +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
39e30c7687
[Qt] QQuickMapboxGLRenderer is now a friend of QQuickMapboxGL
...
Simplify implementation by removing unsafe accessors from
QQuickMapboxGL meant only to be used by QQuickMapboxGLRenderer.
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
Ivo van Dongen
0839df6a7a
[qt] HttpFileSource - rate limit
2016-09-13 14:21:37 +02: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
8843bebee2
[Qt] Added QQuickMapboxGLStyle
...
A QQuickMapboxGLStyleProperty being a child of QQuickMapboxGLStyle
assures that only properties associated with that particular style will
reflect on the map - and that happens only when the style is the current
set via style property.
2016-08-17 15:21:52 +03:00
Bruno de Oliveira Abinader
45da1abbe1
[Qt] Use MapChangeWillStartLoadingMap to get notified about style changes
2016-08-17 14:43:22 +03:00