Commit Graph

72 Commits

Author SHA1 Message Date
John Firebaugh
cc1ea759a6 [core, node, darwin, android, qt] Make image ID part of Image
More like Source and Layer.
2017-05-16 12:26:35 -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
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
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
21f54cc506 [android] - add binding integration for Map::setLatLngbounds, add example (#8622) 2017-04-13 16:06:09 +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
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
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
234384ece9 [core] Move OpenGL extension initialization to Backend 2017-03-23 14:50:11 -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
Tobrun
34fef22d95 [core] [android] - allow zooming/scaling to use AnimationOptions (#8181)
[glfw] - allow glfw binding to use AnimationOptions instead of using direction directly
2017-02-28 13:22:47 -05:00
Ivo van Dongen
99786e1e3f [android] insert layer at index 2017-02-28 09:33:04 -08:00
Ivo van Dongen
a9d2929819 [android] remove layer at index 2017-02-28 09:33:04 -08:00
Ivo van Dongen
dc21396d71 [android] insert layer above 2017-02-28 09:33:04 -08:00
Ivo van Dongen
3040d40772 [android] remove source returns reference 2017-02-28 09:33:04 -08:00
Ivo van Dongen
609cdb0fd7 [android] fix ownership of style layer after delete 2017-02-28 09:33:04 -08:00
Ivo van Dongen
f0de56cffa [android] source list accessor + example 2017-02-28 09:33:04 -08:00
Ivo van Dongen
ec1dc2622b [android] layer list accessor + example 2017-02-28 09:33:04 -08:00
Ivo van Dongen
465c949153 [android] jni high level binding refactor 2017-02-24 17:54:20 +02:00
John Firebaugh
694159c49e [core] Nestable BackendScope 2017-02-20 12:04:21 -08:00
Konstantin Käfer
3ef9e26593 [ios,macos,android,qt] use shared threadpool 2017-02-20 19:26:06 +01:00
Konstantin Käfer
c86e38e303 [android] use shared DefaultFileSource for all maps + OfflineManager 2017-02-20 14:36:27 +01:00
Konstantin Käfer
4d35826014 [android] use native image encoding and decoding 2017-01-27 18:45:16 +01:00
Tobrun
f1c3cfb7e2 [android] - remove redundant log statements in native_map_view.cpp (#7801) 2017-01-23 12:22:58 +01:00
Ivo van Dongen
c76a933514 [core] use raii to guard backend deactivation 2016-12-12 09:05:23 -05:00
Konstantin Käfer
e76de05402 [build] move logging to util 2016-11-22 20:58:51 +01:00
Bruno de Oliveira Abinader
1c79147a84 [android] Update GLSL + ensure binding to OpenGL ES 2.0 2016-11-14 17:45:22 +01:00
Konstantin Käfer
108a28faa8 [android] update viewport size when framebuffer size changed 2016-11-10 17:04:18 +01:00
Konstantin Käfer
29c5c13aa2 [core] move OpenGL debug information printing to core 2016-11-04 21:24:05 +01:00
Konstantin Käfer
c90a559599 [core] move framebuffer reading to gl::Context 2016-11-04 21:24:05 +01:00
Konstantin Käfer
f7801e5d82 [core] correctly set the framebuffer size on retina screens
Also asserts in Debug mode that the internal state and the OpenGL state are identical
2016-11-01 10:46:04 +01:00
Konstantin Käfer
62b56b799a [core] change std::array<uint16_t, 2> to mbgl::Size 2016-10-27 18:30:58 -07:00
Konstantin Käfer
a4d259c33f [core] move gl::Context to Backend and refactor View 2016-10-25 13:52:36 -07:00
Konstantin Käfer
5cc390d694 [core] separate Backend from View for headless rendering 2016-10-25 13:52:36 -07:00