Commit Graph

10164 Commits

Author SHA1 Message Date
Antonio Zugaldia
6c6e895b23 [android] [auto] Update properties to version 5.0.0-beta.3 in preparation for build. 2017-03-10 13:48:56 -08:00
Fabian Guerra Soto
20712b7c84 Per-attribute transition properties on MGLStyleLayer (#8225)
* [ios, macos] new struct MGLTransition

* [ios] MGLTransition struct moved to MGLTypes.h

* [ios] MGLTransition implemented for style layer properties

* [ios, macos] added support for getting property transitions

* [ios, macos] updated to MGLDurationFromTimeInterval and MGLTimeIntervalFromDuration

* [ios, macos] added transition properties test

* [ios, macos] modified key strings imp

* [ios, macos] The impl for transition properties were changed to public methods

* [ios, macos] Changelog update

* [ios] Fixed layer space formatting

* [core] The name space was fixed for getters that returned TransitionOptions

* [ios, macos] Added rawLayer transition property tests

* [ios] Added a factory method for MGLTransition and transition-related methods to NSValue(MGLAdditions)

* [ios, macos] Copyedited changelog blurbs about transition properties
2017-03-10 11:33:31 -08:00
Minh Nguyễn
4a0ce1365f [ios, macos] Copyedited changelog blurb about source querying 2017-03-10 11:08:32 -08:00
Ivo van Dongen
a3121fc7a3 [android] query source features 2017-03-10 11:08:32 -08:00
Ivo van Dongen
a7fd788b5d [macos, ios] query source features 2017-03-10 11:08:32 -08:00
Ivo van Dongen
517659b1b4 [core] query source features 2017-03-10 11:08:32 -08:00
Ivo van Dongen
4d325879b8 [core] rename query options for query rendered features 2017-03-10 11:08:32 -08:00
Minh Nguyễn
d82092d606 [ios, macos] Fixed camera function exception message
This exception message had a typo; developers would’ve been advised to use a method that doesn’t exist, due to case sensitivity. Moreover, the method has been renamed since this message was written.
2017-03-10 10:22:44 -08:00
Tobrun
ed16a7d632 [android] - zoom to rounded levels 2017-03-10 09:37:00 -08:00
Minh Nguyễn
2581af3cb6 [ios, macos] Update changelogs for v3.5.0-beta.3 (#8343)
* [ios, macos] Updated changelogs

Mentioned #8298, #8139. Copyedited recent additions.

* [ios, macos] Reorganized changelogs
2017-03-10 08:20:04 -08:00
Konstantin Käfer
e9cf787779 [darwin] Use explicit initialization rather than global static variables for the default RunLoop
When linking Mapbox GL as a static library, the object file (MGLFoundation.o) containing the global static variable initialization was not linked into the resulting binary since it was not referenced. This resulted in the RunLoop not being initialized in the main thread.

Reverts 03a14ff000
2017-03-10 06:48:42 -08:00
Antonio Zugaldia
01f126cbc6 [android] remove unnecessary manifest permissions 2017-03-09 18:30:03 -08:00
Antonio Zugaldia
359507345d [android] remove unnecessary manifest inclusion 2017-03-09 18:30:03 -08:00
Antonio Zugaldia
8d5e86dd1f [android] Include the telemetry service to simplify set up 2017-03-09 18:30:03 -08:00
Tobrun
d1e50b3ab8 [android] - add style loading callback (#8291)
* [android] - add style loading callback that is invoked when a style finishes loading.

* fixup language + add support for adding a callback when invoking setStyle with the default styles.
2017-03-09 17:20:56 -08:00
Tobrun
803c1c46fe [android] - harden mapZoomButtonController to avoid null pointer exceptions (#8332) 2017-03-09 17:20:44 -08:00
Tobrun
1693b389d7 [android] - move touch handling of MarkerViews back to View#setOnClickListener. Workaround panning issue by dispatching touch events to the parent ViewGroup. (#8272) 2017-03-09 16:59:10 -08:00
Antonio Zugaldia
b8283e838e [android] renames MultiPoint to BasePointCollection 2017-03-09 15:44:27 -08:00
Antonio Zugaldia
495d73d187 [android] fix checkstyle 2017-03-09 15:44:07 -08:00
Antonio Zugaldia
c533b7077d [android] update version to local package build config 2017-03-09 15:44:07 -08:00
Antonio Zugaldia
4ca65b9701 [android] set user agent on initialization 2017-03-09 15:44:07 -08:00
Antonio Zugaldia
9f42383d8a [android] re-add build config fields 2017-03-09 15:44:07 -08:00
Antonio Zugaldia
db3ffb9a2a [android] bump versions to beta.3 2017-03-09 15:44:07 -08:00
Tobrun
c9f63baccd [android] - build aar once (#8297) 2017-03-09 12:26:48 -08:00
John Firebaugh
65f74224ab Merge master into release-ios-v3.5.0-android-v5.0.0 2017-03-08 17:31:03 -08:00
John Firebaugh
e044e0aab9 [core] Avoid using std::function in property_setter.hpp 2017-03-08 16:50:28 -08:00
Molly Lloyd
692f5e0a9f Pack min + max into one attribute 💪
Some devices supported by Mapbox GL provide only 8 vertex attributes; this change packs existing attributes to get us just under that limit.

For properties using a composite function, pack the min and max values into a single attribute with two logical components instead of using two separate attributes and buffers. Special logic is included for color attributes, whose integer components must be packed into the available bits of floating-point attributes. (We don't have access to ivec types in GL ES 2.0.)

For source functions, continue to bind just a one-component attribute even though the GLSL type is vec2 (or vec4 for colors). The type-checking done by gl::Attribute is relaxed slightly to accommodate this.
2017-03-08 15:23:25 -08:00
Tobrun
e115d55ef6 MyLocationView activate/deactivate LocationSource (#8255)
* [android] - activate/deactivate the locationSource when toggling the MyLocationView state.

* correct accuracy width
2017-03-08 15:01:15 -08:00
John Firebaugh
3afae825c7 Use ICU compiled with -Os 2017-03-08 14:05:19 -08:00
John Firebaugh
b83b14feb0 [core] De-duplicate shader prelude source 2017-03-08 13:49:24 -08:00
Fabian Guerra Soto
05dd34f584 [ios, macos] Removed duplicated NSDate test files, improved duration converstion for NSDate+MGLAdditions (#8290) 2017-03-08 13:15:52 -08:00
John Firebaugh
84aac92b4e [test] Increase memory test ceiling slightly 2017-03-08 13:10:38 -08:00
Konstantin Käfer
a517323bfc [build] increase binary size log duration to 60 days 2017-03-08 13:10:04 -08:00
Tobrun
ffa78e2545 [android] - don't disable tracking when animation the camera bearing. (#8279) 2017-03-08 09:39:20 -08:00
Anand Thakker
bb846fd6cd For data-driven paint setters, transition immediately to target value (#8306)
Closes #8237
2017-03-08 11:53:44 -05:00
Minh Nguyễn
85f0eeff34 [ios, macos] Russian, Catalan, Lithuanian, Finnish, Dutch (#8256)
* [ios, macos] Updated Russian translations

* [ios, macos] Added Catalan translation

* [ios, macos] Completed Lithuanian translation

* [ios, macos] Added Finnish translation

* [ios, macos] Fixed Polish, Ukrainian declension

* [ios, macos] Updated changelogs

* [ios, macos] Added Dutch localization
2017-03-08 02:43:33 -08:00
Ivo van Dongen
f591421aaa [macos] add missing method declarations for visibleFeaturesX 2017-03-07 18:23:32 -08:00
Jordan Kiley
ece19acd10 [ios, macos] Added a timing note for two delegate methods (#8259) 2017-03-07 17:39:42 -08:00
Jason Wray
a6bbf09fa6 [ios] Add version checker update to deploy script 2017-03-07 10:47:29 -08:00
Jason Wray
5e36743ef7 [ios] Add SDK version update checking/notification 2017-03-07 10:43:08 -08:00
Ivo van Dongen
732cd8d20a [android] use PropertyValue for default values in functions 2017-03-07 09:48:12 -08:00
Ivo van Dongen
0da6d8a646 [core] clear source when removed from style 2017-03-06 18:04:22 -08:00
Bruno de Oliveira Abinader
84f69bfcc0 Update README.md
Fix patch typo.
2017-03-06 13:47:01 -08:00
Thiago Marcos P. Santos
2b7319d529 [Qt] Remove the QML app
We are now on Qt 5.9 and this is where the plugin will be developed
from now on.
2017-03-06 11:40:05 -08:00
Ivo van Dongen
b5d0a661c5 [android] Add support for queryRenderedFeatures filter 2017-03-04 15:42:07 -08:00
Ivo van Dongen
161ae804c2 [ios, macos] 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
Minh Nguyễn
ac4e13416a [core] Enable debug events in Debug configuration 2017-03-04 12:48:33 -08:00
Tobrun
328d4f6672 [android] - example on converting an Android SDK view to a Bitmap to be used as SymbolAnnotation (#8258) 2017-03-04 15:43:39 -05:00
Minh Nguyễn
7e9701283f [ios, macos] Update callout when relocating annotation
When relocating a selected point annotation, update the associated callout (popover) rather than deselecting the annotation.
2017-03-03 22:09:41 -08:00