Commit Graph

1394 Commits

Author SHA1 Message Date
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
Chris Loer
f2d70aa890 [android] Fixups for LocalGlyphActivity 2017-12-11 10:43:00 -08:00
Asheem Mamoowala
bee60130d3 [android] Add Configuration hook for local ideograph font family and demo activity 2017-12-11 10:43:00 -08:00
Chris Loer
00ed34f7d7 [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-11 10:43:00 -08:00
Asheem Mamoowala
f26c5ef2f0 [android] null check 2017-12-06 19:44:12 -08: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
Tobrun
c311e69e0e [android] - add FileSource activation/deactivation to MapSnapshotter, handle multiple deactivate scenario in FileSource (#10556) 2017-12-06 11:51:33 +01:00
Pablo Guardiola
1ce3d2e5ef [android] remove unnecessary jar generation from gradle-publish.gradle (#10625) 2017-12-05 10:12:16 +01:00
Tobrun
7e6ca6793a [android] - handle destroying activity programmatically as part of theme switching (#10589) 2017-11-30 11:45:40 +01:00
Tobrun
ed5e009062 [android] - use concurrent lists for camera change listeners (#10542) 2017-11-29 12:26:52 +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
Asheem Mamoowala
e2702c76ea [android] Use inherited javaPeer in CustomGeometrySource C++ peer 2017-11-22 13:56:38 -08:00
Asheem Mamoowala
f06ebcc967 [android] Reuse Java Source objects by holding on to a strong reference in the C++ peer. 2017-11-22 13:56:38 -08:00
Asheem Mamoowala
eb6de2c434 [android] Bindings for Custom Geometry Sources 2017-11-22 13:56:38 -08:00
Tobrun
e3f1d8e3a0 [android] - harden MarkerView integration by checking for null bitmap (#10532) 2017-11-22 18:46:31 +01:00
Tobrun
59a8fd2ff8 [android] - activate filesource to list offline regions (#10531) 2017-11-22 17:08:23 +01:00
Ivo van Dongen
7dabec61b6 [android] Enable map rendering when app is paused 2017-11-20 17:30:24 +02: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
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
Tobrun
a47f8245da Monkey crashes (#10440)
* [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-10 16:33:51 +01:00
tobrun
4d486e10ce [android] - check for null value when calling mapboxMap.clear 2017-11-06 17:16:27 +01:00
Pablo Guardiola
cdc5dde0ec [android] revert adding mapbox-android-core dependency (#10354) (#10380) 2017-11-03 15:39:53 -07:00
Ivo van Dongen
d1d0c20044 [android] TextureView - cleanup destruction code 2017-11-03 09:19:39 -07:00
Ivo van Dongen
8753edf08f [android] test app - texture view test activities 2017-11-03 09:19:39 -07:00
Ivo van Dongen
3b2bd7ce4f [android] bring back texture view 2017-11-03 09:19:39 -07:00
Ivo van Dongen
e9bb4d1582 [android] texture view map renderer 2017-11-03 09:19:39 -07:00
Ivo van Dongen
fd5f357d1d [android] move egl under renderer package 2017-11-03 09:19:39 -07:00
Ivo van Dongen
6adeee601e [android] encapsulate gl surfaceview rendering specifics in map renderer subclass
- preparation for re-introduction of texture view
2017-11-03 09:19:39 -07:00
Tobrun
d9fe241761 [android] - workaround Android O OkHttp bug. 2017-11-02 13:27:50 -07:00
Tobrun
5dbd94016b [android] - fix logo scale for MapSnapshot 2017-11-02 07:41:53 -07:00
Pablo Guardiola
29a94ae939 [android] make location provider optional (#9488) (#10354) 2017-11-01 18:25:52 -07:00
Tobrun
e6d50da2c5 [android] - check for possitive animation duration 2017-11-01 14:56:37 -07:00
Tobrun
a5ff277ed9 [android] - add logo resize to MapSnapshotter 2017-11-01 14:56:37 -07:00
Tobrun
cb7f6dfaec [android] - make snapshot logo optional 2017-11-01 14:56:37 -07:00
Ivo van Dongen
0c5e15e21e [android] map snapshotter - expose attributions 2017-11-01 09:23:53 -04:00
Ivo van Dongen
9c3e78a9b9 [android] map snapshotter - wrap snapshot in native peer for access to the pointFor functionality 2017-11-01 09:23:53 -04:00
Ivo van Dongen
fd3587608b [android] map snapshotter - add mutators 2017-11-01 09:23:53 -04:00