Commit Graph

12279 Commits

Author SHA1 Message Date
Julian Rex
d4f2bc07ca [ios,macos] Selecting offscreen annotation pans map to fit annotation & callout view (#3249, #9790) 2018-03-21 13:51:10 -04:00
Tobrun
4b3d0638b8 [android] - update changelog for v6.0.0-beta.4 (#11485) 2018-03-21 09:09:49 +01:00
Jordan Kiley
68fcbf0a72 [ios, macos] Document to use subclasses of MGLFeature to access attributes (#11462) 2018-03-20 10:33:44 -07:00
Łukasz Paczos
a2250098f5 [android] bumped gestures library version to 0.1.0 (#11483) 2018-03-20 13:03:06 +01:00
Ansis Brammanis
ef1dcc0d5b [core] don't hide icons if text is an empty string 2018-03-19 15:31:38 -07:00
Tobrun
f011035017 Expression filters (#11429)
* [android] - add expression filter integration
2018-03-19 15:11:17 +01:00
Tobrun
c5075e33ec [android] - verify optional before accessing it 2018-03-19 15:10:15 +01:00
Guardiola31337
7d5304ebc1 [android] bump mapbox-android-telemetry version to 3.0.0-beta.2 and adapt events related code 2018-03-19 14:55:47 +01:00
Ivo van Dongen
2464520da1 [android] high-level jni bindings for geojson conversion 2018-03-19 11:19:09 +02:00
Osana Babayan
f2fbe69b32 update to MAS3.0-beta.4 (#11468) 2018-03-16 14:11:07 -04:00
Tobrun
aba24da180 [android] - implement expression literal on arrays 2018-03-16 17:09:35 +01:00
Łukasz Paczos
d59646fc1f Test activity for gestures manager (#11449) 2018-03-16 13:21:11 +01:00
Łukasz Paczos
146e615bae [android] fixed TWO_FINGER_TAP telemetry event (#11460) 2018-03-16 10:41:34 +01:00
John Firebaugh
449c68e329 [core] Update mapbox-gl-js 2018-03-14 15:26:28 -07:00
John Firebaugh
2912a1423d [core] Stringify expression syntax, not function syntax 2018-03-14 15:26:28 -07:00
Jason Wray
be2fae838c [ios] Prepare changelog for ios-v3.7.6 2018-03-14 15:47:21 -04:00
Jason Wray
6718887f0b [ios, build] Move iOS release builds to CircleCI 2018-03-14 15:46:52 -04:00
Jason Wray
4acd671a65 [ios] Add camera limit debug option to iosapp
Adapted from cdff47276d/Examples/ObjectiveC/BlockingGesturesDelegateExample.m
2018-03-14 15:46:43 -04:00
Jason Wray
d37edadacb [ios] Fix pinch drift ignoring delegate camera change response 2018-03-14 15:46:31 -04:00
Jason Wray
2230af1425 [ios] Improved heading indicator arrow visibility 2018-03-14 15:46:00 -04:00
Łukasz Paczos
3294f279e3 [android] build release Test App before publishing (#11418) 2018-03-14 15:41:15 +01:00
Lloyd Sheng
4404a2669b [ios, macos] Fix an issue where a wrong annotation may selected if annotations were set close together (#11438)
* [ios] Fix an issue where wrong annotation may selected when annotations very close #10734

* [macos] Fix an issue where a wrong annotation may selected if annotations were set close together

* update the iOS change log and the macOS change log

* Fix an issue where the comment referenced to the wrong variable name
2018-03-13 11:26:15 -07:00
Tobrun
961aba1552 [android] - revisit proguard configuration for release-boba 2018-03-12 16:36:45 +01:00
Asheem Mamoowala
a57be420b0 [core] TileJSON conversion clamps bounds longitude to [-180,180], per spec 2018-03-09 12:00:12 -08:00
Lucas Wojciechowski
8a3deab733 [core] Add expression filter support (#11251)
* WIP

* WIP

* WIP

* Remove Filter::operator()(const Feature&)

* WIP

* WIP

* WIP

* WIP

* Hook up expression filter evaluator

* Replace `shared_ptr` with &reference

* Fill in implementation of `void operator()(const ExpressionFilter&)`

* Fix failing tests

* Switch back to a shared_ptr per chat with @anandthakker

* Fix benchmark compilation

* Shot in the dark to fix CI

* Shot in the dark to fix CI (part 2)

* Shot in the dark to fix CI (part 3)

* In src/mbgl/style/conversion/filter.cpp, add a port of isExpressionFilter and use it to decide in Converter<Filter>::operator() whether to parse the incoming JSON as an ExpressionFilter or one of the legacy filter types

* Remove bool Filter::operator()(const GeometryTileFeature&) const

*  Ensure the map zoom is passed into filtering operations wherever applicable

* Add expression filter tests

* Addressed PR feedback

* Implement `NSPredicate *operator()(mbgl::style::ExpressionFilter filter)`

* Fix formatting& nit
2018-03-09 11:12:14 +01:00
Tobrun
6179110b6b [android] - add expression conversion, add getters (#11352) 2018-03-08 16:27:02 +01:00
Łukasz Paczos
dfdfbc0990 [android] calculating camera's LatLng for bounds without map padding (#11410) 2018-03-08 15:55:47 +01:00
Tobrun
ea525fd08a [android] - check for null body on http request, cleanup code 2018-03-08 15:51:07 +01:00
Minh Nguyễn
91de48356e [macos] Upgraded tests to Swift 4 2018-03-07 17:31:01 -08:00
Minh Nguyễn
9f708d80f4 [macos] Fixed title casing based on current orthography 2018-03-07 17:31:01 -08:00
Minh Nguyễn
6c0599b536 [macos] Assume sRGB for mbgl expressions, CSS in attribution
Assume mbgl needs colors in the sRGB color space rather than the calibrated RGB color space. Fixed link colors when creating attribution from HTML.
2018-03-07 17:31:01 -08:00
Łukasz Paczos
12664cd4c4 Expose more gestures settings (#11407)
* [android] enable/disable velocity animations

* [android] exposed a method to cancel ongoing velocity animations

* [android] removed unused methods and constants

* [android] fixed gestures manager initialization

* [android] enable/disable increasing gesture thresholds

* [android] saving/restoring new gestures options
2018-03-07 15:56:22 +01:00
tobrun
990999402c [android] - revert java8 support in the SDK 2018-03-06 17:51:58 +01:00
Osana Babayan
19d08db2e4 [android] take advantage of MAS 3.0-beta.3 changes
fromLngLats() take double arrays are called from Java (not the List<Point> ones)
2018-03-06 09:43:01 -05:00
Tobrun
38fd733c9c [android] - rework match expression to style specification syntax 2018-03-06 15:03:20 +01:00
Tobrun
1785a98e4f [android] - make javadoc configuration compatible with Gradle 4.4 2018-03-05 14:55:27 +01:00
Łukasz Paczos
c0bb9aaa81 [android] reworked zoomIn and zoomOut to use ValueAnimators (#11382) 2018-03-05 14:23:28 +01:00
Anand Thakker
8ed540ea7b Port fix for "at" expression off-by-1 error (#11375)
* Port fix for "at" expression off-by-1 error

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

* Consistency

* Add ignores for symbol positiong differences in real-world tests
2018-03-02 16:38:46 -05:00
Jason Wray
4919099ea9 [ios] Add MGLMapView.showsScale to control scale bar visibility (#11335)
- Fixes scale bar not being visible until a camera change event.
- Adds IBInspectable for scale bar visibility.
- Add tests of the scale bar being added to the map view
2018-03-02 13:13:57 -05:00
Tobrun
4408e2f0bc [android] - delete local ref pixel buffer when converting Image.java to core 2018-03-02 13:50:24 +01:00
Tobrun
4152c3094a [android] - use float for pixelratio when creating a snapshotter 2018-03-02 13:44:42 +01:00
Tobrun
6ca4949d0f [android] - validate if width and height aren't 0 when creating options class 2018-03-02 13:44:16 +01:00
Łukasz Paczos
7d8aaa1bf8 Release android v6.0.0-beta.3 (#11369)
* [android] updated changelog to reflect 6.0.0-beta.3 changes

* [android] release configuration for v6.0.0-beta.3

* [android] reverted release configuration for v6.0.0-beta.3
2018-03-02 13:15:11 +01:00
Łukasz Paczos
899211d816 Remove deprecated location APIs (#11351) 2018-03-02 11:01:10 +01:00
John Firebaugh
87f88f37c4 Update mapbox-gl-js 2018-03-01 17:02:26 -08:00
John Firebaugh
54f3dc961e Relax type checking for "length" 2018-03-01 17:02:26 -08:00
John Firebaugh
15ba70b5ff Infer type assertions for object
Cross-ports https://github.com/mapbox/mapbox-gl-js/pull/6243.
2018-03-01 17:02:26 -08:00
Molly Lloyd
d5829d0d00 [android] add support for mapzen terrarium raster-dem encoding (#11339) 2018-03-01 11:15:36 -08:00
Osana Babayan
5b4b3c5c1f [android] rotated map VisibleRegion returns incorrect bounds when going over date line 2018-03-01 12:20:41 -05:00
Tobrun
0082114426 [android] - don't disable zoom button controller zooming whem zooming gestures are disabled 2018-03-01 12:21:32 +01:00