| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Cherry picked from commit fc0745a699a0ef60c080e9c2ff5eaecde9cb5306
|
|
|
|
|
|
| |
Bump version.
mapbox-gl-native @ 377a6e42d687c419e6ae1012b8626336f5dfc1b6
|
|
|
|
|
|
| |
Bump version.
mapbox-gl-native @ 27b21363e62c105db0b040b4c5a5ef31170ebd30
|
|
|
|
| |
mapbox-gl-native @ 5de373fff0e71496b6aa11ecb6556f958a28d80b
|
|
|
|
| |
mapbox-gl-native @ 8757164ac8f2b033b2b12d4baf075ed18cfeb2b4
|
|
|
|
| |
mapbox-gl-native @ cf3357ea4517e74ba3a63434c330a1506064b130
|
|
|
|
| |
mapbox-gl-native @ 3bef7593a64a51e86dd5a2ed9fd36b4a143350b0
|
|
|
|
| |
mapbox-gl-native @ 92608f58858d77c17a65ae9b29758e74bb2da7d2
|
|
|
|
| |
mapbox-gl-native @ 0ef7b7154f6d4498077a83db5c486c61bc34938c
|
|
|
|
| |
mapbox-gl-native @ 10f7af19ce1ec61f37459f9cd75e2a0c89a0c790
|
|
|
|
| |
mapbox-gl-native @ bd15e273dce767458d335aeb1f50aa081390d593
|
|
|
|
| |
mapbox-gl-native @ edd7948893fcd40a24d96b790e21d3dd028cecbe
|
|
|
|
|
| |
Qt builds Android with Clang but using GNU stdc++, that
is missing some classes we need.
|
| |
|
|
|
|
| |
OpenGL on Qt5 is offered via QtGui.
|
| |
|
| |
|
|
|
|
|
| |
GCC 4.9 cannot do bracket initialization when one of the attributes
already has a default value.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|\ |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| | |
GCC can't cope with it.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
ported from -js: eb6c6596c6a7a61363d30356674e0002153b1d19
`altitude` was a terribly-named variable that was used to indirectly
control the fov. This should eliminate some confusion.
`altitude` was equivalent to `cameraToCenterDistance / height`
|
|\ \
| |/
| |
| | |
Also reran make style-code and manually discarded anything related to fill extrusion layers.
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* [ios, macos] Replaced custom style layer API with MGLOpenGLStyleLayer
Replaced the custom style layer API on MGLMapView with an equally unsupported MGLOpenGLStyleLayer API that nonetheless is consistent with the broader runtime styling API and is compatible with macOS.
Fixed an unrecognized selector crash when wrapping a layer of unrecognized type coming from mbgl.
* [macos] Added lime green layer demo to macosapp
Reprised the demo removed from iosapp in #5091.
* [ios, macos] Rationalized MGLOpenGLStyleLayer API
MGLStyle now strongly references any MGLOpenGLStyleLayer object that’s added to it, in order to prevent pointers from going stale and make it easy for layer drawing code to get more information about the map view. Replaced the MGLOpenGLStyleLayer callback blocks with overridable instance methods. Added internal documentation for each method. Subclassed MGLOpenGLStyleLayer as LimeGreenStyleLayer inside macosapp.
Consolidated -addToMapView: into -addToMapView:belowLayer: to ensure that MGLRedundantLayerException gets raised even if the layer is being inserted rather than added to the bottom of the stack.
* [core] Clarified that rendering happens on the main thread
* [ios, macos] Fixed removing and re-adding MGLOpenGLStyleLayer
Don’t allow index-based layer removal to circumvent -removeFromMapView:, which MGLOpenGLStyleLayer relies on to synchronize the style’s array of MGLOpenGLStyleLayers. When obtaining an MGLOpenGLStyleLayer, get the instance already added to the style instead of creating a new one to wrap the underlying CustomLayer.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* [core] Add interface to get image from sprite atlas
* [tests] Add tests for Map::getImage
* [ios, macos] WIP: get MGLImage for name from style
* [ios, macos] Fixed -imageForName:
Convert from sprite images to platform images using the existing encodePNG() function, which is also used for printing. Allow -imageForName: to return nil without an assertion failure. Added a basic test.
|
| | |
|
| |
| |
| |
| | |
Also includes stubs for fill-extrusion layer, because most of the code was auto-generated.
|
| | |
|
| | |
|
|\ \
| |/ |
|
| |
| |
| |
| |
| |
| |
| |
| | |
Added new layers and sources properties to MGLStyle that contain all the style’s layers and sources, respectively. These properties are KVC-compliant with all the mutable to-many methods. Layers are ordered from topmost to bottommost, for consistency with Cocoa APIs where front/first means top and back/last means bottom.
Also added storage for mbgl::style::Source in MGLSource proper for wrapping AnnotationSource. Until the style finishes loading, its name property is set to nil.
Fixes #6003.
|
| |
| |
| |
| |
| |
| |
| |
| | |
When a source or layer is removed transfer ownership back to the
caller so it can (optionally) take it. Preserve the behavior that
removing a CustomLayer triggers deinitialization. Deinitialize all
custom layers when a style is destroyed in case those layers are not
explicitly removed.
|
| | |
|
| |
| |
| |
| | |
This is already enforced by the style validator in mapbox-gl-style-spec. Enforce it here too.
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|