Commit Graph

703 Commits

Author SHA1 Message Date
Ivo van Dongen
dc21396d71 [android] insert layer above 2017-02-28 09:33:04 -08:00
Ivo van Dongen
3040d40772 [android] remove source returns reference 2017-02-28 09:33:04 -08:00
Ivo van Dongen
fedb21e35b [android] remove layer returns reference 2017-02-28 09:33:04 -08:00
Ivo van Dongen
f0de56cffa [android] source list accessor + example 2017-02-28 09:33:04 -08:00
Ivo van Dongen
ec1dc2622b [android] layer list accessor + example 2017-02-28 09:33:04 -08:00
Ivo van Dongen
62e85c1224 [android] add unknown source type 2017-02-28 09:33:04 -08:00
Ivo van Dongen
3e48b377fd [android] add unknown layer type 2017-02-28 09:33:04 -08:00
Pablo Guardiola
283aee0754 [WIP] InfoWindow refactor (#8080)
* [android] remove unnecessary info window class and add bubble layout

* fix some PR comments (remove hungarian notation, make bubble popup helper package protected and fix some code style issues)

* refactor replace enum in favor of intdef

* make bubble layout package protected and remove useless info window tip view class
2017-02-28 11:48:40 -05:00
Tobrun
8e9d6a5b2c [android] - don't allow transforming to the same camera position, ignore redundant updates. (#8134) 2017-02-28 10:57:08 -05:00
Tobrun
809d8248b3 Fix a NPE that occurs when MapView is initialized with a null MapboxMapOptions (#8131) 2017-02-28 09:18:49 -05:00
Tobrun
147654a46b [android] - reverse compass direction (#8130) 2017-02-27 14:22:25 -05:00
Ivo van Dongen
465c949153 [android] jni high level binding refactor 2017-02-24 17:54:20 +02:00
Ivo van Dongen
d1f444d63e [android] remove nonexistent layer or source handling 2017-02-23 15:07:43 -08:00
Pablo Guardiola
87be62f9e4 [android] fix units in runtime styling javadoc (#8161) 2017-02-23 19:47:40 +01:00
Antonio Zugaldia
3ba3f31416 Update to MAS 2.0.0-beta.2 and handle dependencies consistently (#8169)
* [android] update to mas 2.0-beta2 and handle dependencies consistenly

* extract remaining dependencies and bump stable versions
2017-02-23 09:12:56 -05:00
Tobrun
79ab42f791 [android] - move calculating a bounding box zoom level to projection. (#8133) 2017-02-23 14:08:38 +01:00
Tobrun
272d874267 [android] - remove filter Object[] from ejs template file for layer (#7658) 2017-02-23 11:29:24 +01:00
Tobrun
b49fc44498 [android] - post invoking onMapReady to the end of the main thread message queue (#8137) 2017-02-21 16:24:31 +01:00
Tobrun
22c060d414 [android] - only remove location updates when connected (#8107) 2017-02-21 08:16:59 +01:00
Konstantin Käfer
9ad29af400 [android] OfflineManager#setResourceTransform to allow transforming URLs prior to internet requests 2017-02-20 14:36:27 +01:00
Konstantin Käfer
c86e38e303 [android] use shared DefaultFileSource for all maps + OfflineManager 2017-02-20 14:36:27 +01:00
Ivo van Dongen
ab20d38883 [android] fix default value conversion on dds functions 2017-02-17 13:17:20 -08:00
Anand Thakker
062b18374d [core] Enable property functions for text-{field,transform} (#7944) 2017-02-17 13:16:25 -08:00
Tobrun
0c0d7ceaeb [android] - use project wide configurations for all modules + fixup wear compile error (#8066) 2017-02-15 19:56:31 +01:00
Tobrun
8bf1cf7843 Do not draw foregroundBearingDrawable when rotation sensor is not available (#8065) 2017-02-15 16:02:34 +01:00
Tobrun
9ed9a32ded [android] - remove unused telem constants (#8061) 2017-02-15 16:02:17 +01:00
Tobrun
65ed1e6019 [android] - when removing out of viewport MarkerViews keep reference to MapboxMap to be able to update the underlying Marker. (#8064) 2017-02-15 16:01:42 +01:00
Tobrun
d07a6aa1ad [android] - prefix key constants used for Activity saved instance bundle with mapbox_ (#8060) 2017-02-15 16:01:27 +01:00
Tobrun
24432e0b98 [android] - null checking when invalidating as the invalidate callback can be invoked while the reference to MapView isn't valid anymore. (#8062) 2017-02-15 12:57:44 +01:00
Antonio Zugaldia
0b3873c7b5 [android] Update SDK dependency to MAS beta.1 (#8020)
* remove unused repositories

* move from snapshot to beta.1
2017-02-10 14:30:23 -05:00
Ivo van Dongen
c65e8bfa62 [android] Refactor composite stop types and conversions 2017-02-09 11:16:26 -06:00
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