Commit Graph

672 Commits

Author SHA1 Message Date
Pablo Guardiola
dfb3c34837 Compass click rotates around focal point (if available) (#7977)
* add set bearing method taking focal point into account

* notify CompassView when FocalPoint changes
2017-02-09 14:33:24 +01:00
Pablo Guardiola
3916090a24 hold a weak reference of the context to avoid leaks (#7964) 2017-02-07 17:15:20 +01:00
Tobrun
2c7350c093 7798-ObjectAnimator-rotation (#7907) 2017-02-07 07:31:39 +01:00
Tobrun
3212e543b7 [android] - wrap longitude values from core (#7852) 2017-02-04 10:31:59 +01:00
Tobrun
88c4bd1036 [android] - enforce usage bitmap for icon, cleanup test app resources (#7906) 2017-02-04 10:31:43 +01:00
srabenja
1dead1d194 Disable double tap gesture to zoom in (#7879) 2017-02-04 08:17:59 +01:00
Tobrun
d9c055ad34 [android] - update SDK exposed attributes in public.xml (#7912) 2017-02-04 08:08:22 +01:00
Antonio Zugaldia
c97ec3be03 [android] Extract telemetry into MAS
* [android] add the mapbox-android-telemetry module dependency.

* update javadoc
2017-02-03 15:12:13 -05:00
Ivo van Dongen
f562ecdfc3 [android] data driven style implementation 2017-02-02 09:44:42 -08:00
Tobrun
6348fe9f4a [android] - Config dismissing tracking modes with camera change (#7871)
* [android] - allow fine grained control over dismissing tracking modes while animating the camera position

* update MyLocationView
2017-01-31 11:24:52 +01:00
Konstantin Käfer
4d35826014 [android] use native image encoding and decoding 2017-01-27 18:45:16 +01:00
Konstantin Käfer
62ea1f2185 [core] remove trailing whitespace, add trailing newlines, add space after // 2017-01-27 11:44:16 +01:00
Tobrun
00598432b0 [android] - trigger marker click event for clicking selected marker (#7830) 2017-01-26 18:35:26 +01:00
Tobrun
7e1b3b8ce0 [android] - move pan gesture event to correct GestureDetector callback (#7870) 2017-01-26 18:34:39 +01:00
Tobrun
7cf317c08c [android] - when updating positon, wait for render call to invalidate updated marker position, correct camera invalidation for all moveCamera method invocations (#7794) 2017-01-23 18:43:57 +01:00
Tobrun
fbe0320c9c [android] - zoom to at least 2 when tracking is enabled (#7795)
* [android] - zoom to at least 2 when tracking is enabled, introduce interface for zoom invalidation, simplify example

* fixup unit test, added test for new interface + focal point interface
2017-01-23 17:51:09 +01:00
Tobrun
91efbc36a2 [android] - redraw MyLocationView when tilt changes, setTilt after CameraUpdate has finished animating (#7799) 2017-01-23 17:48:53 +01:00
Tobrun
de3ef6f070 [android] - deselect marker on infowindow click (#7784) 2017-01-19 17:05:27 +01:00
Justin R. Miller
f6715694f9 refs #6779: mobile & Mac SDK style transition options (#7711) 2017-01-18 12:43:08 -08:00
Tobrun
c637a658db [android] - remove deprecated emerald (#7767)
[android] - remove deprecation annoation for setStyle

[android] - dismiss tracking on gesture deprecation cleanup
2017-01-18 18:26:58 +01:00
Molly Lloyd
6a7966fd36 fix typo in android docs (#7686) 2017-01-16 10:16:46 +01:00
Tobrun
5c61ea0869 [android] - safe guard making asyncrhonous calls to map object while it's beeing destroyed (#7613) 2017-01-16 09:06:29 +01:00
Tobrun
9a635672a6 [android] - update build tools to bitrise supported version (#7729) 2017-01-15 21:11:42 +01:00
Tobrun
831bb21dc8 [android] - improve fling gesture by calculating animation time from velocity, ignore small fling gestures. (#7676) 2017-01-12 21:25:40 +01:00
Tobrun
5fff4ed6cb [android] - synchronised mutators for thread safety in Mapbox, added documentation to Mapbox#getInstance (#7677) 2017-01-11 22:37:37 +01:00
Tobrun
4ce8d3e4e3 [android] - avoid triggering a fling gesture after a scale gesture. (#7675) 2017-01-11 17:31:51 +01:00
Tobrun
f18c0b8d1e [android] - cleanup telem, disabled logging, exponential backoff, local broadcast (#7605) 2017-01-10 17:26:06 +01:00
Antonio Zugaldia
92dff9ee93 update gradle files and packages to use smaller versions of MAS and save methods (#7642) 2017-01-10 11:11:09 -05:00
Tobrun
e71d9ac2d4 [android] - rework MarkerView update mechanism (#7581) 2017-01-05 16:58:41 +01:00
Tobrun
cf859d6d0b [android] - move snapshot t NativeMapView (#7463) 2017-01-05 00:14:35 +01:00
Minh Nguyễn
b35deb85bc Happy new year! 🎉 2017-01-04 14:05:56 -08:00
Tobrun
b387105419 [android] - remove deprecated setAccessToken and getAccessToken from OfflineManager, make validating the access token a part of getAccessToken in Mapbox. (#7582) 2017-01-04 12:15:26 +01:00
Tobrun
654061c7d1 [android] - limit the scale factor for double tap zoom (#7580)
* [android] - limit the scale factor to avoid accelerating the double tap zoom gesture

* clamp values
2017-01-03 20:27:44 +01:00
Tobrun
8d52806cbb [android] - update components with latest camera values (#7499) 2016-12-21 21:07:00 +01:00
Tobrun
b42494570e [android] - fix null pointer on trackingsettings (#7505) 2016-12-21 21:06:39 +01:00
Tobrun
dff42cac68 [android] - harden MapboxMapOptions, extract duplicate fragment logic, fixup DoubleMapActivity (#7507) 2016-12-21 21:06:26 +01:00
Tobrun
2b38af8778 [android] - update lost to 2.0.0, gradle cleanup (#7494) 2016-12-21 12:32:07 +01:00
philemonmerlet
3032a67a53 [android] Upgrade OKHTTP to 3.5.0 (released december the 1st, 2016) (#7491) 2016-12-20 16:49:11 +01:00
Tobrun
83f1350747 MapboxAccountManager refactor, removal deprecated accesstoken (#7462)
* [android] - move object ownership, move depenencies and responsibility.

* [android] - MapboxAccountManager refactor, removal deprecated accesstoken.
2016-12-17 20:25:16 +01:00
Cameron Mace
20b958301e Adds checkstyle to CI (#7442)
* adds checkstyle to CI

* fixed gradlew path

* resolved testapp checkstyle violations

* added back mapboxMap variable for test

* checkstyle annotations

* checkstyle SDK round 1

* maps package checkstyle

* rest of SDK checkstyle

* checkstyle gesture library

* checkstyle test

* finished rest of test checkstyle

* resolved all checkstyle errors

* fixed class name

* removed old test file

* fixed camera postion test

* fixed native crash
2016-12-16 16:19:15 -05:00
Tobrun
f95b4838ea [android] - move min/max zoom to transform class, cleanup usage of double vs float, renaming for parity (#7306) 2016-12-15 16:57:30 +01:00
Tobrun
05c6935556 [android] - add OnMarkerView add callback (#7429) 2016-12-14 22:09:30 +01:00
Cameron Mace
3d5983f6f6 Allows for setting the user location icon to transparent (#7393)
* allows for setting the user location icon to transparent

* removed color check
2016-12-14 12:51:04 -05:00
Cameron Mace
833c5ca2be Fixed proguard rules (#7389)
* fixed proguard rules

* disabled proguard for debug testapp builds

* removed dontobfuscate and fixed gson issue
2016-12-13 14:40:51 -05:00
Minh Nguyễn
36616c7200 [android] Fixed typo in MapboxMap.addImage() 2016-12-13 09:28:42 -08:00
Tobrun
b43aa9d62d [android] - limit input fling gesture based on map tilt. (#7383) 2016-12-13 08:08:29 +01:00
Tobrun
ee7e58fd46 [android] - invalidate camera after gesture, cleanup. (#7354) 2016-12-09 21:19:59 +01:00
John Firebaugh
82856fd08b [darwin, android] SDK bindings for circle-stroke properties 2016-12-09 09:35:21 -08:00
Tobrun
970a0dab44 [android] - cleanup initialisation code for MapboxMap (#7330) 2016-12-09 15:38:09 +01:00
Tobrun
1d93ffc5eb [android] - refactor marker selection and listener invocation, reformatted code (#7304) 2016-12-08 14:37:15 +01:00