Commit Graph

845 Commits

Author SHA1 Message Date
Ivo van Dongen
fd3587608b [android] map snapshotter - add mutators 2017-11-01 09:23:53 -04:00
Tobrun
03d3aee6fc [android] - rework ease interactions to take in account possitve duration requirement 2017-10-31 15:30:48 -07:00
Osana Babayan
9aa2c197ca [android] MapboxMap.animate() and Mapbox.easeCamera() should throw IllegalArgument (#10321)
if non-positive duration is passed in
2017-10-31 15:30:48 -07:00
Tobrun
f578b26282 [android] - add bulk addImages api on MapboxMap 2017-10-31 13:47:12 -07:00
Osana Babayan
ebe6a30821 [android] Make sure onFinish has new camera position after camera.move (#10324) 2017-10-31 09:23:02 -07:00
Ramin Mirsharifi
9b41791dec [android] - Add angular velocity effect on rotation gesture. 2017-10-30 16:25:37 -07:00
Ramin Mirsharifi
c351f65c09 [android] - Add touch velocity effects on scale gesture. Fine tune. 2017-10-30 16:25:37 -07:00
Ramin Mirsharifi
8c4e2f0886 [android] - Add touch velocity effects on scale gesture. 2017-10-30 16:25:37 -07:00
Tobrun
b8d5798bea [android] - avoid null pointer if map wasn't initalised when saving instance state 2017-10-30 13:00:19 -07:00
Tobrun
5893af7f24 [android] - move shape annotation click handling to core 2017-10-30 09:34:23 -07:00
Antonio Zugaldia
bd06e2f6fa [android] - lower amount of external dependencies (#10268) 2017-10-26 12:57:46 -04:00
Tobrun
af90446758 [android] - null check mapboxMap with onStop invocation 2017-10-23 22:39:00 +02:00
Tobrun Van Nuland
24fc48982a [android] - wire up MapZoomButtonController with camera change events 2017-10-18 15:51:41 +02:00
Tobrun Van Nuland
a221b459e9 [android] - execute notifying listeners when not idle 2017-10-18 15:38:55 +02:00
Tobrun Van Nuland
d95079a0f9 [android] - use FileSource pause and resume when foregrounding/backgrounding app 2017-10-17 17:22:29 +02:00
Antonio Zugaldia
6d673799f8 [android] Revert native loading behavior (#10180) 2017-10-11 09:06:58 -04:00
Tobrun Van Nuland
ff03a75da4 [android] - hold off handling hover events untill map has been created 2017-10-10 15:28:33 +02:00
Asheem Mamoowala
24bd336b88 [android][ios][macOS] Implement bindings for Map::cameraForGeometry. On macOS, also added -[MGLMapView setCamera: withDuration: animationTimingFunction: edgePadding: completionHandler:] for parity with iOS 2017-10-09 13:58:11 -07:00
Tobrun Van Nuland
9048d6cfd0 [android] - fine tune gesture zoom & rotation 2017-10-09 16:51:17 +02:00
Antonio Zugaldia
a1aed6f095 Provide a fallback method to load the native library (#10154)
* provide a fallback method to load the native library

* move context call inside loader to avoid changing method signature
2017-10-09 10:07:09 -04:00
Tobrun Van Nuland
94312acd8b [android] - allow multiple listeners for camera events, deprecate old api 2017-10-06 15:43:51 +02:00
Tobrun Van Nuland
cef386ca47 [android] - make OfflineTilePyramidRegionDefinition parceable 2017-09-29 11:22:46 +02:00
Tobrun Van Nuland
79c9a7ffe7 [android] - deprecate MarkerView 2017-09-27 12:58:16 +02:00
Tobrun Van Nuland
2f4cc7e466 [android] - add API to perform platform side animations 2017-09-26 12:06:36 +02:00
Tobrun Van Nuland
e6fea1e726 [android] - disable rotation gesture when pinch zooming 2017-09-25 09:38:14 +02:00
Ivo van Dongen
d1e69c8baf [android] CustomLayer - optionally accept a context lost callback function 2017-09-22 23:33:56 +03:00
Ivo van Dongen
b0c06c764b [android] re-implemented the fps listener api 2017-09-22 23:33:56 +03:00
Ivo van Dongen
c17be060fd [android] map snapshots 2017-09-22 23:33:56 +03:00
Ivo van Dongen
e0312ef208 [android] fix ZoomButtonController initialisation order
- prevents "java.lang.IllegalArgumentException: Receiver not registered: android.widget.ZoomButtonsController" when quitting the map before the receiver is properly registered
2017-09-22 23:33:56 +03:00
Ivo van Dongen
5d12503302 [android] self-contained map renderer
- Isolates the GL thread in a MapRenderer class with a native peer
2017-09-22 23:33:56 +03:00
Ivo van Dongen
15a47d116a [android] schedule work on the gl thread using GLSurfaceView#queueEvent 2017-09-22 23:33:56 +03:00
Ivo van Dongen
347d7c19c0 [android] async rendering
- introduces GLSurfaceView
- introduces Orchestration thread
- renders on the gl thread
2017-09-22 23:33:56 +03:00
Ivo van Dongen
c0544d8500 [android] remove texture view 2017-09-22 23:33:56 +03:00
Tobrun Van Nuland
c9cb4ef624 [android] - set error handler when starting snapshotter, remove obsolete static keyword on interface 2017-09-21 10:38:23 +02:00
Pablo Guardiola
2fcbd78062 [android] hook camera events into compass (#10019) 2017-09-20 10:15:56 +02:00
Radosław Juszczyk
5e63e5704a Do not check connection if it is local request
Requests to servers which run on localhost should be independent from internet connection.
2017-09-14 07:45:31 +02:00
Tobrun Van Nuland
f0bf2c94ae [android] - harden offline region deletion 2017-09-14 07:44:56 +02:00
Tobrun Van Nuland
8e01f52dd2 [android] - don't recycle bitmap for icon reuse. 2017-09-12 10:18:24 +02:00
Tobrun
738f68251a [android] - avoid adding duplicate points to bounds 2017-09-11 19:26:03 +02:00
Robin Darby
a5bfb4ac40 [android] Clear out mapCallback's OnMapReadyCallbacks on onDestroy 2017-09-11 19:25:16 +02:00
Pablo Guardiola
9ce7099089 [android] fix is download complete (a download is complete when count and required resources match and the download state is inactive) (#9913) 2017-09-07 17:26:26 +02:00
Asheem Mamoowala
69b52367d3 [core][ios][macos][android]DDS-ify text-letter-spacing and text-max-width 2017-08-30 10:59:08 -07:00
Ivo van Dongen
966bf8824d [android] map snapshotter 2017-08-30 17:18:37 +03:00
Lauren Budorick
2de89a99bc Implement icon-anchor property 2017-08-28 13:32:56 -07:00
Tobrun Van Nuland
fde31db28f Revert "[android] - configure loggin of HttpRequest, cleanup HttpRequest"
This reverts commit a059c74a54.
2017-08-24 15:01:57 +02:00
Asheem Mamoowala
d21f19686b Set Default MaxZoom to 22 2017-08-21 15:01:36 -07:00
Tobrun Van Nuland
a059c74a54 [android] - configure loggin of HttpRequest, cleanup HttpRequest 2017-08-19 07:59:27 +02:00
Tobrun Van Nuland
385e4e6ade [android] - style image accessor 2017-08-18 13:38:38 +02:00
Tobrun Van Nuland
83336e2224 [android] - avoid IndexOutOfBounds when destroying map object 2017-08-17 16:58:49 +02:00
Tobrun
830bf151be [android] - create smallest possible LatLngBounds when visible region crosses the dateline 2017-08-17 16:48:18 +02:00