summaryrefslogtreecommitdiff
path: root/src/mbgl/style/layers/symbol_layer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mbgl/style/layers/symbol_layer.cpp')
-rw-r--r--src/mbgl/style/layers/symbol_layer.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mbgl/style/layers/symbol_layer.cpp b/src/mbgl/style/layers/symbol_layer.cpp
index 39c2f2a052..9fce1b3223 100644
--- a/src/mbgl/style/layers/symbol_layer.cpp
+++ b/src/mbgl/style/layers/symbol_layer.cpp
@@ -301,15 +301,15 @@ void SymbolLayer::setSymbolPlacement(const PropertyValue<SymbolPlacementType>& v
baseImpl = std::move(impl_);
observer->onLayerChanged(*this);
}
-PropertyValue<float> SymbolLayer::getDefaultSymbolSortKey() {
+PropertyValue<double> SymbolLayer::getDefaultSymbolSortKey() {
return SymbolSortKey::defaultValue();
}
-const PropertyValue<float>& SymbolLayer::getSymbolSortKey() const {
+const PropertyValue<double>& SymbolLayer::getSymbolSortKey() const {
return impl().layout.get<SymbolSortKey>();
}
-void SymbolLayer::setSymbolSortKey(const PropertyValue<float>& value) {
+void SymbolLayer::setSymbolSortKey(const PropertyValue<double>& value) {
if (value == getSymbolSortKey()) return;
auto impl_ = mutableImpl();
impl_->layout.get<SymbolSortKey>() = value;