summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* [ios, macos, core] Added retain/release manager that holds on to the ↵Julian Rex2018-03-051-3/+11
| | | | MGLOpenGLStyleLayers for the 2 trips through the render loop that are needed before they can be deallocated. Added additional tests.
* [core] don't hide icons if text is an empty stringAnsis Brammanis2018-02-211-3/+3
|
* [core] Support a range of zooms in TileRange. Accounts for TilePyramid ↵Asheem Mamoowala2018-02-192-22/+45
| | | | requesting parent tiles of ideal zoom tiles.
* [core] Implement Expression::serialize()Chris Loer2018-02-1610-23/+177
| | | | | | | | Issue #10714 - Each expression stores its operator as a string, and default serialization is [operator, serialize(child1), ...] - Custom implementations of `serialize` for Expression types that don't follow the pattern - expression::Value -> mbgl::Value converter - node_expression bindings to expose `serialize`
* [core, ios, macos, android, node] Heatmap layer (#11046)Vladimir Agafonkin2018-02-1535-25/+1153
| | | | | Co-Authored-By: Konstantin Käfer <mail@kkaefer.com> Co-Authored-By: Anand Thakker <anandthakker@users.noreply.github.com> Co-Authored-By: Minh Nguyễn <1ec5@users.noreply.github.com>
* [core] fix opacity of duplicate labels with -allow-overlap: trueAnsis Brammanis2018-02-151-3/+8
|
* [core] add support for mapzen terrarium (#11154)Molly Lloyd2018-02-149-10/+37
| | | | | | | | | | | | * add support for mapzen terrarium * Encoding --> DEMEncoding, avoid if statement when unpacking elevation values * add Terrarium test * update submodule * remove redundant checks
* [core] add maxzoom uniform for raster-dem tilesets (#11134)Molly Lloyd2018-02-146-7/+21
| | | | | | | | | | * add maxzoom uniform to support external tilesets * update git sha for gl-js * try and fix android crash * name default maxzoom constant
* [core] Rename "onLowMemory" to "reduceMemoryUse".Chris Loer2018-02-1419-27/+27
| | | | | Android still calls "reduceMemoryUse" only while handling a low memory event. iOS, on the other hand, calls "reduceMemoryUse" every time it enters the background.
* [core] fix onLowMemory to release GL buffersChris Loer2018-02-141-1/+1
| | | | Context cleanup must be called _after_ render sources release tiles.
* TileJSON Bounds allows values inclusive of world extentsAsheem Mamoowala2018-02-121-1/+1
|
* [core] Make RendererObserver a public interfaceThiago Marcos P. Santos2018-02-091-35/+0
| | | | Needed by backends implementing asyncronous rendering
* Add options for Custom Geometry Source types to enable clipping and wrapping ↵Asheem Mamoowala2018-02-071-1/+1
| | | | geometry (#11041)
* [core] align raster-dem tiles to pixel grid (#11119)Molly Lloyd2018-02-061-2/+2
| | | | | | * align raster-dem tiles to pixel grid * revert ignored hillshade tests
* [core] Don't crash on line labels with 0 glyphs.Chris Loer2018-02-061-2/+3
| | | | Fixes issue #10956.
* [core] Account for overscaling in debug collision circles.Chris Loer2018-02-064-3/+10
| | | | | Fixes issue #11116. Port of GL JS issue $6041.
* Reset tileset-based render sources when any tileset properties changed. (#11042)Asheem Mamoowala2018-02-056-24/+27
|
* [android] - blacklist adreno 2xx for VAO supportTobrun2018-01-311-2/+3
|
* [core] don't force downloading of Open Sans fontsKonstantin Käfer2018-01-251-1/+1
| | | | When a SymbolLayer doesn't have a text-font defined, we automatically add Open Sans/Arial Unicode MS. However, when the SymbolLayer is only used for rendering icons, it doesn't have text-field defined either. In those cases, we still force downloading Open Sans/Arial Unicode MS during offline pack creation. If the user doesn't use this font, this change should save ~15MB and a few seconds in download time.
* [core] align implementations of local and asset file sourceKonstantin Käfer2018-01-251-0/+2
|
* [core] align raster imagery rendering to pixel rid to avoid blurrinessKonstantin Käfer2018-01-246-10/+30
|
* Reimplement style values atop NSExpression (#10726)Minh Nguyễn2018-01-241-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * [ios, macos] Import headers, not implementation files * [core] Added accessors for various expression parameters Added missing parameter accessors to various expression operator classes, as well as a method on InterpolatorBase and Step that enumerates the stops and their values. * [ios, macos] Silenced warning in test of error condition * [ios, macos] Made MGLSphericalPosition boxable * [ios, macos] Implemented array enumeration during conversion * [ios, macos] Temporarily ignore heatmap layer type * [ios, macos] Migrated MGLSymbolStyleLayer.text to NSExpression MGLSymbolStyleLayer.text is now of type NSExpression instead of MGLStyleValue, as a first step toward migrating the entire layer API from style values to expressions. Implemented conversions from NSExpression to JSON arrays and vice versa. The most common NSExpression functions are now converted into style expressions, but not all of the most common style expression operators are supported yet. * [ios, macos] Implemented string coercion * [ios, macos] Color literals * [ios, macos] Null constant expressions * [ios, macos] Convert dictionary literals * [ios, macos] Interpolation expressions * [ios, macos] to-boolean, to-number, get from object * [ios, macos] Variable expressions Implemented custom expression functions for assigning and referring to variables within the context of an expression. Variables are assigned via a “context dictionary” and applied to an subexpression that is given as another argument to the same expression. Also implemented built-in variable expressions for zoom level and heatmap density. * [ios, macos] Convert colors, offsets, padding in expressions to JSON objects * [ios, macos] Expression-based style property getters Implemented a conversion from mbgl::style::PropertyValues to Objective-C JSON objects, which are then converted to NSExpressions. * [ios, macos] Consolidated property value–expression conversion in MGLStyleValueTransformer * [ios, macos] Predicate and expression guide Extracted documentation about predicates from a documentation comment in MGLVectorStyleLayer.h to a new jazzy guide. Added details about NSExpression support as well. Began updating the “For Style Authors” guide to reflect the transition from style values to expressions. * [ios, macos] Updated style authoring guide Updated the Information for Style Authors guide to discuss expressions instead of style functions. Included a table mapping style specification expression operators to NSExpression syntaxes. * [ios, macos] Migrated codegen templates to expressions * [ios, macos] Applied expression changes via codegen Ran make darwin-style-code. * [macos] Migrated macosapp to expressions * [ios, macos] Updated style function guide This guide needs to be thoroughly rewritten, but for now the example code has been migrated to expressions. * [ios, macos] Eviscerated style function tests * [ios, macos] Updated changelogs * [ios] Migrated iosapp to expressions * [ios, macos] Exposed JSON conversion methods publicly * [ios, macos] Removed MGLStyleValue, MGLStyleFunction
* [core] fix style parsing crash when a layer's paint property is not an objectKonstantin Käfer2018-01-231-0/+3
|
* [core] add raster-dem source type and hillshade layer type (#10642)Molly Lloyd2018-01-2350-21/+1797
|
* Prune unused layers from CrossTileSymbolIndexChris Loer2018-01-193-0/+16
| | | | Fixes issue #10939 -- removed layers would leak entries in the CrossTileSymbolIndex.
* [core] GeometryTileData needs to be updated in lockstep with FeatureIndexChris Loer2018-01-182-1/+5
|
* [core] Synchronize state of CollisionIndex and FeatureIndexes.Chris Loer2018-01-185-1/+29
| | | | Fixes issue #10778, in which mismatch between FeatureIndex and CollisionIndex could lead to inconsistent results or even invalid array access.
* [core] Prevent symbols at the same zoom from sharing a crossTileID.Chris Loer2018-01-172-9/+35
| | | | | Port of GL JS PR #5994. Fixes issue #10844, which would allow multiple symbols in a tile to share the same crossTileID as one of their duplicate parent-tile symbols. Once the symbols shared a crossTileID, they would permanently remain "duplicates" of each other, even after increasing zoom level allowed the CrossTileSymbolIndex to distinguish between them.
* [core] fix symbol flickering after data updatesAnsis Brammanis2018-01-115-29/+34
|
* [core] fix updating CrossTileSymbolIndex after bucket updateAnsis Brammanis2018-01-111-0/+2
| | | | emplace does not overwite existing entries
* [core] Add warning for invalid text-font valuesJohn Firebaugh2018-01-101-0/+6
|
* [core, ios, macos, android] Add data-driven-styling support for `text-font`John Firebaugh2018-01-1015-31/+134
|
* [core] Account for circle-stroke-width in queryRenderedFeaturesJohn Firebaugh2018-01-102-6/+6
|
* [core] Handle NaN input to interpolate and stepJohn Firebaugh2018-01-102-8/+11
|
* [core] Omit inferred type annotations for 'coalesce' argumentsJohn Firebaugh2018-01-092-31/+50
|
* [core] Fix alpha handling in rgba and to-rgba operatorsJohn Firebaugh2018-01-093-7/+10
|
* [core] Enable implicit type assertions for array typesJohn Firebaugh2018-01-091-0/+2
|
* [core] Improve typing for !=, == expressionsJohn Firebaugh2018-01-093-16/+86
|
* [core] Use separate shaders for background and clippingLauren Budorick2018-01-0918-40/+377
|
* [core] Update debug collision circle shader.Chris Loer2018-01-091-1/+1
| | | | Fixes issue #10876.
* [core] blacklist binary program loading for Vivante GC4000 GPUsKonstantin Käfer2018-01-091-1/+4
|
* [windows][core] Use Qt's own zlib on WindowsThiago Marcos P. Santos2018-01-081-0/+4
|
* [windows][core] Include what you useThiago Marcos P. Santos2018-01-082-0/+2
|
* [windows][qt] Remove std:: namespace of some functionsThiago Marcos P. Santos2018-01-081-1/+1
| | | | Not available on Windows.
* [ios] Ignore Boost's 'implicit conversion loses integer precision' warningBruno de Oliveira Abinader2018-01-081-0/+3
|
* [core] port minor collision changes from -js (#10764)Ansis Brammanis2018-01-087-65/+35
|
* Support TileJSON bounds property (#10701)Asheem Mamoowala2018-01-0512-3/+191
| | | | | | | | * [core] Parse TileJSON bounds property * [core] Add TileRange and LatLngBounds::contains(CanonicalTileID) Move LatLngBounds::contains impl to cpp file * [core] Skip tile creation outside of tileset bounds * [core] Fix TileRange for wrapped bounds and use for CustomTileLoader instead of LatLngBounds comparisons for tiles.
* [core] fix #10833 loading overscaled tilesAnsis Brammanis2018-01-051-3/+7
| | | | | | | | This reverts a regression in ed5438fc21672e838947c06669dd44051ce24c81 which set `tileZoom = idealZoom` for all types of tiles. The second change makes it so that panTiles get loaded only if they have a lower *data zoom* (only if they cover a larger area).
* Merge branch 'release-agua' back to master.Fabian Guerra2018-01-042-8/+14
|\
| * Merge branch 'release-agua' into masterupstream/fabian-merge-release-aguaFabian Guerra2018-01-042-8/+14
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | # Conflicts: # circle.yml # cmake/core-files.cmake # platform/android/CHANGELOG.md # platform/android/MapboxGLAndroidSDK/build.gradle # platform/android/MapboxGLAndroidSDK/gradle.properties # platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/maps/CameraChangeDispatcher.java # platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/maps/MapView.java # platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/maps/MapboxMapOptions.java # platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/text/LocalGlyphRasterizer.java # platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/utils/BitmapUtils.java # platform/android/MapboxGLAndroidSDKTestApp/src/main/AndroidManifest.xml # platform/android/MapboxGLAndroidSDKTestApp/src/main/java/com/mapbox/mapboxsdk/testapp/activity/maplayout/DebugModeActivity.java # platform/android/MapboxGLAndroidSDKTestApp/src/main/java/com/mapbox/mapboxsdk/testapp/activity/maplayout/LocalGlyphActivity.java # platform/android/MapboxGLAndroidSDKTestApp/src/main/java/com/mapbox/mapboxsdk/testapp/activity/userlocation/MyLocationTintActivity.java # platform/android/MapboxGLAndroidSDKTestApp/src/main/res/layout/activity_local_glyph.xml # platform/android/MapboxGLAndroidSDKTestApp/src/main/res/values/descriptions.xml # platform/darwin/src/MGLMapSnapshotter.mm # platform/darwin/src/MGLRendererConfiguration.h # platform/ios/CHANGELOG.md # platform/ios/DEVELOPING.md # platform/ios/INSTALL.md # platform/ios/README.md # platform/ios/resources/bg.lproj/Localizable.strings # platform/ios/resources/es.lproj/Localizable.strings # platform/ios/resources/vi.lproj/Localizable.strings # platform/ios/src/MGLMapView.mm # platform/macos/macos.xcodeproj/project.pbxproj # src/mbgl/text/glyph_manager.cpp