Commit Graph

13539 Commits

Author SHA1 Message Date
Osana Babayan
dfeadc05e4 [android] deprecated annotations package (#13468) 2018-11-28 13:44:44 -05:00
Mikhail Pozdnyakov
ad03e42b28 [core] LayerManager can disable annotations
At the moment, the annotations implementation in the `mapbox-gl-native`
core is creating concrete layer instances apart from `LayerManager/LayerFactory`
code path.

So, annotations must be disabled if the `LayerManager` implementation does
not provide line, fill or symbol layers (those, used by the annotations).

Note: in future, annotations implementation will be moved from the core to the
platform SDK level(see https://github.com/mapbox/mapbox-plugins-android/tree/master/plugin-annotation)
and `LayerManager` won't need to disable it.
2018-11-28 17:18:38 +02:00
Konstantin Käfer
a0b8f01c1b [build] use newer compiler versions for some builds 2018-11-28 14:49:44 +01:00
Jason Wray
46edc91656 [ios] Reorganize iosapp debug settings 2018-11-27 14:39:41 -05:00
Jason Wray
c7f9f1582f [ios] Add frame duration graph view to iosapp 2018-11-27 14:39:29 -05:00
Bruno de Oliveira Abinader
f772a6392d [glfw] Use jumpTo() in the route demo 2018-11-27 21:38:36 +02:00
Bruno de Oliveira Abinader
20ca1a0418 [core] Cleanup Transform, use {jump,ease}To() instead 2018-11-27 21:38:36 +02:00
Bruno de Oliveira Abinader
e8f7866e9e [core] Remove error-prone setlatLng overload 2018-11-27 21:38:36 +02:00
Josh Erb
9d1d4ecdb8 [ios][documentation] link expression guide to NSExpression(MGLAdditions) 2018-11-27 12:51:41 -05:00
Mikhail Pozdnyakov
361982fef8 [core][Android][Darwin] LayerManager creates RenderLayer instances
`LayerManager` is now responsible for `RenderLayer` instances creation,
so that there is a single entry point for creating of objects, which
correspond to a certain layer type.

The `LayerType type` field is dropped from `Layer::Impl`.
2018-11-27 18:10:21 +02:00
Julian Rex
cca37e765b Updated Info.plist docs. (#13436) 2018-11-26 14:31:28 -05:00
Bruno de Oliveira Abinader
52cce7925d [core] Camera center and anchor points are mutually exclusive 2018-11-26 17:15:51 +02:00
Bruno de Oliveira Abinader
82be3104cd [core] Fix VectorTileFeature::getValue() semantics after geometry@v1.0.0 2018-11-26 12:43:13 +02:00
Bruno de Oliveira Abinader
f3b9a43b13 [build] Add Visual Studio Code ignores 2018-11-26 12:42:14 +02:00
Bruno de Oliveira Abinader
00c71c89cb [build] Set C++11 ABI on by default 2018-11-26 12:42:14 +02:00
Bruno de Oliveira Abinader
06a51713f6 [build] Set CMAKE_EXPORT_COMPILE_COMMANDS=ON by default 2018-11-26 12:42:14 +02:00
Chris Loer
4172076d92 [docs] Changelog entries for local font usage by MapSnapshotter 2018-11-24 09:57:32 -08:00
Chris Loer
0bba794e98 [android] Expose "local ideograph font family" in MapSnapshotter::Options
Use local glyph generation in test app's MapSnapshotterActivity.
2018-11-24 09:57:32 -08:00
Chris Loer
336409b861 [ios, macos] Pass program cache path and local font family config options to MGLMapSnapshotter. 2018-11-24 09:57:32 -08:00
Chris Loer
afdc243042 [core] Expose "local ideograph font family" in MapSnapshotter. 2018-11-24 09:57:32 -08:00
Julian Rex
6bb1e977ea [ios] Update podspecs for ios-v4.7.0-alpha.2 (#13434) 2018-11-21 15:23:56 -05:00
Osana Babayan
df2a81a4cd Changelog for 7.0.0-alpha.2 (#13433) 2018-11-21 14:27:39 -05:00
Julian Rex
fd4b470158 [ios] Adds support for MGLCollisionBehaviorPre4_0 in NSUserDefaults (#13426) 2018-11-21 13:56:41 -05:00
Minh Nguyễn
7d5be980e2 [core] Fixed {prefix} evaluation
This appears to have been an attempt to use the std::string fill constructor, but it ended up creating a one-character-long string and attempting to overwrite the null terminator.
2018-11-21 09:54:05 -08:00
Bruno de Oliveira Abinader
594d2074a3 [core] Let placement transitions use the transition duration, if set, and allow disabling them entirely 2018-11-21 16:43:20 +02:00
Bruno de Oliveira Abinader
5fb0b0c1bc [core] Let property evaluation transitions use the transition duration, if set 2018-11-21 16:43:20 +02:00
Steve
5c832c225f Add specific name logging in failure scenarios of PropertyValue
Hard to track down value/expression issues currently when they are not being named.
2018-11-21 13:32:54 +01:00
Tobrun
a89b6e51e2 [android] - use --info argument to show more detials during make test runs 2018-11-21 13:31:24 +01:00
Tobrun
66c91667f4 [android] - add overlay example with custom drawing using paint and canvas 2018-11-21 13:25:48 +01:00
Konstantin Käfer
f30429832e [build] use GLFW as a submodule and update to most recent version
this fixes https://github.com/glfw/glfw/issues/1334 for macOS Mojave
2018-11-21 10:12:59 +01:00
Julian Rex
53bbf9d699 [ios] Added teardown of core objects when receiving UIApplicationWillTerminateNotification (#13367) 2018-11-20 14:31:09 -05:00
Jason Wray
8b232f693d [darwin] Fix stray semicolon at end of method definition
Per -Wsemicolon-before-method-body.
2018-11-20 11:48:18 -05:00
Jason Wray
c17e74d457 [darwin] Don't redefine mbgl::style::GeoJSONOptions struct as a class
Per -Wmismatched-tags.
2018-11-20 11:48:18 -05:00
Jason Wray
950c7b75e6 [ios] Remove deprecated -[MGLMapView setDebugActive:] implementation 2018-11-20 11:48:18 -05:00
Jason Wray
ddcecdf7f7 [darwin] Rename variables to avoid shadow declarations
Per GCC_WARN_SHADOW.
2018-11-20 11:48:18 -05:00
Jason Wray
4519f8a867 [darwin] Fix typos in pragma diagnostic declarations
Per GCC_WARN_UNKNOWN_PRAGMAS.
2018-11-20 11:48:18 -05:00
Jason Wray
83ecb76562 [darwin] Fix GCC_WARN_SIGN_COMPARE warnings 2018-11-20 11:48:18 -05:00
Jason Wray
00d0864441 [darwin, build] Harmonize ios/macos/darwin build warnings with mbgl 2018-11-20 11:34:18 -05:00
Julian Rex
90f609ca8f [ios, macos] Added -(BOOL)[MGLStyle removeSource:error:] that provides an NSError. (#13399) 2018-11-20 10:26:09 -05:00
Łukasz Paczos
9ac444a08d [android] removing plain text getter for "text-field" 2018-11-20 12:22:16 +01:00
Łukasz Paczos
1d73bda00d [android] use locale sensitive DecimalFormat for color alpha conversion 2018-11-20 12:21:55 +01:00
Łukasz Paczos
c3c88012d3 [android] update map feedback URL 2018-11-20 12:21:28 +01:00
Łukasz Paczos
e08e143c12 [android] getting a constant layer filter fix 2018-11-20 12:20:50 +01:00
Julian Rex
d0520d02f1 [ios, macos] Enable CODEOWNERS for iOS/macOS/Darwin directories. (#13368) 2018-11-19 18:00:56 -05:00
Nadia Barbosa
569dc0d785 [ios] Don't pause camera animations when zoom/pitch/rotate/scroll are disabled
[ios] Move up code

[ios] Changelog

newline
2018-11-19 12:48:22 -08:00
Mikhail Pozdnyakov
8077055b1a [ios, macos] Layer manager for Darwin platforms
The newly introduced `MGLStyleLayerManager` is now responsible
for creating both style layer objects and their obj C peers on Darwin.
2018-11-19 22:31:20 +02:00
Mikhail Pozdnyakov
8ac87ec5cb Refactor util::fontStacks()
So that it does not downcast `Layer::Impl` instances.
Also, an unneeded `std::vector` construction was removed from
`Parser::fontStacks()`.
2018-11-19 17:16:54 +02:00
Alexander Shalamov
9592e61288 [core] Construct RenderItem objects in-place and remove unused headers 2018-11-19 14:06:21 +02:00
Alexander Shalamov
e59110d586 [core] Remove RenderLayer's is<> as<> methods 2018-11-19 14:06:21 +02:00
Alexander Shalamov
77911f1cc9 [core] Replace RenderSymbolLayer downcast with symbol interface 2018-11-19 14:06:21 +02:00