Brad Leege
8f532eeefa
[android] #3358 - Making Core GL camera methods private. Adding moveCamera() API method. Updating CameraActivity to use only animateCamera() and moveCamera() API.
2015-12-20 09:19:03 -06:00
Tobrun
f3de446bd9
[android] #3304 - refactor SpriteFactory to IconFactory, changed all the sprite names to icon for convention
2015-12-20 11:57:36 +01:00
Brad Leege
f7d1a40350
[android] Camera API
2015-12-18 11:33:40 -08:00
Tobrun
b8aee77299
[android] #3107 - allow other type of drawable to be used from a resource drawable other than BitmapDrawables
2015-12-18 15:47:54 +01:00
Tobrun
f31ff44d79
[android] #3317 #3239 - SpriteFactory Singleton, added different custom markers to InfoWindowActivity
2015-12-18 09:03:13 +01:00
Oguz Babaoglu
9e90934438
[Android] MapFragment null container fix
2015-12-18 08:10:47 +01:00
Tobrun
5c4ac72d5a
[android] #3277 - update android support lib + new configuration to manage these
2015-12-18 08:00:07 +01:00
John Firebaugh
110f1ec796
[ios, android] Add methods to remove a custom layer
2015-12-17 15:15:55 -08:00
John Firebaugh
7a4e7376e1
Move platform scripts into platforms
2015-12-16 17:49:22 -08:00
John Firebaugh
9f18ed9a3c
[android] Add CustomLayerRenderParameters to example code
2015-12-16 16:30:30 -08:00
John Firebaugh
2ee52915fe
[ios, android] Add a method to invalidate custom layers, forcing a repaint
2015-12-16 16:15:28 -08:00
John Firebaugh
2b782308e5
[android] Simplify structure for native files
2015-12-16 16:06:45 -08:00
John Firebaugh
13d5b18eba
[android] Move into platform subdirectory
2015-12-16 14:52:29 -08:00
John Firebaugh
0db9f229f2
[android] Move includes to platform subdirectory
2015-12-16 14:52:29 -08:00
John Firebaugh
8a17d30c50
[android] Custom layer bindings
2015-12-16 11:03:32 -08:00
John Firebaugh
dc4fa1c52e
[android] Add scheduled build script
2015-12-15 16:52:37 -08:00
John Firebaugh
9d0ab5549c
[ios, android] Remove unnecessary portions of bitrise.yml
2015-12-15 14:29:33 -08:00
John Firebaugh
cf4f262df5
[ios, android] Remove version specifier to avoid Bitrise upgrade nag
2015-12-15 14:19:51 -08:00
John Firebaugh
9fc6d61faf
[android] Add bitrise.yml
2015-12-15 13:59:20 -08:00
Brad Leege
02feddb816
[android] #2805 - Updating Tilt API to support animation duration time
2015-12-03 16:57:44 -06:00
Brad Leege
349f47ba92
[android] #2805 - Basic wiring up of Android Tilt methods to Core GL Pitch methods
2015-12-03 16:57:43 -06:00
John Firebaugh
8afa14fa78
[core] Map::setSprite ⇢ Map::addAnnotationIcon
...
Fixes #3084
2015-12-01 15:10:28 -08:00
Thiago Marcos P. Santos
ae3f1c79fa
[android] Removed libuv dependency from HTTPAndroid*
2015-12-01 11:49:02 +02:00
Thiago Marcos P. Santos
d515f84caf
[core] Remove unused libuv includes
2015-12-01 11:49:01 +02:00
Bruno de Oliveira Abinader
92856f394c
[core] Collision debug is now MapDebugOptions::Collision
2015-11-27 17:47:02 +02:00
Bruno de Oliveira Abinader
1f0820c8e8
[core] Added MapDebugOptions
...
Map debug options are now cycled up to all debug options enabled, then
back to none.
2015-11-27 17:47:02 +02:00
Bruno de Oliveira Abinader
31fd2822f5
[core] Replace time_t with std::chrono::seconds
...
Added aliases for std::chrono typedefs (eg. 'Seconds' for
std::chrono::seconds). These aliases are used together with templated
helper functions to replace time_t with std::chrono::seconds for most
cases, in particular for 'modified' and 'expires' values in Response.
2015-11-27 17:47:02 +02:00
Bruno de Oliveira Abinader
cb9b397985
[core] Fix LatLngBounds default coordinates
...
LatLngBounds southwest and northeast coordinate points were inverted, so
they could be extended via LatLngBounds::extend(). However, this looks
confusing and error-prone.
A static LatLngBounds::getExtendable() is added to address cases when we
want to extend LatLngBounds.
2015-11-18 09:37:27 +02:00
Leith Bade
af2d034e9d
[android] Bring back OkHTTP
...
Update http_request_android.cpp for changes in #2727
Fix crash caused by calling both onFailure and onReponse in the same request
Fixes #2856
Fixes #2400
2015-11-17 10:12:58 +11:00
John Firebaugh
1e350b7ea4
[core] Reorganize sprite related files
2015-11-12 13:03:14 -08:00
Bruno de Oliveira Abinader
8b76f00d8c
[core] PrecisionPoint is now a vec2<double>
...
We could reuse all the operators defined in vec2<>, including operator
bool() that checks if the contained values are !NaN.
2015-11-12 10:46:50 -08:00
Bruno de Oliveira Abinader
994ee519e8
[android] Reflect Map API changes in JNI
2015-11-11 16:59:49 +02:00
John Firebaugh
54e08b1f83
[core] Eliminate use of ClassProperties for paint
2015-11-10 11:33:17 -08:00
Mike Morris
dfb36d6231
[core] move mbgl.gyp to gyp directory
...
So npm won't clobber binding.gyp, refs
https://github.com/npm/npm/issues/10243
2015-11-04 11:34:35 -05:00
Leith Bade
abf93c008b
[core] Remove bundled styles.
...
Fixes #2239
2015-10-30 13:09:04 -07:00
Leith Bade
43dde0f204
[android] Fix crash on Marshmallow
...
Fixes #2813
2015-10-28 00:40:27 +11:00
Tobrun
f3ffb45cf6
[android] #2809 - addPolylines and removeAnnotations in JNI, added feature activity + sanity test case
2015-10-27 11:16:55 +01:00
Leith Bade
fd33dfcd73
[android] Restore old GL context after createSurface
...
Fixes #2807
2015-10-27 15:27:08 +11:00
Ansis Brammanis
750c72f324
improve gestures in perspective view
...
The location under your finger stays under your finger as you pan.
The location you double tap to zoom stays at the same point.
The location at the center of a pinch zoom stays at the center.
The location at the center of a rotation stays at the center.
2015-10-26 12:48:03 -07:00
Thiago Marcos P. Santos
c65f809651
[core] Move parseCacheControl() up in the class hierarchy
...
Avoid duplicating it on all the ports.
2015-10-26 18:37:51 +02:00
Leith Bade
39911e581c
[android] Move android files
...
Fixes #2032
2015-10-25 01:07:16 +11:00
Leith Bade
28113d92e7
[android] Use new GPS markers.
...
Add missing dpi for mapbox logo and compass.
Fixes #2732
Fixes #2690
2015-10-24 03:28:16 +11:00
John Firebaugh
686c967c8e
[ios] [android] Use Response::NotFound in other HTTP implementations too
2015-09-29 18:20:23 -07:00
Leith Bade
19e7d154bb
Improve handling of cancelled HTTP requests
...
Fix a memory leak of NativeMapView Java object
2015-09-23 15:05:34 +10:00
Leith Bade
2f31687844
Use uv::async in HTTPAndroidRequest to ensure the correct thread deletes request object
...
Fixes #2058
2015-08-14 13:55:42 +10:00
Leith Bade
0cbe7e07f5
Use OkHTTP to implement HTTPContext on Android.
...
Closes #823
2015-08-11 11:59:08 +10:00
Thiago Marcos P. Santos
3254cdc85c
Log the Environment ID and the Thread name
...
To make it easier to debug, add the Environment ID and the Thread name
to the log messages. For instance log messages from the TileParser will look like:
[WARNING] {0}{TileWorker_15/18653/9486}[ParseTile]: some relevant warning message
| | | |
| | | +-> Component
| | +--------------------> Thread name
| +----------------------------------> Environment ID
+------------------------------------------> Severity level
Log messages that are not inside an Environment::Scope will work
normally and will look like:
[WARNING] [JNI]: some relevant warning message
Fixes #882 .
2015-03-18 12:51:33 +01:00
Thiago Marcos P. Santos
51bc265db3
Make the logging system static
...
No initialization is needed anymore and we can use the logging functions
safely at any point of the code (threading is not handled though, so you
might get multiplexed messages if you log from two threads
simultaneously).
2015-03-12 13:28:41 +02:00
Thiago Marcos P. Santos
2948e7d121
Simplify the logging mechanism
...
Move the implementation of the more specialized methods to the base
class and let the platform implement only the most generic method that
takes all the possible arguments.
These specialized methods will then map to the generic implementation
that must be provided by the platforms we support.
2015-03-12 13:28:40 +02:00
Leith Bade
8f416ee2d5
Add assetRoot for Android
2015-02-10 19:33:22 -08:00