Commit Graph

4652 Commits

Author SHA1 Message Date
Bruno de Oliveira Abinader
a339dcc6cc [Qt] Do not assume viewport size == fbo size in Qt4 2017-11-09 16:13:05 +02:00
Bruno de Oliveira Abinader
12f69ae14a [Qt] Call QNetworkReply::readAll() only once 2017-11-09 16:13:05 +02:00
Bruno de Oliveira Abinader
7936c138fe [Qt] Call QSqlQuery::finish() when inactive 2017-11-09 16:13:05 +02:00
Bruno de Oliveira Abinader
ca73bbc9be [Qt] Do not store QSqlDatabase 2017-11-09 16:13:05 +02:00
Bruno de Oliveira Abinader
2b03d6e805 [Qt] Qt SQLite driver has no setForwardOnly support 2017-11-09 16:13:05 +02: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
Ivo van Dongen
43f89d6b6a [android] fix map snapshotter marker example
The reference to the MapSnapshotter needs to be held for the duration of the snapshot, otherwise it might be GC'd
2017-11-09 15:24:15 +02:00
Pablo Guardiola
cec7d12e37 [android] revert adding mapbox-android-core dependency (#10354) (#10380) 2017-11-09 12:43:28 +01:00
Anand Thakker
f648cfeef6 Implement Expressions (#9439)
Ports https://github.com/mapbox/mapbox-gl-js/pull/4777 (and its several follow-ups)
2017-11-08 12:34:02 -05:00
Tobrun
9aac976104 [android] - update getting started documentation 2017-11-03 17:44:29 -07:00
Ivo van Dongen
c24721103d [android] TextureView - cleanup destruction code 2017-11-03 12:31:44 +02:00
Ivo van Dongen
1970a94695 [android] test app - texture view test activities 2017-11-02 19:55:46 +02:00
Ivo van Dongen
8671b834b4 [android] bring back texture view 2017-11-02 19:55:46 +02:00
Ivo van Dongen
efc776e4f9 [android] texture view map renderer 2017-11-02 19:55:46 +02:00
Ivo van Dongen
0fb2629a37 [android] move egl under renderer package 2017-11-02 19:55:46 +02:00
Ivo van Dongen
b30ec535bf [android] encapsulate gl surfaceview rendering specifics in map renderer subclass
- preparation for re-introduction of texture view
2017-11-02 19:55:46 +02:00
Pablo Guardiola
f13a8b0afa [android] make location provider optional (#9488) 2017-11-01 17:12:12 -07:00
Tobrun
ae1ada3b2b [android] - check for possitive animation duration 2017-11-01 13:57:55 -07:00
Bruno de Oliveira Abinader
388610d6aa [core] Expose GLContextMode in HeadlessFrontend 2017-11-01 17:45:37 +02:00
Bruno de Oliveira Abinader
1262659b8d [core] Move GLContextMode to its own Renderer header 2017-11-01 17:45:37 +02:00
Tobrun
53e61fa71b [android] - add logo resize to MapSnapshotter 2017-11-01 03:17:45 -07:00
Tobrun
c61ccb30e9 [android] - make snapshot logo optional 2017-11-01 03:17:22 -07:00
Ivo van Dongen
a42455c56a [darwin] MGLMapSnapshot - add missing EXPORT 2017-11-01 10:46:23 +02:00
Tobrun
56c2af5670 [android] - rework ease interactions to take in account possitve duration requirement 2017-10-31 15:28:19 -07:00
Ivo van Dongen
e0a305247a [android] map snapshotter - expose attributions 2017-10-31 19:52:08 +02:00
Ivo van Dongen
2d81186fc1 [darwin] map snapshotter - expose attributions 2017-10-31 19:52:08 +02:00
Ivo van Dongen
2c0c516354 [core] map snapshotter - add attributions to snapshotter callback 2017-10-31 19:52:08 +02:00
Ivo van Dongen
3cdb249c70 [darwin][ios][macos] map snapshotter - add MGLMapSnapshot wrapper 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
87b735aaf7 [default] map snapshotter - add function to get screen coordinate from latlng for snapshot
- Wraps the TransformState for the snapshot so that the snapshotter itself is free to be re-used or destroyed
2017-10-31 19:52:08 +02:00
Ivo van Dongen
316f2bed4b [default] headless frontend - allow access to the transform state 2017-10-31 19:52:08 +02:00
Ivo van Dongen
334dde0d76 [darwin] map snapshotter - snapshotter mutability 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
Ivo van Dongen
d37144d2f8 [core] map snapshotter - add mutators 2017-10-31 19:52:08 +02:00
Thiago Marcos P. Santos
a815c16ab3 [qt] Fix build on some archs
When building for certain platforms, don't redefine OpenGL constants
we use.
2017-10-31 15:58:59 +02:00
Osana Babayan
8c716fde96 [android] MapboxMap.animate() and Mapbox.easeCamera() should throw IllegalArgument (#10321)
if non-positive duration is passed in
2017-10-30 16:48:56 -07:00
Langston Smith
484c04a924 Update README.md with snapshot info (#9636)
* Update README.md

* spacing fix

* Added build.gradle root folder code

* added make aproj instructions

* snapshot info tweak

* text reorder

* small tweak
2017-10-26 13:04:55 -07:00
Anand Thakker
424ba0d9de Add support for 'sleep' operation in render tests (#10282)
Ports 0069349550
2017-10-25 16:36:43 -04:00
Jesse Bounds
aad26419b4 [ios] Move scale bar content size invalidation to map view 2017-10-25 12:44:41 -07:00
Thiago Marcos P. Santos
f7426a4253 [Qt] Use QOpenGLFunctions for Qt5
Do not link directly with OpenGL, so we load it using Qt5. Also,
always build for OpenGL ES2 which is the compatibilty mode that
should work on all platforms supported by Qt5.
2017-10-25 18:08:28 +03:00
Thiago Marcos P. Santos
9d87dc8cf1 [core] Make the OpenGL implementation platform specific
Split the headers, so each platform includes the most appropriated
header.
2017-10-25 18:08:28 +03:00
Lindsay Young
5fa4790fdc [docs] updating ios & android install links (#10246)
* updating ios & android install links

* updating iOS custom builds page to link to iOS installtion

* updating copy
2017-10-24 14:20:33 -07:00
Chris Loer
f6c8dcbf39 Enable native test for text-keep-upright with text-offset.
Issue #9271 was fixed as part of PR #9009.
2017-10-24 14:17:30 -07:00
John Firebaugh
4b2e1cddb4 Replace compile-time polymorphism with runtime polymorphism in the conversion system 2017-10-23 09:56:43 -07:00
Bruno de Oliveira Abinader
bb58ddaea8 [node] Release v3.5.8 (#10243) 2017-10-20 01:27:26 +02:00
Bruno de Oliveira Abinader
8acb78ee79 [node] Reset HeadlessFrontend in NodeMap::release() 2017-10-20 01:27:26 +02:00
Jason Wray
8877fb5277 [ios, build] Fix nightly build on bitrise by installing pip 2017-10-18 18:05:20 -04:00
Anand Thakker
b8654b3b04 [core] Move SourceType to the 'style' namespace 2017-10-16 16:32:53 -07:00
Lauren Budorick
e43e2aa3d7 [core, node] Support axonometric rendering 2017-10-14 03:15:34 +02:00
Lauren Budorick
98bb8613c3 Ignore raster-masking/overlapping-zoom 2017-10-14 01:34:19 +02:00