Commit Graph

16768 Commits

Author SHA1 Message Date
Nadia Barbosa
d358e16a86 First round of feedback incorporation
Including feedback edits as suggested by @friedbunny
2018-04-12 14:54:12 -07:00
Nadia Barbosa
ca6e03111a [ios, docs] [ios, docs] Rewrite "Adding points to a map" guide 2018-04-12 14:54:12 -07:00
Fabian Guerra Soto
23f0222fd9 [ios, macos] Add predicate like expressions to NSExpression (#11632)
* [ios, macos] Add NSPredicate between function.

* [ios, macos] Add NSPredicate 'IN' expression filter support .

* [ios, macos] Add NSPredicate 'CONTAINS' expression filter support.

* [ios, macos] Refactor NSPredicate operators.

* [ios, macos] Simplify NSPredicate's expression conversion code.

* [ios, macos] Make 'match' the default predicate conversion option.
2018-04-12 17:43:01 -04:00
Jason Wray
be3fc4413a [ios] Change MGLAnnotationView.scalesWithViewingDistance default value to NO 2018-04-12 16:49:30 -04:00
Anand Thakker
352d63d2ce Don't enforce ["zoom"] constraints for filters (#11672)
* Don't enforce ["zoom"] constraints for filters

Fixes #11594

* Add a couple of comments

* Fix ambiguous constructor call

* ParsingContext(optional<Type>) => ParsingContext(Type)
2018-04-12 16:02:48 -04:00
Jason Wray
646cbc98dd [ios] Note plans to drop iOS 8 (#11663) 2018-04-12 11:31:00 -04:00
Tobrun
ff11cb2016 [android] - update changelog for release v6.0.0-beta.7 2018-04-12 11:52:43 +02:00
Łukasz Paczos
22b4ef1f4b Update layer immediately when changing its max/min zoom level (#11399)
* [android][core] update layer immediately when changing it's max/min zoom

* [core] node bindings for layer zoom range
2018-04-12 10:42:14 +02:00
Minh Nguyễn
aaba667cc3 [ios, macos] Corrected link in expression documentation 2018-04-11 20:26:02 -07:00
Minh Nguyễn
9b869c51ad [ios, macos] Renamed expression initializer to be more Swiftian 2018-04-11 20:26:02 -07:00
Jason Wray
ad803d77cb [darwin, docs] Further compress images in docs 2018-04-11 18:49:15 -04:00
Anand Thakker
f0f67b4788 Add abs, round, floor, ceil operators (#11653)
* Add abs, round, floor, ceil operators

Port of https://github.com/mapbox/mapbox-gl-js/pull/6496

* [ios, macos] Simplified abs, ceiling, floor expressions

* [ios, macos] Added rounding expression function

* [android] - binding integration for round, ceil, floor and abs expressions

* Update mapbox-gl-js to include non-integer rounding test

* Drop extra braces

* mapbox-gl-js -> master

* Update style-spec docs -> PropertyFactory.java
2018-04-11 12:03:56 -04:00
Osana Babayan
797486bc5f [android] center was calculated incorrectly for LatLngBounds with zero span (#11650) 2018-04-11 10:00:07 -04:00
Tobrun
a0d0776925 [android] - bump telemetry to 3.0.0 stable 2018-04-11 15:39:50 +02:00
Tobrun
21af83789d [android] - update changelog for v5.5.2 2018-04-11 14:01:15 +02:00
Jason Wray
33d3c27ab0 [build, qt] Work around for chown'ing /usr/local
macOS 10.13 no longer allows wholesale chown'ing of /usr/local (and this
approach also works in 10.12).
2018-04-10 20:19:45 -04:00
Jason Wray
6a2e69b7b1 [docs] Update CI badges and expand license section 2018-04-10 20:19:45 -04:00
Jason Wray
7055847ca9 [build, ios] Bump CircleCI builds to Xcode 9.3 2018-04-10 20:19:45 -04:00
Julian Rex
80474b24f2 [ios] Refactor integrations tests 2018-04-10 14:56:38 -04:00
Osana Babayan
4191c4bbcb [android] LatLngBounds were not build correctly when lons were the same (#11647) 2018-04-10 12:41:59 -04:00
Tobrun
8e200ae387 [android] - bump snapshot version to v5.6.0 2018-04-10 18:22:07 +02:00
Tobrun
50a8a44bc6 [android] - update changelog for v5.5.2 2018-04-10 18:22:07 +02:00
Antonio Zugaldia
61bb9be1e3 [android] Adds gradle-dependency-graph-generator-plugin to Android project (#11603)
* adds gradle-dependency-graph-generator-plugin to the project

* keep script in sync with https://github.com/mapbox/mapbox-android-demo/pull/671

* adds a makefile rule for dependency generation
2018-04-10 10:58:58 -04:00
Łukasz Paczos
2993a0d59b [android] invalidate camera position before delivering onMapReady (#11585) 2018-04-10 15:49:01 +02:00
Tobrun
451e6bc8a0 [android] - add delete local refs calls for make jni strings 2018-04-10 15:49:01 +02:00
Ivo van Dongen
4f809d6626 [android] release local refs early 2018-04-10 15:49:01 +02:00
Ivo van Dongen
46d3756cbd [core] re-bind uniform locations after re-linking program
- On some gl implementations the uniform locations are shifted after linking the program a second time, resulting in errors when using any uniform. On some implementations they are actually doubled. Re-binding the uniforms after selectively binding the vertex attributes prevents this.
2018-04-10 15:49:01 +02:00
Tobrun
88d21e17dc [android] - add paused state to map renderer, don't render snapshot when paused (#11358) 2018-04-10 15:49:01 +02:00
Łukasz Paczos
f55a324917 [android] - fixed scale animation focal point (#11643) 2018-04-10 15:32:32 +02:00
Tobrun
aa43dfd6c1 [android] - add convinience step expression (#11641) 2018-04-10 14:26:22 +02:00
Tobrun
ce75c3b3e7 [android] - add javadoc code examples for Android (#11540) 2018-04-10 13:45:46 +02:00
Tobrun
c2a78d0d72 [android] - add paused state to map renderer, don't render snapshot when paused (#11358) 2018-04-10 11:10:14 +02:00
Tobrun
44ce5ab087 Rework expression conversion (#11490)
* [android] - rework expression conversion
2018-04-10 11:09:42 +02:00
Łukasz Paczos
351ac83c75 [android] - fixed gesture events listeners lists documentation (#11630) 2018-04-10 09:57:00 +02:00
Anand Thakker
8d26f74091 Fix style parsing bug for constant expressions (#11606)
* Fix style parsing bug for constant expressions

Closes #10849

* Ignore tests for unported GL JS change

Refs https://github.com/mapbox/mapbox-gl-js/pull/6429

* Fuller fix

* Update mapbox-gl-js
2018-04-09 17:59:18 -04:00
Tobrun
c1dabbde8d [android] - add delete local refs calls for make jni strings 2018-04-09 20:14:45 +02:00
Ivo van Dongen
14423a225b [android] release local refs early 2018-04-09 17:46:02 +03:00
Minh Nguyễn
1af1cbe721 [ios, macos] Equate valueForKey: with valueForKeyPath: 2018-04-06 13:47:49 -07:00
Minh Nguyễn
f9e32d59ad [ios, macos] Distinguish between conditionals and expressions in case expression 2018-04-06 13:47:49 -07:00
Asheem Mamoowala
e32a0586f2 Change MGLMapPointMake to MGLMapPointForCoordinate 2018-04-06 10:06:05 -07:00
Łukasz Paczos
6f639dba20 [core] re-bind uniform locations after re-linking program (#11618)
- On some gl implementations the uniform locations are shifted after linking the program a second time, resulting in errors when using any uniform. On some implementations they are actually doubled. Re-binding the uniforms after selectively binding the vertex attributes prevents this.

(cherry picked from commit 4a0e025)
2018-04-06 16:28:36 +02:00
Asheem Mamoowala
cc01781db7 [ios, macos] Projection Matrix and LatLng projection to Mercator methods 2018-04-05 18:04:25 -07:00
Asheem Mamoowala
dc495e1c9d [core] Add Projection matrix to CustomLayerRenderParameters to transform web mercator world coordinates to GL coordinates. 2018-04-05 18:04:25 -07:00
Osana Babayan
275d753e91 [android] updated mapbox-sdk-services to 3.0.1 (#11593)
* [android] updated mapbox-sdk-services to 3.0.1

* [android] - downgrade tooling for MAS-3.0.1
2018-04-05 11:38:02 -04:00
Anand Thakker
05d24448bd Remove unused lambda capture (#11600)
Fixes #11588
2018-04-05 11:14:55 -04:00
Anand Thakker
4ba63d541b Remove unused lambda capture (#11601)
Fixes #11588
2018-04-05 10:57:52 -04:00
Anand Thakker
c50a74d1c2 Remove unused lambda capture (#11602)
Fixes #11588
2018-04-05 10:57:45 -04:00
Łukasz Paczos
006d2ab1d5 CP missing changelog entries to master (#11596)
* [android] - update changelog  v5.5.1

(cherry picked from commit b411eed)

* [android] Updated changelog for 6.0.0-beta.5 release

(cherry picked from commit 73c0159)

* Release android v6.0.0 beta.6 (#11592)

* [android] updated changelog for 6.0.0-beta.6

(cherry picked from commit d5a3e5b)
2018-04-05 14:03:44 +02:00
Łukasz Paczos
d5a3e5be7a Release android v6.0.0 beta.6 (#11592)
* [android] updated changelog for 6.0.0-beta.6
2018-04-05 10:53:55 +02:00
Ivo van Dongen
4a0e025134 [core] re-bind uniform locations after re-linking program
- On some gl implementations the uniform locations are shifted after linking the program a second time, resulting in errors when using any uniform. On some implementations they are actually doubled. Re-binding the uniforms after selectively binding the vertex attributes prevents this.
2018-04-05 10:21:59 +03:00