John Firebaugh
cc1ea759a6
[core, node, darwin, android, qt] Make image ID part of Image
...
More like Source and Layer.
2017-05-16 12:26:35 -07:00
John Firebaugh
244fdaa405
[qt] Un-deprecate QMapboxGL::setTransitionOptions
...
It's still relevant for runtime-styling driven paint property changes.
2017-05-15 09:45:55 -07: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
John Firebaugh
baaae99a03
[core, android] Factor JSON string conversions
...
This adds a `convertJSON` template, to be used like:
Error error
optional<Foo> foo = convertJSON<Foo>(string, error);
Internally, it parses the string with RapidJSON and then calls `convert<Foo>(parsed, error)`.
While here, rationalize GeoJSON converters and fix error handling for Tileset conversion in OfflineDownload.
2017-05-08 13:48:57 -07:00
Bruno de Oliveira Abinader
f59ba4e3f3
Revert "[Qt] Don't regen BackendScope on every QMapboxGL::render() call"
...
This reverts commit 806da5d940 .
2017-05-04 21:02:40 +03:00
Bruno de Oliveira Abinader
806da5d940
[Qt] Don't regen BackendScope on every QMapboxGL::render() call
2017-05-04 15:58:30 +03:00
Thiago Marcos P. Santos
184a4389e1
[Qt] Handle extrusion filters
2017-05-02 10:07:02 +03:00
John Firebaugh
5dd98df50b
[all] Rationalize style::Image
...
A style has a collection of images, just as it has collections of sources and layers.
* Name things appropriately
* Use std::unique_ptr
2017-04-24 15:52:28 -07:00
John Firebaugh
092da9c956
[core] Remove non-Map-dependent projection methods from Map
2017-04-18 14:43:31 +03:00
Bruno de Oliveira Abinader
2f4d162deb
[core] Tighten geo.hpp ctors
2017-04-14 12:33:13 -07:00
John Firebaugh
f1c06f8d83
[all] Remove redundant scale-related camera methods
...
We don't need to have two different measurement systems for map zoom.
2017-04-13 10:28:44 -07:00
Bruno de Oliveira Abinader
b25c8f043b
[Qt] Sanitize QSize → mbgl::Size conversion
2017-04-10 18:01:28 +03:00
John Firebaugh
16a2839e23
[all] Make LatLng coordinates read-only
2017-04-06 09:22:51 -07:00
Konstantin Käfer
a84aa453a9
[core] Privatize OpenGL/Context headers
2017-03-28 13:53:19 +02:00
Konstantin Käfer
234384ece9
[core] Move OpenGL extension initialization to Backend
2017-03-23 14:50:11 -07:00
Konstantin Käfer
8e5214144e
[core] Ensure that a BackendScope exists when doing GL calls
2017-03-23 14:50:11 -07:00
John Firebaugh
d7227e13a7
[all] Replace Result<T> with optional<T> plus out Error parameter
2017-03-23 13:31:13 -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
fa2b7676b8
[Qt] Updated MapObserver::onSourceChanged
2017-03-21 17:36:56 +02:00
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