Commit Graph

1689 Commits

Author SHA1 Message Date
Tobrun
4a2ced5651 [android] - add filesource activation/deactivation to OfflineRegion status and deletion 2018-01-23 12:09:48 +01:00
Tobrun
b03c226373 [android] - check if the render surface has been correctly created before destroying the map 2018-01-23 12:09:48 +01:00
Tobrun
46ace8d2c7 [android] - validate zoom level before creating mapbox telem event 2018-01-23 12:09:48 +01:00
Tobrun
a3c497f100 [android] - bump snapshot version to 5.3.2 2018-01-10 14:28:04 +01:00
Tobrun
24bcb75823 [android] - update changelog for 5.3.1 release 2018-01-10 13:14:04 +01:00
tobrun
40316ddad0 [android] - use the correct cancelable callback after posting the cancelation 2018-01-10 13:14:04 +01:00
Tobrun
0b0f481e70 [android] - detect genymotion virtual machines when determening attributes for eglConfig 2018-01-10 13:14:04 +01:00
Tobrun
c66c8e3de1 [android] - include request urls when logging out failed http requests 2018-01-10 13:14:04 +01:00
Tobrun
8b1303a183 [android] - RTL support 2018-01-10 13:14:04 +01:00
tobrun
1985bb83f4 [android] - refactor surface destruction NPE fix 2018-01-10 13:14:04 +01:00
tobrun
ed84dca334 [android] - use US local when converting between int color and RGBA String. 2018-01-10 13:14:04 +01:00
Łukasz Paczos
a32fddf6dd [android] getting bitmap from drawable fix 2018-01-10 13:14:04 +01:00
Pablo Guardiola
cc25d6911b [android] fix sending more than once double tap event on a single double tap gesture (#10854) 2018-01-08 10:32:57 +01:00
Tobrun
c70103033e [android] - update changelog for 5.3.0 2017-12-20 10:14:50 +01:00
paczos
6b535f70ce [android] added map touch listeners api based on lists 2017-12-20 06:38:56 +01:00
Chris Loer
9ed3aeaee1 [android] Tweak TinySDF docs to better describe font-family behavior. 2017-12-19 13:05:39 -08:00
Tobrun
af52538a81 Saving/restoring MyLocationViewSettings (#10746) (#10748)
[android] saving/restoring MyLocationViewSettings, updated BitmapUtils
2017-12-19 19:38:11 +01:00
Minh Nguyễn
f242227a67 [android] Updated Spanish, Vietnamese translations 2017-12-19 10:40:06 +01:00
Langston Smith
c15c6edce9 Android SDK renaming (#10609)
* changes in various markdown files

* more tweaks

* Updated attribution title
2017-12-19 10:40:06 +01:00
Tobrun
db6eaa0c34 [android] - use default icon when compass icon fails to decode (#10694) 2017-12-19 09:20:52 +01:00
Tobrun
d80e71bf38 [android] - remove startup flash from fragment, rework OnMapReady callback for multiple listeners (#10717) 2017-12-19 06:39:40 +01:00
Chris Loer
f2b42af339 [android] Add Configuration hook for local ideograph font family and demo activity 2017-12-18 12:17:22 -08:00
Chris Loer
97e45d5fda [android] Android implementation of local CJK glyph rendering
- Draws bold version of glyph if font stack contains string "bold"
 - Not hooked up to global configuration yet
2017-12-18 12:17:22 -08:00
Chris Loer
a53818a10b [core] Enable local glyph generation using TinySDF.
- Platform-specific LocalGlyphRasterizer is responsible for deciding which glyphs to rasterize locally and for implementing the rasterization.
 - Default platform implementation doesn't locally generate any glyphs -> no behavior change
 - Unit test uses StubLocalGlyphRasterizer, which returns a single fixed bitmap for all CJK glyphs
 - Rename glyph_loader.test to glyph_manager.test
2017-12-18 12:17:22 -08:00
Tobrun
c71718c98e [android] - activate filesource when creating an offline region (#10718) 2017-12-18 13:34:25 +01:00
Tobrun
4525ff714a Post camera listener invocations (#10690)
* [android] - post camera listener invocations

* remove jvm unit test
2017-12-14 12:15:36 +01:00
Tobrun
7012c1b683 [android] - update documentation on update metadata 2017-12-13 16:58:21 +01:00
Tobrun
fa704c85d8 [android] - scale factor value of 1 should zoom out 2017-12-13 11:04:01 +01:00
Tobrun
7c06eda515 [android] - allow configurable http logging 2017-12-12 17:25:27 +01:00
Tobrun
cf026d1932 [android] - post animation callback invocation 2017-12-12 09:18:49 +01:00
Tobrun
1ada238dfd [android] - update changelog for 5.2.1 release 2017-12-06 17:05:16 +01:00
Chris Loer
966b6a53ce [core, ios, qt, android] Close race condition in RunLoop (issue #9620)
Because a message we queue from the foreground may cause the background to complete, exit, and tear down the AsyncTask, we have to block queue processing until we've finished our call to AsyncTask::send().
Broadening the scope of a mutex is scary, but I audited the code of our four implementations of AsyncTask and I don't see any way this could cause a deadlock.
2017-12-06 12:37:48 +01:00
Tobrun
2a13bfd2c4 [android] - add FileSource activation/deactivation to MapSnapshotter, handle multiple deactivate scenario in FileSource (#10556) 2017-12-06 12:37:48 +01:00
Tobrun
bc27322853 [android] - handle destroying activity programmatically as part of theme switching (#10589) 2017-12-06 12:37:48 +01:00
Tobrun
8ad3759b9c [android] - use concurrent lists for camera change listeners (#10542) 2017-12-06 12:37:48 +01:00
Tobrun
f64475f76c [android] - harden MarkerView integration by checking for null bitmap (#10532) 2017-12-06 12:37:48 +01:00
Tobrun
7b7b2c53fb [android] - activate filesource to list offline regions (#10531) 2017-12-06 12:37:48 +01:00
Ivo van Dongen
65d2e0b8f2 [android] Enable map rendering when app is paused 2017-12-06 12:37:48 +01:00
Pablo Guardiola
1ce3d2e5ef [android] remove unnecessary jar generation from gradle-publish.gradle (#10625) 2017-12-05 10:12:16 +01:00
Tobrun
8cebab09ba [android] - attribtuion anchor point calculation fix for short text with full logo on a MapSnapshot (#10558) 2017-11-29 12:21:54 +01:00
Pablo Guardiola
a1f207b090 [android] use location engine abstraction instead of location source (lost) in MyLocationView#init (#10579) 2017-11-29 08:31:46 +01:00
Antonio Zugaldia
85bc035be3 [android] Set a larger limit for the HTTP dispatcher (#10567) 2017-11-27 10:33:14 -05:00
Tobrun
7c8fbc8232 [android] - bump okhttp, remove workaround for Android Oreo (#10515) 2017-11-23 08:49:01 +01:00
Pablo Guardiola
9206e46154 release android v5.2.0 (#10487) 2017-11-20 20:10:04 +01:00
Victor Akap Oben
1d78c04484 Update comment from onDestroy to onDestroyView (#10501)
Updated comment to reflect that MapView's lifecycle callback in a fragment should be called from onDestroyView rather than on onDestroy. This is consistent with that MapFragment is doing.
2017-11-20 16:00:05 +01:00
Pablo Guardiola
84fbb7c576 release v5.2.0-beta.5 (#10464) 2017-11-17 16:39:36 +01:00
Pablo Guardiola
30e59ce738 Monkey crashes (#10440) (#10472)
* [android] - avoid null map from trackballevent

* [android] - fixup animated marker test activity from monkey runs

* [android] - harden NativeMapView OnMapChangeListener

* [android] - harden against destroyed wrapper activity while moving touch pointers

* [android] - harden bulk marker activity for monkey runner

* [android] - harden scale end gesture event for null velocity tracker

* [android] - invalid mapboxMap invocation

* [android] - reset test setup
2017-11-16 16:06:22 +01:00
Tobrun
f0f113bafc MapSnapshot attribution (#10362)
* [android] - add attribution

* [android] - optimise attribution sources

* [android] - rework datamodel to attribution class

* [android] - refactor Attribution, add tests

* [android] - add getter for attribution string

* [android] - rework attribution to include small logo, add layout placement

* [android] - finalise integration and layout logic
2017-11-14 11:13:34 +01:00
Tobrun
a9bd09c015 Downgrade min sdk to 14 (#10355)
* [android] - downgrade minimum sdk version to 14

* [android] bump MAS version to the one which includes min sdk version 14

* bump lost version to 3.0.4
2017-11-13 13:20:41 +01:00
Tobrun
199c0cac25 [android] - harden deselection mechanism for markers (#10403) 2017-11-10 16:34:09 +01:00