summaryrefslogtreecommitdiff
path: root/src/mbgl/style/layer.cpp
Commit message (Collapse)AuthorAgeFilesLines
* [core] Return {Source,Layer}::getID by valueJohn Firebaugh2017-05-121-1/+1
| | | | | | | | | | Avoid dangling references in the following sequence: auto& id = layer->getID(); layer->setMaxZoom(2); std::cout << id; The reference would be dangling because mutating the layer allocates a new Immutable impl, and there may be no references to the prior impl, which held the id.
* [core] Immutable ImplsJohn Firebaugh2017-05-121-16/+12
|
* [core] split off render layersIvo van Dongen2017-04-251-1/+2
|
* [core] Observe visibility changesJohn Firebaugh2016-09-061-0/+3
|
* [core] Trigger Source::Impl::reload when a filter or layout property is modifiedJohn Firebaugh2016-09-061-1/+1
|
* [core] Adjust layer source properties to better reflect realityJohn Firebaugh2016-06-241-8/+0
| | | | | | | | * Layer source ID is immutable; must be provided to the constructor * Layer source layer is mutable * Layers with GeoJSON sources do not have a source layer While here, make Layer::copy impl-private.
* [core] Rationalize naming for style-related codeJohn Firebaugh2016-06-021-0/+50