From 76ed5079a547e9f98616a9401c8814d224cec9d8 Mon Sep 17 00:00:00 2001 From: John Firebaugh Date: Fri, 5 Jan 2018 12:40:54 -0800 Subject: [core, ios, macos, android] Add data-driven-styling support for `text-font` --- .../java/com/mapbox/mapboxsdk/style/layers/PropertyFactory.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'platform/android/MapboxGLAndroidSDK/src/main/java/com') diff --git a/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/style/layers/PropertyFactory.java b/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/style/layers/PropertyFactory.java index 8247577bd4..67596fb428 100644 --- a/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/style/layers/PropertyFactory.java +++ b/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/style/layers/PropertyFactory.java @@ -2888,11 +2888,11 @@ public class PropertyFactory { /** * Font stack to use for displaying text. * - * @param the zoom parameter type - * @param function a wrapper {@link CameraFunction} for String[] + * @param the function input type + * @param function a wrapper function for String[] * @return property wrapper around a String[] function */ - public static PropertyValue> textFont(CameraFunction function) { + public static PropertyValue> textFont(Function function) { return new LayoutPropertyValue<>("text-font", function); } -- cgit v1.2.1