summaryrefslogtreecommitdiff
path: root/platform/darwin/src/MGLStyleLayerManager.mm
Commit message (Collapse)AuthorAgeFilesLines
* [android, darwin] Fix core-only layer creationMikhail Pozdnyakov2019-01-251-10/+10
| | | | | In the layer manager implementations `addLayerTypeCoreOnly()` should be called with core-only modules.
* Ability to disable any layer using pre-processing flags.Michael Muesch2019-01-171-0/+44
|
* [mac, ios] Enable core-only layersMikhail Pozdnyakov2018-12-181-9/+29
| | | | | `LayerManagerDarwin` can add layer types that are enabled only for JSON style. It allows to exclude the SDK wrappers for these layers from the project and decrease binary size.
* [core] LayerManager can disable annotationsMikhail Pozdnyakov2018-11-281-0/+2
| | | | | | | | | | | | | At the moment, the annotations implementation in the `mapbox-gl-native` core is creating concrete layer instances apart from `LayerManager/LayerFactory` code path. So, annotations must be disabled if the `LayerManager` implementation does not provide line, fill or symbol layers (those, used by the annotations). Note: in future, annotations implementation will be moved from the core to the platform SDK level(see https://github.com/mapbox/mapbox-plugins-android/tree/master/plugin-annotation) and `LayerManager` won't need to disable it.
* [core][Android][Darwin] LayerManager creates RenderLayer instancesMikhail Pozdnyakov2018-11-271-21/+18
| | | | | | | | `LayerManager` is now responsible for `RenderLayer` instances creation, so that there is a single entry point for creating of objects, which correspond to a certain layer type. The `LayerType type` field is dropped from `Layer::Impl`.
* [ios, macos] Layer manager for Darwin platformsMikhail Pozdnyakov2018-11-191-0/+84
The newly introduced `MGLStyleLayerManager` is now responsible for creating both style layer objects and their obj C peers on Darwin.