Ivo van Dongen
7b38ae3cc1
[android] custom layer example - remove dependencies on mbgl logging and string headers
2018-02-23 12:03:53 +02:00
Ivo van Dongen
9a3eb808cf
[android] custom layer example - add error checking to debug issues more easily
2018-02-23 12:03:53 +02:00
Ivo van Dongen
5fc3d4ab1e
[android] custom layer example - fix fragment shader source for opengl es 2 phones
2018-02-23 12:03:53 +02:00
Łukasz Paczos
fcf5fa6bbb
[android] expose ImageSource coordinates setter ( #11262 )
2018-02-22 10:01:48 +01:00
Osana Babayan
c2d9d6a423
[android] jni clean up - missing a couple DeleteLocalRef
2018-02-21 11:01:56 -05:00
Tobrun
06213d9145
[android] - add instrumentation tests for FileSource activation/deactivation
2018-02-20 15:42:17 +01:00
Osana Babayan
d0f66b132f
[android] added missing delete local references
2018-02-19 12:08:35 -05:00
Vladimir Agafonkin
82de856c94
[core, ios, macos, android, node] Heatmap layer ( #11046 )
...
Co-Authored-By: Konstantin Käfer <mail@kkaefer.com >
Co-Authored-By: Anand Thakker <anandthakker@users.noreply.github.com >
Co-Authored-By: Minh Nguyễn <1ec5@users.noreply.github.com >
2018-02-15 17:38:23 +02: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
Osana Babayan
4498917a3b
migrated to use mapbox-java3.0
...
migrated to use mapbox-java3.0
note that old 2.2.9 telementry is still used though
2018-02-08 08:44:24 -05:00
Asheem Mamoowala
6c5e457590
Add options for Custom Geometry Source types to enable clipping and wrapping geometry ( #11041 )
2018-02-07 12:07:31 -08:00
Konstantin Käfer
78f8fd88b4
[core] factor out RunLoop::wake()
2018-02-06 18:49:06 +01:00
Erol Baykal
23b413483d
[Android] fix typo in custom layer example
2018-02-05 10:51:23 +01:00
Tobrun
a4546a84de
[android] - add binding integration for RasterDEMSource, add example
2018-01-25 12:54:10 +01:00
Konstantin Käfer
2502a3ab2b
[core] update mapbox-gl-js submodule pin
...
* disables transition render test (transitions are not supported with Still image rendering in Node.js)
* removes support for hillshade-illumniation-direction-transition
2018-01-24 15:41:22 -08:00
Molly Lloyd
f3294200c6
[core] add raster-dem source type and hillshade layer type ( #10642 )
2018-01-23 10:49:23 -08:00
tobrun
068d2f267f
[android] - fix code generation, remove lamda, fixup color conversion locale
2018-01-09 17:04:44 +01:00
Asheem Mamoowala
bee60130d3
[android] Add Configuration hook for local ideograph font family and demo activity
2017-12-11 10:43:00 -08:00
Chris Loer
00ed34f7d7
[android] Android implementation of local CJK glyph rendering
...
- Draws bold version of glyph if font stack contains string "bold"
- Not hooked up to global configuration yet
2017-12-11 10:43:00 -08:00
Tobrun
c311e69e0e
[android] - add FileSource activation/deactivation to MapSnapshotter, handle multiple deactivate scenario in FileSource ( #10556 )
2017-12-06 11:51:33 +01:00
Konstantin Käfer
2eec5a1980
[core] move HeadlessBackend extension initialization code into Impl
2017-11-29 15:48:51 +01:00
Chris Loer
5da5ba7706
[core, ios, qt, android] Close race condition in RunLoop (issue #9620 )
...
Because a message we queue from the foreground may cause the background to complete, exit, and tear down the AsyncTask, we have to block queue processing until we've finished our call to AsyncTask::send().
Broadening the scope of a mutex is scary, but I audited the code of our four implementations of AsyncTask and I don't see any way this could cause a deadlock.
2017-11-27 14:42:44 -08:00
Asheem Mamoowala
e2702c76ea
[android] Use inherited javaPeer in CustomGeometrySource C++ peer
2017-11-22 13:56:38 -08: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
Asheem Mamoowala
eb6de2c434
[android] Bindings for Custom Geometry Sources
2017-11-22 13:56:38 -08:00
Tobrun
225fba8a0a
Merge branch 'release-agua' into tvn-merge-release
2017-11-10 06:16:35 +01:00
Ivo van Dongen
c30161e4c8
[android] MapRendererRunnable - avoid weak reference table overflow
...
Apparently on some devices the weak reference table is limited (numbers around 52000). Even though we don't use that many weak references, when GC is not called for a while they can stack up and a crash will occur before the GC has had the time to clear the references. The C++ peer now holds on to a global ref (strong) which can be obtained to queue the java peer and then release automatically so that the GC can take over after the runnable has been executed.
2017-11-09 15:24:34 +02:00
Tobrun
cb7f6dfaec
[android] - make snapshot logo optional
2017-11-01 14:56:37 -07:00
Ivo van Dongen
0c5e15e21e
[android] map snapshotter - expose attributions
2017-11-01 09:23:53 -04:00
Ivo van Dongen
9c3e78a9b9
[android] map snapshotter - wrap snapshot in native peer for access to the pointFor functionality
2017-11-01 09:23:53 -04:00
Ivo van Dongen
fd3587608b
[android] map snapshotter - add mutators
2017-11-01 09:23:53 -04:00
Tobrun
c61ccb30e9
[android] - make snapshot logo optional
2017-11-01 03:17:22 -07:00
Tobrun
f578b26282
[android] - add bulk addImages api on MapboxMap
2017-10-31 13:47:12 -07:00
Ivo van Dongen
e0a305247a
[android] map snapshotter - expose attributions
2017-10-31 19:52:08 +02:00
Ivo van Dongen
dde1a92291
[android] map snapshotter - wrap snapshot in native peer for access to the pointFor functionality
2017-10-31 19:52:08 +02:00
Ivo van Dongen
7481d317e7
[android] map snapshotter - add mutators
2017-10-31 19:52:08 +02:00
Tobrun
5893af7f24
[android] - move shape annotation click handling to core
2017-10-30 09:34:23 -07:00
John Firebaugh
4b2e1cddb4
Replace compile-time polymorphism with runtime polymorphism in the conversion system
2017-10-23 09:56:43 -07:00
Tobrun Van Nuland
d95079a0f9
[android] - use FileSource pause and resume when foregrounding/backgrounding app
2017-10-17 17:22:29 +02: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
Asheem Mamoowala
9e79659007
[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 11:42:37 -07:00
Ivo van Dongen
779fc8aeee
[android] example custom layer - add context lost callback
2017-09-22 23:33:56 +03:00
Ivo van Dongen
d1e69c8baf
[android] CustomLayer - optionally accept a context lost callback function
2017-09-22 23:33:56 +03:00
Ivo van Dongen
b0c06c764b
[android] re-implemented the fps listener api
2017-09-22 23:33:56 +03:00
Ivo van Dongen
18bb6da109
[android] reset renderer on the GL thread when map is destroyed
...
- ensures cleanup of resources on the right thread
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
8182b26dfe
[android] signal renderer when gl surface is re-initialized that gl context is lost
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