Commit Graph

928 Commits

Author SHA1 Message Date
Bruno de Oliveira Abinader
d00a32fe66 [android] Using mbgl::AnnotationIDs in JNI code 2016-10-12 18:59:40 +03:00
tomlocks
0fc7fd11d9 [android] Fixed wrong location view interpolation (#6668) 2016-10-12 11:07:25 +02:00
Tobrun
e0b025ab4d [android] - correct android to core conversion of camera options. (#6660)
* [android] - correct android to core conversion of camera options.

* fix MarkerView tilting, tilt is already in degrees

* same fix for MyLocationView
2016-10-12 10:56:38 +02:00
Tobrun
94a014cde3 [android] - revert making bearing and tilt to radiants (#6656) 2016-10-11 16:51:33 +02:00
Tobrun
fb2338ceca [android] - close response body to avoid connection leak (#6650) 2016-10-11 15:53:16 +02:00
Antonio Zugaldia
4cc7e7de4f [android] #6617 - Introduce a setConnected method to manually set a connected flag
* [android] introduce a setConnected method to manually set a connected flag

* extend connected state to ConnectivityReceiver

* extend connected state to ConnectivityReceiver
2016-10-11 09:17:07 -04:00
Josh Burton
e3c79bfd34 [android] - Use correct nullity annotation for convertView (#6521) 2016-10-11 15:07:47 +02:00
Ivo van Dongen
61d8ecefda [android] Runtime Style Filter enhancements (#6623)
* [android] Additional null check - prevents errors in array conversion

* [android] style conversion - delete local refs asap to avoid ref table overflow

* [android] Filter - hide concrete implementation classes to avoid confusion
2016-10-11 10:30:38 +03:00
Antonio Zugaldia
abdf7b1199 [android] #6635 - Sample multimap activity
* [android] sample multimap activity

* add MultiMapActivity to excludeActivities in generate-test-code.js
2016-10-10 21:19:05 -04:00
Tobrun
5bbd27eb8f [android] - correct degrees/radiants integration into transform.cpp, fixes camera position restoration from core and missing return value occurrence. (#6641) 2016-10-10 23:51:56 +02:00
Tobrun
e598bbfa7c Rotate markerview (#6640)
* [android] - MarkerView rotation bug, limit degrees from 0 to 360 while creating a MarkerView

* update MarkerView#setRotation to limit input from 0 - 360 degrees, calculates difference in angle and animates rotation by a certain amount instead of animating to a value. Exposed new AnimatorUtils#animateRotationTo. Integrated into MarkerViewManager. Cleanup some unused imports. Updated javadoc.

* updated MarkerViewActivity in test application to test for regressions.

* added tests to validate changes to MarkerView#setRotate
2016-10-10 23:51:30 +02:00
Tobrun
740c995c2b [android] - apply tilt to markerview with initial camera position (#6622) 2016-10-07 16:47:16 +02:00
Tobrun
79a80630fd [android] - image opt android layout editor image (#6624) 2016-10-07 15:55:58 +02:00
Antonio Zugaldia
7bcb04a609 [android] #6522 - Automate build process for Android SDK releases
* [android] draft release supporting snapshots

* [android] release.py ready for testing
2016-10-06 10:07:27 -04:00
Tobrun
c2333658f0 [android] - invalidate focal point when setting MyLocationView padding (#6413) 2016-10-05 22:55:54 +02:00
Tobrun
d96aabec43 [android] - correct focal point data when double tapping (#6595) 2016-10-05 22:54:54 +02:00
Tobrun
8b5228d6ec [android] - correct focal point with padding and tilt enabled + cleanup code MyLocationView (#6594) 2016-10-05 22:54:35 +02:00
Tobrun Van Nuland
3b72c288ad [android] refactored exposed api on MapboxMap
fix unit tests

fixup comments
2016-10-05 17:10:45 +02:00
clydebarrow
a4b0e2f30c [android] Revise handling of tracking modes and interactions
with touch gestures.

This fixes issues #6549 and #6567. Also pertinent to #6557.
Additional code has been added to the test app (Activity "User Tracking
Mode") to test.
A potential race condition in the MapboxMap#easeCamera() methods where
a camera change generated by tracking which could have reset the tracking
modes has been eliminated by factoring out a new method
MapboxMap#easeCameraInternal().
2016-10-05 17:10:45 +02:00
Ivo van Dongen
dd7713f6ee [android] javadoc - inter-link style properties properly 2016-10-05 12:15:15 +02:00
Tobrun
e103d92b18 Rework setStyleUrl() logic to avoid NPE as per #6512 (#6574)
* [android] Rework setStyleUrl() logic to avoid NPE as per #6512

* fixup brackets + comment
2016-10-04 15:19:25 +02:00
Tobrun
4bbdb448fd [android] - make MyLocationView responsible for converting tilt to degrees. (#6558) 2016-10-03 17:19:47 +02:00
Justin R. Miller
ee4715a821 update style generation code for new style spec enum values docs (#6508)
Documentation for enum values landed in mapbox/mapbox-gl-style-spec#510. 

This updates Android, iOS, and macOS documentation code gen scripts to capitalize on them.
2016-09-30 15:55:46 -07:00
Ivo van Dongen
ca20767e9c [android] Add sprite image example 2016-09-30 17:11:22 +02:00
Ivo van Dongen
8fbc1bc750 [android] addImage / removeImage jni bindings 2016-09-30 17:11:22 +02:00
Ivo van Dongen
d4888cb39d [android] file:// example 2016-09-30 14:57:26 +02:00
Ivo van Dongen
1c11aeb48a [android][ios][macos][linux][qt] included default LocalFileSource 2016-09-30 14:57:26 +02:00
Tobrun
eca126d804 [android] - fix polygon test activity state, introduced config class and toolbar composer, cleanup code (#6527) 2016-09-30 13:52:12 +02:00
Tobrun
2879b36a43 [android] - convert bearing value coming from core to degrees (#6526) 2016-09-30 13:31:54 +02:00
Konstantin Käfer
2ec2860ce5 [core] move OpenGL extension loading to their own headers 2016-09-29 13:19:27 -07:00
Konstantin Käfer
cc78b74098 [core] remove dependence on gl.h types 2016-09-29 10:17:47 -07:00
Ivo van Dongen
2b05776f97 [android] user agent string 2016-09-29 18:40:10 +02:00
Ivo van Dongen
a126aad0b8 [android] update telemetry user-agent 2016-09-29 18:38:51 +02:00
Tobrun
87a438ec75 Optionable textureview (#6480)
* [android] - make using TextureView optional

* add deprecation comment on texture mode
2016-09-29 15:05:50 +02:00
Tobrun
1fd142a449 [android] - update to lost 1.1.1 (#6476) 2016-09-29 11:43:19 +02:00
Tobrun
c97a1047df 6453 restore tilt after orientation (#6491)
* [android] - correct tilt value when restoring activity or creating from xml

* correct values requesting camera position adhoc

* updated logic change in unit tests
2016-09-29 11:41:08 +02:00
Tobrun
3835ed556b 6402 update offline metadata android (#6456)
* [android] - update offline metadata jni integration

* extract offline utils for reuse

* add test activity for update metadata

* fix requested signature changes
2016-09-28 07:48:01 +02:00
Tobrun
0c0671bff0 [android] - disable general purpose logging during transformation change (#6452) 2016-09-27 15:08:49 +02:00
Konstantin Käfer
63e53de157 [core] standardize on uint16_t for texture sizes 2016-09-27 10:42:10 +02:00
Justin R. Miller
b9fafbc2ee clarify circle color as fill (#6447) 2016-09-23 16:16:47 -07:00
Justin R. Miller
6aa00afd31 [ios, android] add visual tests for fill, line, & numeric filter styling (#6433) 2016-09-23 10:13:11 -07:00
Ivo van Dongen
71c71e43e6 [android] offline - prevent OOME 2016-09-23 10:47:54 +02:00
Ivo van Dongen
e968f4ed55 [android] timer - prevent overflow in due time 2016-09-23 10:47:54 +02:00
Ivo van Dongen
742d6d8275 [android] set connectivity state pro-actively 2016-09-23 10:47:54 +02:00
Tobrun
e8d47269f8 [android] #5737 - disable tracking when a camera change occurs, treat camera change equal to gesture (#6414) 2016-09-22 10:30:24 -04:00
Young Hahn
6a2ce352d1 Better handling for undefined icon|text-rotation-alignment (#6253)
* [core, ios, android] Use `auto` value for properties with calculated defaults

* Fix render tests
2016-09-21 16:07:33 -07:00
Antonio Zugaldia
c0ed193c20 [android] #6418 - Release Android v4.2.0-beta.3
* [android] #6418 - update VERSION_NAME to 4.2.0-beta.3

* revert VERSION_NAME for development

* Update CHANGELOG.md
2016-09-21 16:55:29 -04:00
Ivo van Dongen
625785e4b8 [android] enable RELRO (#6419) 2016-09-21 18:32:51 +02:00
Ivo van Dongen
eb97dbe383 [android] Sources: peer model, mutability (#6054) 2016-09-21 11:04:32 +02:00
Tobrun
3755d48441 [android] - increase timeout to 15 minutes (#6399) 2016-09-20 20:20:14 +02:00