Commit Graph

249 Commits

Author SHA1 Message Date
Tobrun
d47eab05f6 [android] - restore LatLngBounds conversion, add regression test (#9324) 2017-06-21 15:43:02 +02:00
Tobrun
5716bd3aec [android] - add binding support for Light (#9013) 2017-05-26 16:04:09 +02:00
Tobrun
8199315e9d [android] - LatLngBounds bearing default value (#9102) 2017-05-24 20:39:42 +02:00
Tobrun
71b6865172 [android] - horizontally rotated in snapshot (#9083) 2017-05-23 17:14:18 +02:00
Tobrun
4d8625b13c [android] - correct bearing conversion when animating the map with jumpTo, easeTo and animateTo. (#9050) 2017-05-19 20:38:23 +02:00
Tobrun
a68788a2cf [android] Release android-v5.1.0-beta.2 (#8976)
* [android] url getter on sources

* [android] fix ui test filter in makefile

* [android] - build SNAPSHOT from release branch (#8958)

* [android] - update changelog for 5.1.0-beta.2

* [android] - bump version number

* [android] - Camera change listener v2.0

* [core] allow filesource url transform reset

* [android] Update attribution wordmark (#8774)

* Update wordmark on android

* Moved attribution i icon to the right of mapbox word (in mapview preview image)

* update padding and margin

* [android] update hardcoded branch name

* revert version to 5.1.0-SNAPSHOT
2017-05-12 14:07:06 -04: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
Konstantin Käfer
fd104dd3c2 [core] Throw exceptions by value 2017-05-05 14:42:47 +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
Lauren Budorick
f6e79d7073 [core] Render fill-extrusion layers (#8431) 2017-04-27 15:56:55 -07: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
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
Tobrun
07573932a9 [android] - move calculation of LatLngBounds to core (#8765) 2017-04-20 17:31:07 +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
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
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
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
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
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
John Firebaugh
16a2839e23 [all] Make LatLng coordinates read-only 2017-04-06 09:22:51 -07:00
Konstantin Käfer
b2570b909b [android] Fix implicit geometry conversions for NDK r13b 2017-04-03 10:54:47 +02:00
Tobrun
939526bac4 [android] - transition options for layer properties (#8509)
[android] fixup highlevel bindings for transition options

finish integration
2017-03-31 17:51:26 +02:00
Ivo van Dongen
8aa625bf96 [android] execute resource transform callback on the right thread 2017-03-30 15:27:05 +03:00
Tobrun
a4959131b2 [android] - transition options in milliseconds, added test cases, fixup test activity code (#8576) 2017-03-30 13:25:56 +02:00
Tobrun
152b48fd92 [android] - consitent use of ms unit for time in java code, unit conversion always happens in cpp code (#8578) 2017-03-30 13:25:42 +02:00
Ivo van Dongen
02fd38ccbc [android] add option to set geometry and feature on geojson source 2017-03-28 15:44:22 +03:00
Ivo van Dongen
fa7489fb7e [android] geojson conversion optimisation 2017-03-28 15:44:22 +03:00
Konstantin Käfer
a84aa453a9 [core] Privatize OpenGL/Context headers 2017-03-28 13:53:19 +02:00
Konstantin Käfer
f436913550 [android] Remove public usage of private util/thread.hpp header 2017-03-28 13:53:19 +02:00
Bruno de Oliveira Abinader
9b39013ce4 [core] Internalize rapidjson.hpp 2017-03-28 13:53:19 +02:00
Ivo van Dongen
e1a9a468a9 [android] use more appropriate numeric types for filter conversion 2017-03-28 14:43:23 +03:00
Konstantin Käfer
234384ece9 [core] Move OpenGL extension initialization to Backend 2017-03-23 14:50:11 -07:00
John Firebaugh
d7227e13a7 [all] Replace Result<T> with optional<T> plus out Error parameter 2017-03-23 13:31:13 -07:00
Konstantin Käfer
3c91b6b7de [core] cache binary shaders on Android 2017-03-22 15:59:10 +01:00
John Firebaugh
e488ca702e Merge branch 'release-ios-v3.5.0-android-v5.0.0' 2017-03-21 12:04:20 -07:00
Bruno de Oliveira Abinader
51aa6ccfd3 [android] Updated MapObserver::onSourceChanged 2017-03-21 17:36:56 +02:00
Bruno de Oliveira Abinader
e7c1ba2edf [android] Update changes in MapObserver::onDidFailLoadingMap 2017-03-17 11:25:48 +02:00
Bruno de Oliveira Abinader
a07e6aee04 [android] Support mbgl::MapObserver 2017-03-15 14:53:32 +02:00
Ivo van Dongen
a3121fc7a3 [android] query source features 2017-03-10 11:08:32 -08:00
Tobrun
ed16a7d632 [android] - zoom to rounded levels 2017-03-10 09:37:00 -08:00
Ivo van Dongen
b2b5f9e571 [android] query source features 2017-03-09 13:11:23 -08:00
Ivo van Dongen
b5d0a661c5 [android] Add support for queryRenderedFeatures filter 2017-03-04 15:42:07 -08:00
Asheem Mamoowala
60d10dd27d [core] Add support for queryRenderedFeatures filter 2017-03-04 15:42:07 -08:00