Commit Graph

1321 Commits

Author SHA1 Message Date
Minh Nguyễn
93ab5387d9 [android] Added Swedish localization from Transifex 2017-05-08 15:17:32 -07:00
John Firebaugh
baaae99a03 [core, android] Factor JSON string conversions
This adds a `convertJSON` template, to be used like:

   Error error
   optional<Foo> foo = convertJSON<Foo>(string, error);

Internally, it parses the string with RapidJSON and then calls `convert<Foo>(parsed, error)`.

While here, rationalize GeoJSON converters and fix error handling for Tileset conversion in OfflineDownload.
2017-05-08 13:48:57 -07:00
Tobrun
b622aed349 [android] - bump android support library, fixup SDK gradle dependencies to use the ones defined in root project. (#8921) 2017-05-08 17:30:15 +02:00
Tobrun
45545e15fc [android] - show error message when no browser is installed on the device of the user. (#8901) 2017-05-08 12:07:00 +02:00
Konstantin Käfer
fd104dd3c2 [core] Throw exceptions by value 2017-05-05 14:42:47 +02:00
Tobrun
1b16be409a [android] - only build custom layer for debug builds (#8885) 2017-05-04 11:13:54 +02:00
Tobrun
ab20413edf [android] - add 3D buildings example (#8845)
[android] - add support for filter for fillextrusionlayer.
2017-05-03 08:59:55 +02:00
John Firebaugh
c2b00378b7 [all] Push querySourceFeatures back out to Map
Once Source and RendererSource are split, Source will no longer have access to tiles.
2017-05-02 08:45:09 -07:00
Tobrun
a235032098 [android] - CHANGELOG.md update for release-v5.1.0-beta.1 (#8857) 2017-05-02 14:39:32 +02:00
Minh Nguyễn
50d99d7c4f [android] Added Lithuanian, Spanish, Vietnamese localizations from Transifex 2017-05-02 01:45:05 -07:00
Tobrun
1d955d330b [android] - warning log when attempting to update a non-added annotation (#8832) 2017-04-28 13:58:03 +02:00
Lauren Budorick
f6e79d7073 [core] Render fill-extrusion layers (#8431) 2017-04-27 15:56:55 -07:00
Tobrun
e33d71b55f [android] - share locationsource between locational components (#8825) 2017-04-26 16:03:56 +02:00
Tobrun
184cbda4e8 [android] - fix test app runtime permissions (#8823) 2017-04-26 12:16:38 +02:00
John Firebaugh
5dd98df50b [all] Rationalize style::Image
A style has a collection of images, just as it has collections of sources and layers.

* Name things appropriately
* Use std::unique_ptr
2017-04-24 15:52:28 -07:00
Tobrun
bc757b5a30 [android] - avoid calling MarkerViewClickListener twice (#8804) 2017-04-24 16:28:30 +02:00
Konstantin Käfer
197f0ca6b4 [android] use AAssetManager instead of libzip 2017-04-24 10:42:10 +02:00
Tobrun
eed7dedf03 [android] - rework instrumentation tests (#8793) 2017-04-21 23:07:19 +02:00
Tobrun
ed51462428 [android] - convert camera position values coming from core (#8794) 2017-04-21 19:15:26 +02:00
Pablo Guardiola
c6be40b71b [android] Add a way to use a custom location source (#8710)
* add a way to use a custom location source

* add custom location engine example to test app
2017-04-20 20:10:29 +02:00
Tobrun
07573932a9 [android] - move calculation of LatLngBounds to core (#8765) 2017-04-20 17:31:07 +02:00
Tobrun
86433dfd84 Harden telemetry event dispatch (#8767)
* [android] - harden telemetry event dispatch

* fixup
2017-04-20 16:18:35 +02:00
Tobrun
090677a905 [android] - set firsRender flag to false when destroying the surface (#8739) 2017-04-19 17:39:18 +02:00
Tobrun
553ec88dc0 [android] - expose source layer identifier (#8709) 2017-04-19 15:05:08 +02:00
Cameron Mace
9c1150cfe9 bumped MAS version (#8763) 2017-04-18 18:23:29 -07:00
Tobrun
589d71d7ad [android] - post resetting invalidation flag to avoid race condition (#8738) 2017-04-18 16:13:15 +02:00
Tobrun
8e9eaaabfc [android] - synchronize display and context initalisation with create surface to avoid EGL bad surface (#8759) 2017-04-18 16:12:27 +02:00
John Firebaugh
092da9c956 [core] Remove non-Map-dependent projection methods from Map 2017-04-18 14:43:31 +03:00
Bruno de Oliveira Abinader
2f4d162deb [core] Tighten geo.hpp ctors 2017-04-14 12:33:13 -07:00
Pablo Guardiola
cf8584538c remove duplicated resources (#8743) 2017-04-13 20:05:20 +02:00
John Firebaugh
f1c06f8d83 [all] Remove redundant scale-related camera methods
We don't need to have two different measurement systems for map zoom.
2017-04-13 10:28:44 -07:00
Pablo Guardiola
c8480491a6 add polygon holes and custom location source features to changelog (#8741) 2017-04-13 18:05:32 +02:00
Tobrun
f045559b14 [android] - derived source attribution (#8630) 2017-04-13 17:24:46 +02:00
Tobrun
21f54cc506 [android] - add binding integration for Map::setLatLngbounds, add example (#8622) 2017-04-13 16:06:09 +02:00
Pablo Guardiola
7a66ec6c5e refactor signature from Hole to List<LatLng> (#8722) 2017-04-12 17:45:33 +02:00
Fabian Guerra
12b6fdbe3b Merge branch 'release-ios-v3.5.0-android-v5.0.0' into boundsj-merge-release-branch
# Conflicts:
#	cmake/core-files.cmake
#	mapbox-gl-js
#	platform/android/CHANGELOG.md
#	platform/ios/CHANGELOG.md
#	platform/macos/CHANGELOG.md
#	platform/qt/bitrise-qt5.yml
#	src/mbgl/gl/attribute.hpp
#	src/mbgl/gl/context.cpp
#	src/mbgl/gl/program.hpp
#	src/mbgl/map/map.cpp
#	src/mbgl/programs/program.hpp
#	src/mbgl/renderer/painter.cpp
2017-04-11 21:46:23 -04:00
Pablo Guardiola
b71d86599d [android] Polygon holes (#8557)
* add 1 hole support to polygon-related classes

* fix no hole crash and add triangle hole shape example

* add support for multiple holes
2017-04-11 19:10:46 +02:00
Tobrun
d7f9378bca [android] - avoid nullpointer by validating Mapbox.java creation when validating accessTokens. (#8680) 2017-04-11 00:44:18 +02:00
Bruno de Oliveira Abinader
3ad527a59d [android] Recalculate source tile cache size when appropiate 2017-04-10 18:01:28 +03:00
Bruno de Oliveira Abinader
f1bcca1465 [android] Initialize NativeMapView with OpenGL ES 2.0 minimum texture size 2017-04-10 18:01:28 +03:00
Bruno de Oliveira Abinader
b25c8f043b [Qt] Sanitize QSize → mbgl::Size conversion 2017-04-10 18:01:28 +03:00
Pablo Guardiola
df22b614af add compass drawable initialization in ui settings (#8695) 2017-04-10 12:47:07 +02:00
Tobrun
62355bc860 [android] - disable building x86-64 on CI for snapshot builds (#8679)
* [android] - disable building x86-64 on CI for scheduled workflow. Broken with NDK14.

* corrected abis flag for gradle invocation

* add mips 64
2017-04-07 19:01:22 +02:00
Anand Thakker
693c9f3641 [core] Add DDS support for {text,icon}-size (#8593)
* Update gl-js and generate style code

* Factor out packUint8Pair() helper function

* Draft implementation of DDS for {text,icon}-size

Ports https://github.com/mapbox/mapbox-gl-js/pull/4455

* Fix text-size/composite-function-line-placement test

* Refactor to PaintPropertyBinders-like strategy

* Dedupe gl::Program construction

* Use exponential function base for interpolation

* Dedupe coveringZoomStops method

* Fixup tests

* Fix CI errors (hidden within #if block)
2017-04-06 15:29:59 -04:00
Antonio Zugaldia
f9cc044357 [android] Update LOST to latest version 2017-04-06 13:41:53 -04:00
John Firebaugh
16a2839e23 [all] Make LatLng coordinates read-only 2017-04-06 09:22:51 -07:00
John Firebaugh
a261f7ff53 [android] Preflight argument validity before constructing LatLng 2017-04-06 09:22:51 -07:00
Tobrun
b404457a74 [android] - apply mix/max zoom xml attributes (#8631) 2017-04-05 16:20:11 +02:00
Tobrun
e34b471842 Release android v5.0.2 (#8629)
* [android] - update CHANGELOG.md for v5.0.2 release

* [android] - bump version name to 5.0.2

* [android] - fixup javadoc errors

* bump SNAPSHOT version
2017-04-04 21:14:32 +02:00
Konstantin Käfer
f86333961e [core] cache binary shaders on Android 2017-04-03 11:01:43 -07:00