Bruno de Oliveira Abinader
1c79147a84
[android] Update GLSL + ensure binding to OpenGL ES 2.0
2016-11-14 17:45:22 +01:00
Ivo van Dongen
36dea5ea0d
[android] return source ownership on remove
2016-11-14 14:05:18 +01:00
Ivo van Dongen
8d53f9f091
[android] return layer ownership on remove
2016-11-14 14:05:18 +01:00
Ivo van Dongen
822b83ae4e
[android] fix source ownership
2016-11-11 13:46:10 +01:00
Ivo van Dongen
3a4a27c95f
[android] fix layer ownership
2016-11-11 13:46:10 +01:00
Konstantin Käfer
108a28faa8
[android] update viewport size when framebuffer size changed
2016-11-10 17:04:18 +01:00
Tobrun
772324e8f2
Cherry pick release v4.2.0 ( #6944 )
...
* [android] - MyLocationView should facing above when location and compass bearing tracking are enabled. (#6829 )
* [android] - use current animated rotation value for calculating animated marker rotation difference (#6826 )
fix unit tests, input limiting is not handled by animateRotationBy instead of MarkerView.
Changed test to validate if method was called with correct value.
* [android] - only calculated offset margins for InfoWindow if View is found in current viewport, added example to the test app to test for regressions (#6877 )
* upgraded okhttp dependency to latest version (#6880 )
* Cancelable callback invocation (#6891 )
* [android] - allow onCancel to be invoked from camera cancel callbacks
* set to null after finish
* [android] - using bearing clockwise versus counterclockwise (#6917 )
* [android] - using bearing clockwise versus counterclockwise
* fixup brackets
* [android] - convert bearing values from core to Android SDK equivalent.
2016-11-09 10:42:18 +01:00
Ivo van Dongen
505bf7db7a
[android] update custom layer example with invalidation example
2016-11-07 09:38:04 +01:00
Konstantin Käfer
29c5c13aa2
[core] move OpenGL debug information printing to core
2016-11-04 21:24:05 +01:00
Konstantin Käfer
c90a559599
[core] move framebuffer reading to gl::Context
2016-11-04 21:24:05 +01:00
Konstantin Käfer
f7801e5d82
[core] correctly set the framebuffer size on retina screens
...
Also asserts in Debug mode that the internal state and the OpenGL state are identical
2016-11-01 10:46:04 +01:00
Konstantin Käfer
62b56b799a
[core] change std::array<uint16_t, 2> to mbgl::Size
2016-10-27 18:30:58 -07:00
Konstantin Käfer
a4d259c33f
[core] move gl::Context to Backend and refactor View
2016-10-25 13:52:36 -07:00
Konstantin Käfer
5cc390d694
[core] separate Backend from View for headless rendering
2016-10-25 13:52:36 -07:00
Ivo van Dongen
31a7925205
[android] fix exception class
2016-10-25 12:41:28 +02:00
Tobrun
7a4cd67aa8
[android] - remove jni method logging, only keep lifecycle related logs ( #6787 )
2016-10-21 22:23:16 +02:00
Mike Morris
817c26111a
[core] [node] pass thread pool impl to Map constructor
...
Updates mbgl::Map constructor usage everywhere
Adds NodeThreadPool implementation using AsyncQueue to call
Nan::AsyncQueueWorker from main thread
2016-10-20 14:37:36 -04:00
Ivo van Dongen
5527887c4b
[android] geojson source - remove explicit repaint requests
2016-10-20 11:41:24 +03:00
Tobrun
0ccc7f51ba
[android] - fixup MyLocationView heading ( #6671 )
...
[android] - convert angles to radiants in jni, correct follow animation for MyLocationView
do not sanitise input when recreating from other camera object, input is already sanitised before
cleanup mylocationview, made animation bit more smooth, improved UX when switching between tracking modes
cleanup CameraUpdateFactory, hide internally used api.
only invalidate position if required, remove outdated comments
correct camera position values
made zoom activity a bit more interesting
made dynamic marker activity a bit more interesting
FIXUP
2016-10-18 17:56:39 +02:00
Ivo van Dongen
e5a473a301
[android] don't delete local reference on value copy
2016-10-15 10:51:19 +03:00
Bruno de Oliveira Abinader
d00a32fe66
[android] Using mbgl::AnnotationIDs in JNI code
2016-10-12 18:59:40 +03: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
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
8fbc1bc750
[android] addImage / removeImage jni bindings
2016-09-30 17:11:22 +02:00
Konstantin Käfer
2ec2860ce5
[core] move OpenGL extension loading to their own headers
2016-09-29 13:19:27 -07:00
Ivo van Dongen
2b05776f97
[android] user agent string
2016-09-29 18:40:10 +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
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
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
Ivo van Dongen
eb97dbe383
[android] Sources: peer model, mutability ( #6054 )
2016-09-21 11:04:32 +02:00
Tobrun
9ef65440b6
[core] [android] - public api configurable base endpoint ( #6309 )
...
add runloop to test
2016-09-15 22:01:09 -07:00
Ivo van Dongen
ed4e37ba9f
[android] HttpFileSource - rate limit
2016-09-13 14:21:38 +02:00
John Firebaugh
030234c7a6
[core] Rework invokeWithCallback so that the callback is last
2016-09-08 16:36:47 -07:00
John Firebaugh
8edf995946
[android] Remove declaration of deleted method ( #6276 )
2016-09-07 08:42:19 -07:00
John Firebaugh
fe2a26225f
[core, ios, android, qt] Observe style layer mutations rather than requiring SDKs to use Map::update
...
This paves the way for updates to filter and layout properties to trigger a source reload, without each SDK having to participate in the implementation.
2016-09-06 14:29:22 -07:00
Ivo van Dongen
e1a2ee733c
[android] jni - fix boolean to JsonPrimitive conversion ( #6256 )
2016-09-06 17:58:28 +02:00
Tobrun
8deb7aaa79
[android] - 5844 remove stop gap for update-able shape annotations ( #6187 )
...
* [android] - remove stopgap updatable shape annotations
2016-08-29 17:43:32 +02:00
Ivo van Dongen
4e211548d5
[android] #5869 - visible feature querying
2016-08-16 11:38:30 +02:00
Ivo van Dongen
ddf0d25845
[android] #5978 - fix number property filters [ci skip]
2016-08-12 18:47:05 -04:00
Minh Nguyễn
e147887e35
[core, android, ios, macos] Replaced getPointAnnotationsInBounds() w/ queryPointAnnotations() ( #5165 )
...
queryPointAnnotations() accepts a screen rectangle instead of a geographic bounding box, so marker hit testing works at the edges of a rotated, tilted map view.
Fixes #5151 .
2016-08-12 15:45:18 -07:00
Ivo van Dongen
d9145f504b
[android] #5887 - Custom layer crash fix + updated test case
2016-08-08 11:33:31 -04:00
Ivo van Dongen
5ac95b9dcf
[android] #5885 - fix invalid jobject error and some build system updates
2016-08-08 08:54:58 -04:00
Thiago Marcos P. Santos
0c460a5590
[android] Refcount the view activations
...
Fixes #5836
Fixes #5721
2016-08-06 12:58:59 -04:00
Tobrun Van Nuland
6016b2981e
[android] SurfaceView compatible snapshot api
...
[android] #5587 - snapshot API on surface view, create Bitmap with a ByteBuffer
[android] #5587 - write bitmap to external storage
PreMultipliedImage approach
callback implemented
clean up code
introduce bitmap reuse
cleanup
renaming surfaceContent to bitmap
2016-08-03 14:55:45 -04:00
Tobrun
f26c89c0b6
[android] #5663 - make shape annotations updateable
2016-08-03 14:50:41 -04:00
Ivo van Dongen
10b2cc60a7
[android] #5610 - Runtime style api - part 2
2016-08-02 16:58:03 -04:00