Commit Graph

107 Commits

Author SHA1 Message Date
Bruno de Oliveira Abinader
58d8b771a1 [Qt] QMapboxGL::set{Paint,Layout}Property should return bool 2018-08-01 13:36:11 +03:00
Asheem Mamoowala
1067dd7ea2 [qt] Add QMapboxGL::getFilter() 2018-06-27 12:15:55 +03:00
Bruno de Oliveira Abinader
ae61b9d35f [Qt] Add QMapboxGL::layerIds() 2018-06-12 16:32:47 +03:00
Thiago Marcos P. Santos
07ad29d30d [qt] Fix build when building the Qt Location plugin
- MinGW has to explicitly know that is building a static library.
- Android doesn't have 'round' on the std:: namespace when using g++.
2018-05-14 17:18:51 +03:00
Fabian Guerra
e08b6fe87f Merge branch 'release-boba' into master
# Conflicts:
#	circle.yml
#	include/mbgl/style/expression/let.hpp
#	platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/geometry/LatLngBounds.java
#	platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/maps/MapGestureDetector.java
#	platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/maps/MapKeyListener.java
#	platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/maps/MapView.java
#	platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/maps/MapboxMap.java
#	platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/maps/Projection.java
#	platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/maps/Transform.java
#	platform/android/MapboxGLAndroidSDK/src/test/java/com/mapbox/mapboxsdk/geometry/LatLngBoundsTest.java
#	platform/android/MapboxGLAndroidSDKTestApp/src/main/AndroidManifest.xml
#	platform/android/gradle/dependencies.gradle
#	platform/android/src/example_custom_layer.cpp
#	platform/android/src/geojson/point.cpp
#	platform/darwin/src/NSPredicate+MGLAdditions.mm
#	platform/darwin/test/MGLExpressionTests.mm
#	platform/ios/Mapbox-iOS-SDK-nightly-dynamic.podspec
#	platform/ios/Mapbox-iOS-SDK-symbols.podspec
#	platform/ios/Mapbox-iOS-SDK.podspec
#	platform/ios/app/MBXViewController.m
#	src/mbgl/renderer/layers/render_custom_layer.cpp
#	src/mbgl/style/conversion/filter.cpp
#	src/mbgl/style/expression/interpolate.cpp
#	src/mbgl/style/expression/value.cpp
#	test/style/filter.test.cpp
2018-04-23 10:44:02 -04:00
Asheem Mamoowala
099fcc3b3c Use a host interface for CustomLayer instead of function pointers (#11553)
Use a host interface for CustomLayer instead of function pointers

Co-authored-by: Julian Rex <julian.rex@mapbox.com>
2018-04-02 16:15:25 -07:00
Bruno de Oliveira Abinader
803a4d46ed [Qt] Added QMapboxGL::MapLoadingFailure enum 2018-03-05 14:41:58 -05:00
Bruno de Oliveira Abinader
fc140e265b [Qt] Expose mapLoadingFailed signal 2018-03-05 14:41:58 -05:00
Thiago Marcos P. Santos
d229cbb031 [qt] Add an interface for Static rendering 2018-02-09 20:28:54 +02: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
4f8a23cd8f [qt] Expose an interface to create a renderer on a separated thread
If not called, it will render on the main thread as usual.
2018-02-09 20:28:54 +02:00
Thiago Marcos P. Santos
0a7b4e3eb8 [qt] Fix import/export symbols declarations
Fixes #10875
2018-01-10 21:42:20 +02:00
Thiago Marcos P. Santos
39decb822d [qt] Removed unused headers 2018-01-08 22:58:20 +02:00
Bruno de Oliveira Abinader
43aefbffd0 [Qt] Update documentation 2017-11-23 15:36:26 +02:00
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