tobrun
0ac95bd994
[android] - add style image missing binding integration, add synchronous
...
image overloads to style
2019-04-15 14:24:02 +02:00
Sudarsana Babu Nagineni
7af00a404f
[core] Include pixelRatio property in MapOptions
...
Move pixelRatio property from Map constructor to MapOptions.
2019-03-28 16:41:15 +02:00
Sudarsana Babu Nagineni
1cc1d4ea08
[core] Add setter/getter for size property in MapOptions
2019-03-28 16:41:15 +02:00
Bruno de Oliveira Abinader
d5868d3da8
[core] Remove file source from public Map ctor
2019-03-20 21:30:08 +02:00
Ander Conselvan de Oliveira
5733440747
[core] Group Map LatLngBounds, min and max zoom methods
...
Group bounds, minimum and maximum zoom related methods together using
the new BoundOptions.
v2: Document that getBounds() initializes all optional fields.
- Add test for getBounds() on a map with default values.
2019-03-14 18:33:11 +02:00
Ander Conselvan de Oliveira
7d19115720
[core] Don't use exceptions in MapObserver::onDidFailLoadingMap
...
Using different exception pointers to specify the loading failure makes
an awkward API. Most users rethrow the exception only to figure out what
type of error happened so it can be reported properly. So replace the
exception pointer with a enum an string description of the failure.
2019-03-13 11:58:27 +02:00
Sudarsana Babu Nagineni
5e2b6bf636
[core] Add MapOptions to define properties of Map
...
To simplify the Map constructor, introduce MapOptions
interface to define the properties that can be set on
a Map.
2019-03-08 18:20:55 +02:00
Bruno de Oliveira Abinader
586b22c0df
[core] Remove map coordinate setters/getters
2019-03-04 14:45:32 +02:00
Bruno de Oliveira Abinader
ba7427b4ac
[core] Transform{State}: s/angle/bearing/
2019-03-04 14:45:32 +02:00
Bruno de Oliveira Abinader
73ac3c784f
[core] Remove map bearing setters/getters
2019-03-04 14:45:32 +02:00
Bruno de Oliveira Abinader
21a39306da
[core] Remove map pitch setters/getters
2019-03-04 14:45:32 +02:00
Bruno de Oliveira Abinader
f5f10ec119
[core] Remove map zoom setters/getters
2019-03-04 14:45:32 +02:00
Łukasz Paczos
8ad13cd577
[android] expose symbol placement transition duration option
2019-02-04 14:52:14 +01:00
Łukasz Paczos
9604953d90
[android] rename required TransitionOptions field
2019-01-21 18:02:18 +01:00
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