tobrun
e6e07a6809
[android] - optimise interface definition
2019-01-15 13:33:28 +01:00
Tobrun
aedbdc21d0
[androd] - add weak references checks to all jni callbacks
2018-12-13 19:08:12 +01:00
Tobrun
e94a7fc405
[android] - validate if weakreference is still valid
2018-12-13 19:08:12 +01:00
Chris Loer
662a495561
[docs] EnterIdle -> BecomeIdle
2018-12-11 11:46:16 -08:00
Chris Loer
70c2d5a4ca
[core, darwin, android] Add onDidEnterIdle to MapObserver.
...
didEnterIdle fires whenever render completes and no repaint is scheduled.
2018-12-11 11:46:16 -08:00
Tobrun
75914acb6b
[android] - add more tests, refactor map padding
2018-12-11 18:08:16 +01:00
Osana Babayan
ea775ae932
nativeRemoveSource() and nativeRemoveLayer() methods should return a boolean ( #13428 )
2018-12-07 13:10:28 -05:00
Mikhail Pozdnyakov
80ec05cf47
[core][android] Implement LayerManager for Android
...
The newly introduced `LayerManagerAndroid` is now responsible
for creating both style layer objects and their java peers on Android.
2018-11-07 16:34:20 +02:00
Bruno de Oliveira Abinader
98c36fc06e
[core] CameraOptions receives and outputs angle and pitch as degrees, not radians
2018-10-19 12:05:16 +02:00
Tobrun
9e7694cb38
[android] - replace OnMapChange with specific callbacks
2018-10-11 14:12:35 +02:00
tobrun
5238c77696
[android] - add binding integration for cross source collision
2018-09-12 14:10:46 -07:00
John Firebaugh
79bf0e8af6
[android] jni.hpp 4.0.0
2018-09-07 09:44:12 -07:00
John Firebaugh
115e8625e1
[android] Simplify Feature conversion
2018-09-07 09:44:12 -07:00
John Firebaugh
53c3c327f0
[android] Upgrade to latest jni.hpp
2018-09-07 09:44:12 -07:00
Konstantin Käfer
112bbc7ab2
[core] make style/conversion.hpp implementation private
2018-08-19 13:09:16 +02:00
Łukasz Paczos
63d4ac05f2
[android] shutting down thread pool of the CustomGeometrySource when the source is destroyed
2018-08-10 18:31:52 +02:00
Tobrun
418bcc2f21
[android] - expose getMap on native_map_view
2018-07-20 10:31:22 +02:00
tobrun
ec78936e18
[android] - add bearing and pitch to get camera for geometry
2018-07-05 13:30:50 +02:00
tobrun
add9eecd99
[android] - add bearing and tilt to LatLngBounds, incorporate current tilt and bearing transformation in old api
2018-07-05 13:30:50 +02:00
tobrun
279dd93f7c
[android] - add support for sdf by exposing sdf confiigurationn when calling MapboxMap#addImage.
2018-06-25 13:44:15 +02:00
Łukasz Paczos
dfdfbc0990
[android] calculating camera's LatLng for bounds without map padding ( #11410 )
2018-03-08 15:55:47 +01:00
Fabian Guerra
903e7989ec
Merge branch 'master' into release-boba
...
# Conflicts:
# platform/android/CHANGELOG.md
# platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/Mapbox.java
# platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/maps/widgets/CompassView.java
# platform/android/scripts/exclude-activity-gen.json
# platform/ios/CHANGELOG.md
# platform/ios/Mapbox-iOS-SDK-nightly-dynamic.podspec
# platform/ios/Mapbox-iOS-SDK-symbols.podspec
# platform/ios/Mapbox-iOS-SDK.podspec
# platform/macos/CHANGELOG.md
2018-02-15 11:54:51 -05:00
Chris Loer
a11b277bc1
[core] Rename "onLowMemory" to "reduceMemoryUse".
...
Android still calls "reduceMemoryUse" only while handling a low memory event.
iOS, on the other hand, calls "reduceMemoryUse" every time it enters the background.
2018-02-14 10:55:16 -08:00
Benjamin Jaeger
0b27909b8b
NativeMapView.addImage without copying into Java
2018-02-12 15:56:58 +01:00
Asheem Mamoowala
f06ebcc967
[android] Reuse Java Source objects by holding on to a strong reference in the C++ peer.
2017-11-22 13:56:38 -08:00
Tobrun
f578b26282
[android] - add bulk addImages api on MapboxMap
2017-10-31 13:47:12 -07:00
Tobrun
5893af7f24
[android] - move shape annotation click handling to core
2017-10-30 09:34:23 -07: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
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
67285f3a95
[android] Re-initialise renderer, backend and context when the android system destroyed the underlying gl resources
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
e780cdc29e
[android] extract RendererBackend from NativeMapView
2017-09-22 23:33:56 +03:00
Lauren Budorick
a9ddf5b7fd
Preserve depth buffer between 3D layers + optimize render order ( #9931 )
...
Port of https://github.com/mapbox/mapbox-gl-js/pull/5101 : adds a new render pass `Pass3D` before any other rendering wherein we render layers with 3D passes (fill-extrusion layers) to offscreen framebuffers, sharing a depth renderbuffer between those layers in order to render 3D space correctly. Those framebuffers are saved on the RenderLayers and copied back to the map during the translucent pass. Rendering to offscreen framebuffers before we do any clear + draw means we can avoid expensive framebuffer restores.
2017-09-21 14:26:48 -07:00
Tobrun Van Nuland
385e4e6ade
[android] - style image accessor
2017-08-18 13:38:38 +02:00
Tobrun Van Nuland
6fce6bb6d2
[android] - optimise icon management
2017-08-10 15:31:30 +02:00
John Firebaugh
d4cb498d7a
[all] Merge View into RendererBackend
2017-07-26 09:50:38 -07:00
Ivo van Dongen
8fef2b6531
[android] manage backendscope in renderer frontend
2017-07-25 17:44:28 +03:00
Ivo van Dongen
c5300ebabf
[android] add api to enable/disable tile prefetching
2017-07-20 11:11:18 +03:00
Tobrun
68324913d7
[android] - rewrite map object intialisation ( #9462 )
2017-07-19 14:17:06 +02:00
Tobrun
13db36f02c
[android] - fine tune fling gesture ( #9532 )
2017-07-18 12:32:40 +02:00
Ivo van Dongen
b5c0bf1b8d
[android] remove manual ref counting on activation/deactivation
2017-07-18 10:45:12 +02:00
Ivo van Dongen
815ffb253b
[android][glfw][ios][macos][node][qt] rename backend to renderer backend
2017-07-18 10:45:12 +02:00
Ivo van Dongen
d68d8a7846
[android] rendering interface changes
2017-07-18 10:45:12 +02:00
Ivo van Dongen
39a732d7ae
[android][glfw][ios][macos][node][qt] split backend from mapobserver
2017-07-18 10:45:12 +02:00
Ivo van Dongen
a35b268606
[android] remove tile cache size customization
2017-06-27 17:02:40 -07:00
John Firebaugh
40e4755621
[core] Move setStyleJSON/URL to Style; add Map::setStyle
2017-06-22 08:04:39 -07:00
John Firebaugh
1520a56813
[all] Promote Style to public API
2017-06-22 08:04:39 -07:00