zmiao
debf117360
Add changelog
2020-03-26 14:13:59 +02:00
zmiao
e9b99a5233
Address review finding
...
Remove unncessary condition check
2020-03-26 14:13:59 +02:00
zmiao
25ad9d184d
Add unit tests
2020-03-26 14:13:59 +02:00
zmiao
848f48ac27
[core] Fix within meridian issue
2020-03-26 14:13:59 +02:00
Kevin Li
fbea14a8bc
bump telemetry to 5.0.0, core to 2.0.0 ( #293 )
2020-03-26 16:24:55 +08:00
Julian Rex
9009089a93
Add NSURLSession delegation to http_file_source.mm ( #16321 )
2020-03-25 17:56:40 -04:00
Thiago Marcos P. Santos
0998ffbab8
[core] Use const& for the OfflineRegion object
...
It is used as const and also fixes a build issue on iOS:
```
Non-const lvalue reference to type ‘mbgl::OfflineRegion’ cannot bind
to a temporary of type ‘typename remove_reference<OfflineRegion &>::type’
(aka ‘mbgl::OfflineRegion’)
```
2020-03-25 22:09:07 +02:00
Tobrun
4b0cd4025f
[glyph] rework local glyph generation to use RGB values vs alpha ( #289 )
2020-03-25 14:58:59 +01:00
Mikhail Pozdnyakov
d4db3b1126
Add change log entry
2020-03-25 15:11:41 +02:00
Mikhail Pozdnyakov
735fc0a4dc
[core][tile mode] Share seenCrossTileIDs across all placeLayer() calls
...
Thus we obviate lots of repeated operations for already placed symbols.
2020-03-25 15:11:41 +02:00
Mikhail Pozdnyakov
313844b1da
[core][tile mode] Place tile intersecting labels first, across all layers
...
Thus, we reduce the amount of label cut-offs in Tile mode.
Before, labels were arranged within one symbol layer (one bucket),
which was not enough for several symbol layers being placed at the
same time.
2020-03-25 15:11:41 +02:00
Mikhail Pozdnyakov
f5430ca33c
[core] Introduce map mode specific Placement implementations
2020-03-25 15:11:41 +02:00
Mikhail Pozdnyakov
7ba5d5e2dd
[core] Introduce Placement::placeLayers()
2020-03-25 15:11:41 +02:00
Alexander Shalamov
6984dbf155
Add getLayer and getSource snapshotter methods ( #292 )
...
* Expose snapshotter layer and source objects
* Add example snapshotter + within activity
* Bump vendor/mapbox-gl-native
2020-03-25 13:42:23 +02:00
Alexander Shalamov
fd1f8703cd
Update changelog
2020-03-25 07:01:42 -04:00
Alexander Shalamov
2b37d81d73
[android] Expose getLayer, getSource and Observer interface for snapshotter
...
So that users can modify properties of an existing layer / source objects
2020-03-25 07:01:42 -04:00
Kevin Li
da6d8a2b06
Add runtime styling APIs on MapSnapshotter ( #268 )
...
* Add styleable snapshotter.
* Add style API for snapshotter
* Add observer interface to snapshotter
* WIP Add styling to snapshotter activity
* Update interface and implement addlayer functions.
* Deprecate methods instead of removing
* Implement addSource functions.
* Implement addImage function
* Still use the previous callback interface.
* Expose onStyleDidloaded interface
* Add setStyle method
* Start native snapshotter from start method
* Fix snapshotter test.
* Fix check style
* Keep the original interface
* Update gl-native
* Add demo for snapshotter heatmap layer
* bump gl-native
Co-authored-by: Alexander Shalamov <alexander.shalamov@mapbox.com >
2020-03-25 09:59:38 +08:00
Mikhail Pozdnyakov
77d95d27ce
Add change log entry
2020-03-24 20:53:55 +02:00
Mikhail Pozdnyakov
371af12e1f
StyleConversion.SetGenericProperties test
2020-03-24 20:53:55 +02:00
Mikhail Pozdnyakov
7234cb3968
[core] Ability to set source-layer setProperty method
2020-03-24 20:53:55 +02:00
Mikhail Pozdnyakov
5f1847d9a2
[core] conversion::Layer uses setProperty API to set max/min zoom & filter
2020-03-24 20:53:55 +02:00
Mikhail Pozdnyakov
20d960ed51
[core] Layer::setProperty() can set min/max zoom and filter
2020-03-24 20:53:55 +02:00
Mikhail Pozdnyakov
280b806777
[core] Move generic setProperty() parts to the base Layer class
2020-03-24 20:53:55 +02:00
Tobrun
02b5e60f86
[testapp] - add example using within expression ( #288 )
2020-03-24 12:52:54 +01:00
tobrun
99dbb3eed5
[android] - use RGB values instead of alpha values for local glyph generation
2020-03-24 06:03:03 -04:00
Kevin Li
3f45b0a24b
[android] Add jni binding for styleable snapshotter ( #16286 )
...
* [android] Add jni binding for styleable snapshotter
* Remove Map parameter from factories
- remove unused map from factory interfaces. Map is only needed for repaint.
* implement addlayer function
* Implement addsource function for snapshotter
* Implement addImages function
* format codes
* Apply baseline
* Update CHANGELOG.md
* Update map_snapshotter.cpp
* Destroy snapshotter on the thread it was created
* Activate file sources in start
* Use custom deleter for snapshotter
* format codes
* Release snapshotter pointer to deleting lambda
* Clang format
* Update CHANGELOG.md
* Fix review comments
* FIx review comments
Co-authored-by: Alexander Shalamov <alexander.shalamov@mapbox.com >
2020-03-24 14:33:54 +08:00
Thiago Marcos P. Santos
1adc436c9d
[test] Include cpp-httplib as a system library
...
This way it will not get warnings by linters and -Werror.
2020-03-23 23:04:51 +02:00
Thiago Marcos P. Santos
3e173e1b71
[build] Deprecated GCC 4.9 and set the minimum to GCC 5
2020-03-23 20:05:40 +02:00
Thiago Marcos P. Santos
463876a7b1
[build] Prevent future modernize-* regressions
...
Also ignore modernize-avoid-c-arrays, not such a
big deal at the moment.
2020-03-23 20:05:40 +02:00
Thiago Marcos P. Santos
d446a1cf63
[core] Fix modernize-use-override errors
...
As reported by clang-tidy-8.
2020-03-23 20:05:40 +02:00
Thiago Marcos P. Santos
9dbd0a666a
[core] Fix modernize-pass-by-value errors
...
As reported by clang-tidy-8.
2020-03-23 20:05:40 +02:00
Thiago Marcos P. Santos
76b99eb8e8
[core] Fix modernize-deprecated-headers errors
...
As reported by clang-tidy-8.
2020-03-23 20:05:40 +02:00
Thiago Marcos P. Santos
23a248eacd
[core] Fix modernize-use-equals-default errors
...
As reported by clang-tidy-8.
2020-03-23 20:05:40 +02:00
Thiago Marcos P. Santos
02e91428fd
[core] Fix modernize-use-auto errors
...
As reported by clang-tidy-8.
2020-03-23 20:05:40 +02:00
Thiago Marcos P. Santos
cee3910f17
[core] Fix modernize-return-braced-init-list errors
...
As reported by clang-tidy-8.
2020-03-23 20:05:40 +02:00
Alexander Shalamov
47594f003b
Update LICENSE.mbgl-core.md license file
2020-03-23 11:33:06 -04:00
Alexander Shalamov
71efb24e2d
Bump mapbox-base to 1.2.0
2020-03-23 11:33:06 -04:00
zmiao
648ce071d3
Add Changelog
2020-03-23 12:19:39 +02:00
Thiago Marcos P. Santos
4b139b5905
[build] Thread clang-tidy performance-* warnings as errors
...
With all them fixed, they won't come back.
2020-03-23 12:09:09 +02:00
Thiago Marcos P. Santos
d15b9c1f9c
[core] Fix performance-unnecessary-value-param errors
...
As reported by clang-tidy-8.
2020-03-23 12:09:09 +02:00
Thiago Marcos P. Santos
37802eec36
[core] Fix performance-type-promotion-in-math-fn errors
...
As reported by clang-tidy-8.
2020-03-23 12:09:09 +02:00
Thiago Marcos P. Santos
991cfee7df
[core] Fix performance-noexcept-move-constructor errors
...
As reported by clang-tidy-8.
2020-03-23 12:09:09 +02:00
Thiago Marcos P. Santos
6223fc2898
[core] Fix performance-inefficient-vector-operation errors
...
As reported by clang-tidy-8.
2020-03-23 12:09:09 +02:00
Thiago Marcos P. Santos
5210d720ad
[core] Fix performance-unnecessary-copy-initialization errors
...
As reported by clang-tidy-8.
2020-03-23 12:09:09 +02:00
Thiago Marcos P. Santos
cedb7368f1
[core] Fix performance-for-range-copy errors
...
As reported by clang-tidy-8.
2020-03-23 12:09:09 +02:00
Tobrun
d8c919f1dd
[mapview] expose queuEvent to schedule runnable to execut on thread of MapRenderer ( #284 )
2020-03-23 07:51:37 +01:00
Thiago Marcos P. Santos
ef19a33866
[build] Trigger the downstream CI and get the status back
...
Allows triggering a pipeline at any other repository
passing parameters.
2020-03-20 13:59:23 +02:00
Mikhail Pozdnyakov
8bf841a951
[core] Render::clearData clears fonts
2020-03-20 11:43:59 +02:00
Mikhail Pozdnyakov
cb1d5053b0
Update changelog
2020-03-20 11:43:59 +02:00
Mikhail Pozdnyakov
2a8e89d355
Update metrics
2020-03-20 11:43:59 +02:00