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
Lucas Wojciechowski
5b3ebc4a24
[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-08 15:48:08 -08:00
Jason Wray
e690e7cf1e
[ios] Add camera limit debug option to iosapp
...
Adapted from cdff47276d/Examples/ObjectiveC/BlockingGesturesDelegateExample.m
2018-03-08 17:13:44 -05:00
Jason Wray
c815c1e2d6
[ios] Fix pinch drift ignoring delegate camera change response
2018-03-08 17:13:44 -05:00
Asheem Mamoowala
7df451def6
[core] TileJSON conversion clamps bounds longitude to [-180,180], per spec
2018-03-08 13:49:56 -08:00
Asheem Mamoowala
c54035afb1
[core] Support a range of zooms in TileRange. Accounts for TilePyramid requesting parent tiles of ideal zoom tiles.
2018-03-08 13:49:56 -08: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
Cameron Mace
268a4d7404
Update README.md ( #11408 )
...
Update splash image
2018-03-07 10:45:39 -05: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
Thiago Marcos P. Santos
eeadec3e06
[qt] Fix Qt build on MinGW
2018-03-07 14:18:07 +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
Langston Smith
d7808b3a77
Android readme snapshot dependency line cleanup ( #11071 )
...
* Snapshot dependency line cleanup
* Matching version nums
* changed compile to implementation
2018-03-06 06:09:47 -08:00
Tobrun
38fd733c9c
[android] - rework match expression to style specification syntax
2018-03-06 15:03:20 +01:00
Bruno de Oliveira Abinader
803a4d46ed
[Qt] Added QMapboxGL::MapLoadingFailure enum
2018-03-05 14:41:58 -05:00
Bruno de Oliveira Abinader
fc140e265b
[Qt] Expose mapLoadingFailed signal
2018-03-05 14:41:58 -05: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
Łukasz Paczos
ae0e583590
[android] fix CameraAnimatorActivity home button ( #11383 )
2018-03-05 14:22:06 +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
Konstantin Käfer
136e536159
[core, qt] move self-resetting Statement/Query object to shared header
2018-03-02 14:26:25 +01:00
Konstantin Käfer
5ca38bbde9
[core] refactor SQLite error/status codes
2018-03-02 14:26:25 +01:00
Konstantin Käfer
b0a840e44f
[core] improve SQLite error logging
2018-03-02 14:26:25 +01: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
9412f058f9
[android] updated changelog to reflect 6.0.0-beta.3 changes
...
(cherry picked from commit 7c0c884)
2018-03-02 13:13:57 +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
Tobrun
4d439b0043
[android] - decouple map padding from overlain views
2018-03-01 12:21:32 +01:00
Tobrun
0f9990c0c5
[android] - check if hosting Activity isn't finishing before showing an dialog
2018-03-01 12:21:32 +01:00
Ivo van Dongen
627a05475b
[android] custom layer example - remove dependencies on mbgl logging and string headers
2018-03-01 12:21:32 +01:00
Ivo van Dongen
06fa9c6b29
[android] custom layer example - add error checking to debug issues more easily
2018-03-01 12:21:32 +01:00
Ivo van Dongen
c3541cd055
[android] custom layer example - fix fragment shader source for opengl es 2 phones
2018-03-01 12:21:32 +01:00
Ivo van Dongen
1f73c9999e
[core] blacklist vao usage on mali t720 (sapphire 650)
...
Avoids problems on (amongst others) Samsung Galaxy J3
2018-03-01 12:21:32 +01:00
Ivo van Dongen
fdd9890461
[core] check opengl error state after custom layer invocations
2018-03-01 12:21:32 +01:00