Commit Graph

93 Commits

Author SHA1 Message Date
Rinigus
1cf8ef0437 [qt] use const for setting ResourceTransform 2017-10-09 13:22:58 +03:00
Rinigus
965bfcfaac [qt] add ResourceTransform API 2017-10-09 13:22:58 +03:00
Thiago Marcos P. Santos
7e8fe05af0 [Qt] Avoid using brace-list init ctor in QMapboxGL 2017-07-19 16:44:30 +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
c307273dae [Qt] Make it possible to add a layer before another 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
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
2a25b026af [Qt] Support mbgl::MapObserver 2017-03-15 14:53:32 +02:00
Thiago Marcos P. Santos
2b7319d529 [Qt] Remove the QML app
We are now on Qt 5.9 and this is where the plugin will be developed
from now on.
2017-03-06 11:40:05 -08: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
Bruno de Oliveira Abinader
b9af073e98 [Qt] Added QMapboxGL::sourceExists 2017-02-09 12:31:32 +02:00
Bruno de Oliveira Abinader
7db79da501 [Qt] Added QMapbox::Feature 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
1f3424fafa [Qt] Remove QtQuick dependency from the low-level API
Not really needed.
2017-01-24 10:26:33 +01:00
Thiago Marcos P. Santos
99942558b2 [Qt] Fix build when using Qt namespaces
Fix when building with namespaces enabled.

http://wiki.qt.io/Qt_In_Namespace
2017-01-19 16:34:51 +01: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
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
5437c7b5b3 [Qt] Make some accessors Qt properties 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
Bruno de Oliveira Abinader
a8c2688ca3 [qt] Added copyrightsChanged() signal 2016-12-08 16:36:38 +01:00
Konstantin Käfer
a4d259c33f [core] move gl::Context to Backend and refactor View 2016-10-25 13:52:36 -07: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
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
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
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
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
Bruno de Oliveira Abinader
ee62a807a3 [Qt] Invert parent/child notification mechanism in QQuickMapboxGLStyleProperty
Parent item (QQuickMapboxGL) should check for signals from its child
items e.g. QQuickMapboxGLStyleProperty, and not the opposite.
2016-08-17 14:43:22 +03:00
Bruno de Oliveira Abinader
5057d7ef5d [Qt] Use QVariantMap in QQuickMapboxGLStyleProperty 2016-08-17 14:43:22 +03:00
Bruno de Oliveira Abinader
aa13acdb87 [Qt] Use strict signature for add{Source,Layer} 2016-08-17 14:43:22 +03:00
Bruno de Oliveira Abinader
472ab7442f [qt] Added QQuickMapboxGL{Layout,Paint}StyleProperty 2016-07-29 19:14:41 +03:00
Bruno de Oliveira Abinader
6edaf2dc81 [qt] Implement QQuickMapboxGL color property 2016-07-27 16:24:11 +03:00
Thiago Marcos P. Santos
abeee2087c [Qt] Added add/remove style source method 2016-07-11 17:01:32 +03:00