Commit Graph

10490 Commits

Author SHA1 Message Date
Bruno de Oliveira Abinader
9be076ffe9 [build] Fix 'Command not found' message on Linux 2017-04-27 18:45:56 +03:00
John Firebaugh
1c42daa152 [core] Tweak handling of annotation special case SpriteAtlas
* Simplify SymbolLayout; it never needs to care about more than one SpriteAtlas.
* Move the reference from SymbolLayer::Impl to SymbolBucket. This is a prerequisite for making layer Impls immutable.
2017-04-26 16:29:44 -07:00
Jordan Kiley
ea0e45b401 [ios] swapped link for circle layer example (#8818) 2017-04-26 09:25:07 -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
Ivo van Dongen
3c175adf30 [core] split off render layers 2017-04-25 17:23:54 -07:00
Tobrun
ea8ec38df1 [android] - fix publish snapshot step (#8815) 2017-04-25 17:31:06 +02:00
Jordan Kiley
a87fd1a918 [ios, macos] Bumped recommended Xcode version >=8.0 (#8775) 2017-04-24 17:04:42 -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
Minh Nguyễn
6f708ac545 [ios, macos] Update MGLMapView logo view (#8771)
* [ios, macos] Updated logo view to new Mapbox logo

* [default] Updated attribution logo SVG
2017-04-24 13:31:22 -04:00
Bobby Sudekum
42c308fd8f Release node v3.5.0 (#8785) 2017-04-24 10:22:17 -07:00
Vladimir Agafonkin
0079d6173b [core] fix an issue with lines that have duplicate points (#8808)
An equivalent of https://github.com/mapbox/mapbox-gl-js/pull/4634.
2017-04-24 18:53:20 +03:00
Tobrun
bc757b5a30 [android] - avoid calling MarkerViewClickListener twice (#8804) 2017-04-24 16:28:30 +02:00
Konstantin Käfer
59055cf403 [core] Move Sprite parsing to thread pool 2017-04-24 10:42:47 +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
Justin R. Miller
43cc8dbdb8 [ios] fixes #8522: don't alter tint color on annotation views (#8789) 2017-04-21 11:50:34 -07:00
Tobrun
ed51462428 [android] - convert camera position values coming from core (#8794) 2017-04-21 19:15:26 +02:00
John Firebaugh
3c23faf65a [core] More complete fix for composite function interpolation edge case
b5b4549 / #8613 handled the edge case for layout properties, but not paint properties. Move the check for a degenerate range to interpolationFactor in order to handle both correctly.
2017-04-20 16:11:57 -07: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
Konstantin Käfer
97f2a44859 [core] remove unused leftover files 2017-04-20 20:04:33 +02:00
Minh Nguyễn
0d1d0efd60 [qt] Bring back icon.png 2017-04-20 11:46:50 -04:00
Minh Nguyễn
40508a1763 [common] Updated original SVG icons 2017-04-20 11:46:50 -04:00
Minh Nguyễn
cab23fc05a [macos] Updated macosapp application iconset 2017-04-20 11:46:50 -04:00
Thiago Marcos P. Santos
1470ee7db6 [node] Add test for request not found 2017-04-20 18:46:35 +03:00
Thiago Marcos P. Santos
51ebb96b1d [node] Add map.cancel()
Cancels an ongoing rendering.
2017-04-20 18:46:35 +03:00
Thiago Marcos P. Santos
d767545f72 [node] Benchmark/stress test
Tries to simulate the workload from api-gl.
2017-04-20 18:46:35 +03:00
Thiago Marcos P. Santos
761cd136a8 [node] Add request failure tests
Test for timeout and when the request fails.
2017-04-20 18:46:35 +03: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
Konstantin Käfer
9a9408e811 [core] Render parent raster tiles when ideal tile can't be loaded 2017-04-20 09:38:18 +02:00
Ivo van Dongen
7ddca3b611 [core] account for property functions in query rendered features 2017-04-19 17:21:28 -07:00
Ivo van Dongen
d752235ec7 [core] make Tile::getBucket const 2017-04-19 17:21:28 -07:00
Ivo van Dongen
935cf531e4 [core] property function statistics collection 2017-04-19 17:21:28 -07:00
Eric Wolfe
1ca8f4e2f3 [ios][macos] Updated Mapbox logo in documentation 2017-04-19 17:21:18 -07:00
Tobrun
090677a905 [android] - set firsRender flag to false when destroying the surface (#8739) 2017-04-19 17:39:18 +02:00
Minh Nguyễn
fdee13b429 [common] Updated original application SVG icon
Also deleted an unused, white-on-clear application icon.
2017-04-19 11:25:31 -04:00
Minh Nguyễn
9d1bace3ce [ios] Updated iosapp application iconset 2017-04-19 11:25:31 -04:00
John Firebaugh
c7e6dc4832 [macos] Fix pinch gesture scaling math 2017-04-19 08:01:25 -07: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
John Firebaugh
efa6c01956 [core] Remove unnecessary Source::Impl::enabled assignment
This flag will get set automatically by Style::recalculate.
2017-04-18 08:49:57 -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
ddecdeca94 [core] Move ProjectedMeters to projection.hpp 2017-04-18 14:43:31 +03:00
John Firebaugh
092da9c956 [core] Remove non-Map-dependent projection methods from Map 2017-04-18 14:43:31 +03:00
Fredrik Karlsson
8eb23cbac8 [ios] Scale bar (#7631)
* [ios] added a scale bar

* [ios] update design

* [ios] show/hide scale bar

* [ios] Remove the need to localize 0

* [ios] Support for imperial units

* [ios] Round to nearest foot

* [ios] Make scale bar private

* [ios] Update design and clean up

* [ios] Rename and various optimizations

* [ios] RTL support

* [ios] added max scale and removed animations

* [ios] animate scale bar
2017-04-16 17:24:17 +02:00
John Firebaugh
fcf5d1b8af [core] Combine two GlyphID-keyed maps in GlyphAtlas::Entry 2017-04-14 15:39:31 -07:00
John Firebaugh
a50d7a331b [core] Replace GlyphRangeSet in onGlyphsAvailable with optionals in the map
GlyphRangeSet isn't keyed by FontStack, so using it to indicate that a particular range was loaded could have produced false positives.
2017-04-14 15:39:31 -07:00
Bruno de Oliveira Abinader
09a2271576 [core] Ignore shortest path in Map::pixelForLatLng 2017-04-14 12:52:20 -07:00