Commit Graph

83 Commits

Author SHA1 Message Date
Brad Leege
06f58b288a [android] #3384 - package-info.java for the .camera and .location packages JavaDocs 2015-12-22 17:27:04 -06:00
John Firebaugh
b60b6c47c0 [core] Merge SQLiteCache into the platform library
OfflineFileSource will depend on SQLite too.
2015-12-22 12:09:14 -08:00
Brad Leege
4c90f63c6d [android] #2915 - Removing Crashlytics From TestApp 2015-12-22 08:46:58 -06:00
Brad Leege
4a18e1cf77 [android] #3354 - Setting Android Version to 3.1.0-SNAPSHOT 2015-12-21 18:29:57 -06:00
Brad Leege
19f2f62609 [android] #3354 - Incrementing Version to 3.0.0 for release 2015-12-21 12:22:43 -06:00
Brad Leege
9c4cbb4fcd [android] #3348 - Updating customLayerClass package name in JNI code 2015-12-21 11:51:54 -06:00
Brad Leege
e8e485f83e [android] #3348 - Moved ExampleCustomLayer into it's own package. Moved Custom Layer to Main Activity Controls in Nav Drawer with new icon. 2015-12-21 10:09:33 -06:00
Brad Leege
3bffd6456f [android] #3358 - easeTo() uses nanoseconds instead of milliseconds 2015-12-20 10:00:08 -06:00
Brad Leege
77d62baa50 [android] #3358 - Created easeCamera() API method. 2015-12-20 09:46:59 -06:00
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