From 1a9bccbb850c637583c18e7409e3b87a0dd9ff79 Mon Sep 17 00:00:00 2001 From: John Firebaugh Date: Thu, 30 Mar 2017 17:01:52 -0700 Subject: [core] Add DDS support for icon-image --- include/mbgl/style/conversion/make_property_setters.hpp | 2 +- include/mbgl/style/layers/symbol_layer.hpp | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'include') diff --git a/include/mbgl/style/conversion/make_property_setters.hpp b/include/mbgl/style/conversion/make_property_setters.hpp index 78c2fabebc..85bcd44cf3 100644 --- a/include/mbgl/style/conversion/make_property_setters.hpp +++ b/include/mbgl/style/conversion/make_property_setters.hpp @@ -40,7 +40,7 @@ auto makeLayoutPropertySetters() { result["icon-size"] = &setLayoutProperty, &SymbolLayer::setIconSize>; result["icon-text-fit"] = &setLayoutProperty, &SymbolLayer::setIconTextFit>; result["icon-text-fit-padding"] = &setLayoutProperty>, &SymbolLayer::setIconTextFitPadding>; - result["icon-image"] = &setLayoutProperty, &SymbolLayer::setIconImage>; + result["icon-image"] = &setLayoutProperty, &SymbolLayer::setIconImage>; result["icon-rotate"] = &setLayoutProperty, &SymbolLayer::setIconRotate>; result["icon-padding"] = &setLayoutProperty, &SymbolLayer::setIconPadding>; result["icon-keep-upright"] = &setLayoutProperty, &SymbolLayer::setIconKeepUpright>; diff --git a/include/mbgl/style/layers/symbol_layer.hpp b/include/mbgl/style/layers/symbol_layer.hpp index 23bdf303b6..853a71bef2 100644 --- a/include/mbgl/style/layers/symbol_layer.hpp +++ b/include/mbgl/style/layers/symbol_layer.hpp @@ -71,9 +71,9 @@ public: PropertyValue> getIconTextFitPadding() const; void setIconTextFitPadding(PropertyValue>); - static PropertyValue getDefaultIconImage(); - PropertyValue getIconImage() const; - void setIconImage(PropertyValue); + static DataDrivenPropertyValue getDefaultIconImage(); + DataDrivenPropertyValue getIconImage() const; + void setIconImage(DataDrivenPropertyValue); static DataDrivenPropertyValue getDefaultIconRotate(); DataDrivenPropertyValue getIconRotate() const; -- cgit v1.2.1