Commit Graph

4646 Commits

Author SHA1 Message Date
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
Lauren Budorick
2166b8577b Skip expression-based runtime styling test 2017-10-13 22:11:30 +02:00
Lauren Budorick
057cc80fc4 Add ignore for expression-based regression test 2017-10-12 14:04:43 +02:00
Konstantin Käfer
f4cb3b8a4f [core] make forcing cache/network only more explicit
Previously, we used the existence of a `prior*` field in the Resource object as an indication for whether we should consult the cache or not. However, this is prone to error, since a failed cache lookup won't set any prior fields. Therefore, we manually set `priorExpires` to 0. This in turn triggered another bug where generated wrong expiration timestamps when the server response we got was expired (or expired between sending and receiving).

This commit changes the flags so that we can now explicitly request CacheOnly/NetworkOnly (or All) loading methods, rather than the implicit Optional/Required naming scheme.
2017-10-12 10:41:49 +02:00
Asheem Mamoowala
98a47884f0 [ios, macos] Use CLLocationDirection for direction parameter in -[MGLMapView cameraThatFitsShape:shape direction: edgePadding:] 2017-10-09 17:12:27 -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
Bruno de Oliveira Abinader
6cf153a6de [node] Release v3.5.7 (#10164) 2017-10-09 19:43:57 +03:00