Commit Graph

211 Commits

Author SHA1 Message Date
Brad Leege
bfebbe7841 [android] #2421 - Adding place holders for event attributes 2016-02-10 19:05:21 -08:00
Brad Leege
fd848b3d2b [android] #2421 - Giving constants a more Java like naming scheme 2016-02-10 19:05:21 -08:00
Brad Leege
a8e2cd9b07 [android] #2421 - Porting Attributes and relabeling existing as Keys 2016-02-10 19:05:21 -08:00
Brad Leege
1c588134e5 [android] #2421 - Adding remaining attributes as constants 2016-02-10 19:05:21 -08:00
Brad Leege
f692e66f20 [android] #2421 - Adding Events as constants 2016-02-10 19:05:20 -08:00
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
John Firebaugh
ff15bd51b9 [core] Throttle the number of concurrent requests to 20 2016-02-10 15:40:20 -08:00
John Firebaugh
e9302c797f [all] Don't interpret 404s on non-tile resources as "no content" 2016-02-10 15:40:20 -08:00
John Firebaugh
7eb1a91c4e [all] Do not set Response data for 404s
For AssetFileSource and the node FileSource this was already the case; this makes the other implementations consistent.
2016-02-10 15:40:20 -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
Jonas Bergvall
040fc09ea7 [android] Fixed error with asset URLs with URL encoded spaces. 2016-02-08 10:05:57 -08:00
Konstantin Käfer
2f06ca74e2 [core] move platform/gl.hpp to gl/gl.hpp 2016-02-08 12:50:00 +01:00
Tobrun
fa21051683 [android] #3830 added mocked parcel implementation 2016-02-05 14:32:58 +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
John Firebaugh
4d29c7d5ce [core] Remove Response::Error::Reason::Canceled
There is no such thing as a cancelled response, only cancelled requests. A request that is cancelled does not have its callback called with a Response.
2016-02-04 13:18:14 -08:00
John Firebaugh
d7db9c775a [all] Make #include <mapbox/variant.hpp> universally accessible 2016-02-04 11:08:02 -08: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
John Firebaugh
37c27f3a8f [core] Improve LatLngBounds API
* Use "named constructors": empty, world, hull
* Make the two-argument constructor lenient (i.e., it is a hull operation)
* Add various accessors
* Enforce a single empty representation
2016-02-02 23:04:18 -08: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
d3a027075f Merge branch 'master' into release-android-v3.2.0 2016-01-28 14:00:23 -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
41472054fc [android] #3728 - Adding Back Pressed support for App Bar Home Button 2016-01-28 11:44:08 -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