Commit Graph

90 Commits

Author SHA1 Message Date
Brad Leege
09cab73e7f [android] #2421 - Removing anonid 2016-02-10 19:05:20 -08:00
Brad Leege
b6657f4fb8 [android] #2421 - Using UUID fo instance data 2016-02-10 19:05:20 -08:00
Brad Leege
d6921d8ac3 [android] #2421 - Removing verticalaccuracy per discussion with camille today 2016-02-10 19:05:20 -08:00
Brad Leege
d64ad85d0b [android] #2421 - Using Constants for Version and Events 2016-02-10 19:05:20 -08:00
Brad Leege
7f02960013 [android] #2421 - Removing checks on data as raw values from Location object contain existence values 2016-02-10 19:05:20 -08:00
Brad Leege
3e44a755e9 [android] #2421 - Changing appBundleId to app's package name 2016-02-10 19:05:20 -08:00
Brad Leege
2690cc09f8 [android] #2421 - Building out MapboxEventsManager with support for Staging and Prod servers 2016-02-10 19:05:20 -08:00
Brad Leege
8464d68687 [android] #2421 - Start MapView in Passive Telemetry Mode 2016-02-10 19:05:20 -08:00
Brad Leege
9d5ef69a2e [android] #2421 - Removing PendingIntent as it's no longer needed 2016-02-10 19:05:19 -08:00
Brad Leege
9436e4ff99 [android] #2421 - Refactoring LocationServices to be in PASSIVE mode when GPS is not active. Integrating TelemetryService with Core SDK for startup 2016-02-10 19:05:19 -08:00
Brad Leege
22209b75cd [android] #2421 - JavaDoc for telemetry package 2016-02-10 19:05:19 -08:00
Brad Leege
9ce4c8bafc [android] #2421 - Checking for TelemetryService configuration in AndroidManifest.xml 2016-02-10 19:05:19 -08:00
Brad Leege
cf107d85bf [android] #2421 - Initial build out of Telemetry Location infrastructure 2016-02-10 18:55:42 -08:00
Tobrun
61e63b718c [android] #3746 - InfoWindowCloseListener 2016-02-09 14:53:08 +01:00
Tobrun
b3f1e2ed2a [android] #3852 - upgrade to okhttp 3.1.1 2016-02-09 14:19:53 +01:00
Tobrun
227ddffee6 [android] #3745 - MapboxMap.OnCameraChangeListener 📷 2016-02-09 14:18:25 +01:00
Tobrun
2c6615df55 [android] #3747 - InfoWindowLongClickListener 2016-02-09 09:35:38 +01:00
jaumeolba
026e6a7560 Fix Memory leak caused by duplicated add in LocationListener list
The addLocationListener method didn't check if the LocationListener was
already in the list.

From MapView, if we call setMyLocationEnabled(true), it adds a
LocationListener and onResume adds the same LocationListener again, but
is just removed by onPause.

So LocationListener is added twice but removed just once, so
LocationServices singleton keeps an instance of the the LocationListener
that is never released.
2016-02-05 10:59:50 +01:00
Tobrun
7f27c74251 [android] #3811 - handle null target value by using previous camera position. 2016-02-04 12:35:39 +01:00
Tobrun
aa05cba0df [android] #3758 - Projection / Visible Region implementation.
[android] #3758 - add VisibleRegion + unit tests, removed boundingbox, cleanup jni, cleanup test app, renamed CoordinateSpan to LatLng.
2016-02-04 12:08:39 +01:00
Brad Leege
932012e931 [android][core] #509 - Setting Min and Max Zooms warning annotations in Android. Clamping Min and Max zooms at Core GL for all platforms to use at runtime. 2016-02-03 17:59:44 -06:00
Tobrun
9beb6629b6 [android] #3752 - added scroll by x,y feature, introduced new CameraUpdateType, introduced caching system for invalidating CameraPosition, general cleanup, readded getLatLng in MapView, ..
[android] #3752 - correctly invalidating cameraposition
2016-02-03 18:38:38 +01:00
Tobrun
ce8c6e26d5 [android] #3736 - clicks should ignore marker validation when an InfoWindowAdapter is supplied by end developer. 2016-02-02 18:08:14 +01:00
Tobrun
6dff169f2b [android] #3754 - newLatLngBounds: unit tests for LatLng and LatLngBounds, builder pattern + refactoring.
[android] #3754 - Working version using the underlying VisibleCoorindateBounds

[android] #3754 - refactor Camera api inside maps package, correctly use factory pattern, LatLngBounds hooks into camera API

[android] #3754 - cleanup old API
2016-02-02 17:25:46 +01:00
Tobrun
a699690c16 [android] #3759 - Add SupportMapFragment, test app integration, cleanup old fragment implementation 2016-02-02 08:18:41 +01:00
Tobrun
0e66d4dcc5 [android] #3776 - UiSettings uses MapView instead of MapboxMap as dependency. Cleanup obsolete methods MapboxMap/MapView, Renaming convention Google Maps SDK, Update tests, Some minor fixes in state management 2016-02-01 16:22:54 +01:00
Tobrun
6ebb3e88d8 [android] #3753 - Optimising zoom
[android] #3753 - removed old zoom methods from MapView
2016-02-01 16:08:09 +01:00
Tobrun
7c58c7803e [android] #3760 - parity with Google Maps SDK
[android] #3760 - added missing methods for UiSettings, updated tests and test app to reflect this change

[android] #3760 - typo fix
2016-02-01 12:47:14 +01:00
Tobrun
8ed1dc9f74 [android] #3145 - MapboxMap 2016-01-29 13:15:58 +01:00
Ansis Brammanis
ca0099b6a4 [android] getters, setters for minZoom, maxZoom
adds:
map.getMminZoom();
map.setMminZoom(double);
map.getMaxZoom();
map.setMaxZoom(double);
2016-01-28 15:10:26 -08:00
Brad Leege
94731a9ef0 [android] #3716 - Setting Android Version to 4.0.0-SNAPSHOT 2016-01-28 14:02:51 -06:00
Brad Leege
9fd7dd4597 [android] #3716 - Updating version to 3.2.0 for release 2016-01-28 11:54:21 -06:00
Brad Leege
87e28d09b2 [android] #3723 - Commenting out content padding in MapView API 2016-01-28 10:50:44 -06:00
Tobrun
1295ba7017 [android] #3692 - fix crash with bad internet connection 2016-01-28 09:01:59 +01:00
Larry Geromegnace
3d32c63f7d [android] Add getters for content paddings. 2016-01-27 10:57:38 -06:00
Larry Geromegnace
72ca584638 [android] Use padding to get center coordinates. 2016-01-27 10:57:38 -06:00
Larry Geromegnace
c114ed6562 [android] Add API to be able to set insets on MapView. 2016-01-27 10:57:38 -06:00
Tobrun
6b633d5ff3 [android] #3664 - reverse direction fix + formatting commit 2016-01-22 11:52:17 +01:00
Tobrun
488fa3a4c5 [android] #3661 - GPS heading with extra rotation fix 2016-01-22 08:57:33 +01:00
Brad Leege
59f70811a9 [android] #3537 - Setting to 4.0.0-SNAPSHOT 2016-01-20 16:55:40 -05:00
Brad Leege
baae67cafd Merge pull request #3639 from mapbox/release-android-v3.1.0
Android 3.1.0 --> master
2016-01-20 16:53:58 -05:00
Brad Leege
3797bbf75c [android] #3537 - Updating version to 3.1.0 for release and fabric 2016-01-20 11:26:34 -05:00
Ansis Brammanis
26faa6a5ad [core][ios][osx][android] fix icons with non-integer width/height
ref #3031
ref #2198

For example, an icon that has:
- a pixel width of 10
- a pixel ratio of 3
- a scaled with of 3.333
is now supported.
2016-01-19 18:20:54 -08:00
Tobrun
fa84283a9d [android] #3608 - upgrade okhttp3 to version 2 2016-01-19 15:26:04 +01:00
Tobrun
8ffe776141 [android] #3503 - remove serialisable interface from classes in geometry package, implemented parcable on CoordinateBounds, CoordinateRegion and CoordinateSpan. Enforced Android code conventions on those classes. 2016-01-19 14:59:36 +01:00
Tobrun
6b3745c68d [android] #3156 - improving marker selection touch handling 2016-01-19 12:59:57 +01:00
Tobrun
5ff95d4524 [android] #3525 - fix ConnectivityManager context leak 2016-01-19 12:03:52 +01:00
Tobrun
fabc457adf [android] #3338 - add javadoc annotations package 2016-01-19 11:07:53 +01:00
Minh Nguyễn
47b69100f9 [core, ios, osx, android, glfw] Flipped origin of Map::latLngForPixel(), Map::pixelForLatLng()
Map and Transform methods assume an origin at the top-left corner of the view, like iOS, Android, and GLFW but unlike OS X. Transform is responsible for flipping coordinates between the top-left origin of Map and the bottom-left origin of TransformState.

Fixes #3574.
2016-01-18 16:54:58 -08:00
Tobrun
78bedff8f9 [android] #3556 - Added test to trigger NaN value on same point, updated LatLng model to handle calls for distance calls of same point 2016-01-18 13:31:37 +01:00