Commit Graph

11 Commits

Author SHA1 Message Date
Tobrun
d319e17efe Reset AndroidRendererBackend properly to prevent a crash during rotation on an Android 4.2.2 x86 tablet. (#381)
Co-authored-by: Tsoi Yat Shing <ystsoi@yahoo.com.hk>
2020-05-14 10:19:37 +02:00
Igor Tarasov
05974e2a7f Fix binary size. (#382)
Add compiler and linker options to reduce binary size for release build:
  - reduce symbol visibility: `-fvisibility=hidden`, `-fvisibility-inlines=hidden`;
  - link time optimization `-flto` and enable gold plugin;
  - remove duplicated code: `–icf=all`;
  - size optimization for compilation (`-Oz`);
  - garbage collect unused sections: `-Wl,--gc-sections`
2020-05-13 18:21:07 +03:00
Kevin Li
2473dcc691 Fix text cut off when halo text width is applied (#373)
* Fix text cut off

* Move characters center.

* Shift glyph position
2020-05-12 08:26:11 +08:00
Kevin Li
6fd498ed16 Add set and get api for volatile and minimumTileUpdateInterval in Source (#355)
* Add set and get api for Volatile and minimumTileUpdateInterval in Source

* Format codes.
2020-04-29 20:49:35 +08:00
Łukasz Paczos
dbaad6312b hide the LocationIndicatorLayer impl 2020-04-21 14:36:13 +02:00
Łukasz Paczos
6bb456882a expose LocationIndicatorLayer and an alternative rendering mode based on it 2020-04-21 14:36:13 +02:00
Thiago Marcos P. Santos
69b7b10776 Bump Mapbox GL Native
mapbox-gl-native @ c4b061bd95
2020-04-17 18:36:19 +03:00
Kevin Li
1cb8fb7a01 Add interface for stretchable image (#314)
* Add interface for stretch image

* Add demo for stretch image api

* Add stretchable image demp

* Update stretchable image test activity.

* Revert change for SymbolLayerActivity

This reverts commit 22bbb798
2020-04-16 14:31:38 +08:00
Chloe Krawczyk
77d0d5e5cf Add bindings for circle-sort-key (#322)
* Update generate-style-code.js

* add jni bindings for circle-sort-key

* update mapbox-gl-native to latest

* Revert "add jni bindings for circle-sort-key"

This reverts commit cdd6049d

Co-authored-by: kevin <kevin.li@mapbox.com>
2020-04-15 17:56:54 +08:00
Kevin Li
414e155af3 Not rebuild all files (#318) 2020-04-10 21:31:32 +08:00
Igor Tarasov
daecbed823 Move JNI bindings code from mapbox-gl-native to this repo. (#301) 2020-04-02 19:45:56 +03:00