void LineLayer::setLinePattern(PropertyValue<std::string> value) { if (value == getLinePattern()) return; auto impl_ = mutableImpl(); impl_->paint.template get<LinePattern>().value = value; baseImpl = std::move(impl_); observer->onLayerChanged(*this); }
void CustomLayer::setVisibility(VisibilityType value) { if (value == getVisibility()) return; auto impl_ = mutableImpl(); impl_->visibility = value; baseImpl = std::move(impl_); observer->onLayerChanged(*this); }
void LineLayer::setLineBlur(DataDrivenPropertyValue<float> value) { if (value == getLineBlur()) return; auto impl_ = mutableImpl(); impl_->paint.template get<LineBlur>().value = value; baseImpl = std::move(impl_); observer->onLayerChanged(*this); }
void LineLayer::setLineDasharray(PropertyValue<std::vector<float>> value) { if (value == getLineDasharray()) return; auto impl_ = mutableImpl(); impl_->paint.template get<LineDasharray>().value = value; baseImpl = std::move(impl_); observer->onLayerChanged(*this); }
void LineLayer::setLineTranslateAnchor(PropertyValue<TranslateAnchorType> value) { if (value == getLineTranslateAnchor()) return; auto impl_ = mutableImpl(); impl_->paint.template get<LineTranslateAnchor>().value = value; baseImpl = std::move(impl_); observer->onLayerChanged(*this); }
void LineLayer::setLineRoundLimit(PropertyValue<float> value) { if (value == getLineRoundLimit()) return; auto impl_ = mutableImpl(); impl_->layout.get<LineRoundLimit>() = value; baseImpl = std::move(impl_); observer->onLayerChanged(*this); }
void LineLayer::setLineJoin(DataDrivenPropertyValue<LineJoinType> value) { if (value == getLineJoin()) return; auto impl_ = mutableImpl(); impl_->layout.get<LineJoin>() = value; baseImpl = std::move(impl_); observer->onLayerChanged(*this); }
void RasterLayer::setRasterOpacity(PropertyValue<float> value) { if (value == getRasterOpacity()) return; auto impl_ = mutableImpl(); impl_->paint.template get<RasterOpacity>().value = value; baseImpl = std::move(impl_); observer->onLayerChanged(*this); }
void CustomLayer::setMaxZoom(float maxZoom) { auto impl_ = mutableImpl(); impl_->maxZoom = maxZoom; baseImpl = std::move(impl_); }
void LineLayer::setMinZoom(float minZoom) { auto impl_ = mutableImpl(); impl_->minZoom = minZoom; baseImpl = std::move(impl_); }
void LineLayer::setFilter(const Filter& filter) { auto impl_ = mutableImpl(); impl_->filter = filter; baseImpl = std::move(impl_); observer->onLayerChanged(*this); }
void LineLayer::setSourceLayer(const std::string& sourceLayer) { auto impl_ = mutableImpl(); impl_->sourceLayer = sourceLayer; baseImpl = std::move(impl_); }
void LineLayer::setLinePatternTransition(const TransitionOptions& options) { auto impl_ = mutableImpl(); impl_->paint.template get<LinePattern>().options = options; baseImpl = std::move(impl_); }
std::unique_ptr<Layer> LineLayer::cloneRef(const std::string& id_) const { auto impl_ = mutableImpl(); impl_->id = id_; impl_->paint = LinePaintProperties::Transitionable(); return std::make_unique<LineLayer>(std::move(impl_)); }
void RasterLayer::setRasterOpacityTransition(const TransitionOptions& options) { auto impl_ = mutableImpl(); impl_->paint.template get<RasterOpacity>().options = options; baseImpl = std::move(impl_); }
void RasterLayer::setMaxZoom(float maxZoom) { auto impl_ = mutableImpl(); impl_->maxZoom = maxZoom; baseImpl = std::move(impl_); observer->onLayerChanged(*this); }