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
Thiago Marcos P. Santos
968190827b
[Qt] Simplify QML example
2016-09-26 17:30:24 +02: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
546109d642
[Qt] Update QML runtime style example
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
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
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
d3eaf98ca1
[glfw, qt] Added missing docs ( #6428 )
2016-09-22 15:38:03 +03:00
Bruno de Oliveira Abinader
d5679b07be
[qt] Initial style from MAPBOX_STYLE_URL if set
2016-09-22 15:23:43 +03:00
Konstantin Käfer
334ec1715b
[build] use Mason's sqlite when linking Qt tests ( #6395 )
2016-09-20 20:37:06 +03:00
Konstantin Käfer
a8032b5c6a
[build] upgrade dependencies
...
libuv 1.7.5 => 1.9.1
libjpeg-turbo 1.4.2 => 1.5.0
libpng 1.6.20 => 1.6.25
libzip 0.11.2 => 1.1.3
nunicode 1.6 => 1.7.1
2016-09-20 16:39:02 +02:00
Konstantin Käfer
1014a503a2
[build] Upgrade GLFW to 3.2.1, SQLite to 3.14.2 and libwebp to 0.5.1
2016-09-19 14:38:47 +02: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
af56f03031
[Qt][tests] Added tests for set style interface
2016-08-26 16:08:44 +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
Thiago Marcos P. Santos
547af7475e
[Qt] Implement a Qt headless renderer
...
Using legacy QGLWidget because we support Qt4.
2016-08-22 16:52:02 +03:00
Thiago Marcos P. Santos
6761b325fb
[Qt] Enable tests on macOS
2016-08-22 16:52:02 +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
15b7612c13
[Qt] Remove template from eachMember
2016-08-17 14:43:22 +03:00
Thiago Marcos P. Santos
75ca6d9bdd
[build] Workaround automoc issue on some cmake versions
2016-08-05 11:42:22 +02:00
Konstantin Käfer
95b6d48b71
[build] use cmake script bundled with Mason
2016-08-05 11:42:22 +02:00
Konstantin Käfer
e46b580c67
[build] unify naming of Makefile targets
...
`make foo` just builds
`make run-foo` builds and runs
2016-08-05 11:42:22 +02:00
Konstantin Käfer
a2e758b417
[build] make headless rendering work with Qt on macOS
2016-08-05 11:42:22 +02:00
Thiago Marcos P. Santos
795d17dbdb
[Qt] Use Qt decoder instead of nunicode
2016-08-05 11:42:22 +02:00
Thiago Marcos P. Santos
c6313681d2
[build] Re-enable Qt bots
2016-08-05 11:42:22 +02:00
Konstantin Käfer
e82aeddb6f
[build] add missing Qt5 files
2016-08-05 11:42:22 +02:00
Konstantin Käfer
8b625f4d1f
[build] exclude CMake 3.6.0 due to an automoc naming bug
2016-08-05 11:42:22 +02:00
Thiago Marcos P. Santos
821e58fdc1
[build] Build Qt with CMake
2016-08-05 11:42:22 +02:00
Konstantin Käfer
692fe1f3ff
[build] switch to CMake
...
This is very much a work in progress.
2016-08-05 11:42:22 +02:00
Bruno de Oliveira Abinader
472ab7442f
[qt] Added QQuickMapboxGL{Layout,Paint}StyleProperty
2016-07-29 19:14:41 +03:00
Vladimir Agafonkin
9ecc0d9597
GeoJSON point clustering ( #5724 )
...
* add supercluster dependency
* prepare GeoJSONTile for Supercluster
* prepare GeoJSONSource for accepting options
* try removing mbgl::GeoJSON
* fix setGeoJSON types
* add GeoJSONSource getURL
* add geojson to include path
* add Supercluster index in GeoJSONSource
* fix GeoJSONSource getZoomRange
* bring back mbgl::GeoJSON header
* fix tidy warnings hopefully
* try test-suite with enabled cluster test
* fix formatting in clustering-related files
2016-07-27 20:18:41 +03:00