From a1f189937f000b72e8f40739fb9ebb484259dc96 Mon Sep 17 00:00:00 2001 From: Osana Babayan <32496536+osana@users.noreply.github.com> Date: Thu, 25 Oct 2018 10:35:08 -0400 Subject: [android] Change CustomGeometrySource() signature to be Kotlin friendly (#13178) --- .../mapbox/mapboxsdk/style/sources/CustomGeometrySource.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/style/sources/CustomGeometrySource.java b/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/style/sources/CustomGeometrySource.java index 8aef5bc2ac..667e7f487f 100644 --- a/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/style/sources/CustomGeometrySource.java +++ b/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/style/sources/CustomGeometrySource.java @@ -58,19 +58,19 @@ public class CustomGeometrySource extends Source { */ @UiThread public CustomGeometrySource(String id, GeometryTileProvider provider) { - this(id, provider, new CustomGeometrySourceOptions()); + this(id, new CustomGeometrySourceOptions(), provider); } /** * Create a CustomGeometrySource with non-default CustomGeometrySourceOptions. *

Supported options are minZoom, maxZoom, buffer, and tolerance.

- * - * @param id The source id. - * @param provider The tile provider that returns geometry data for this source. + * @param id The source id. * @param options CustomGeometrySourceOptions. + * @param provider The tile provider that returns geometry data for this source. */ @UiThread - public CustomGeometrySource(String id, GeometryTileProvider provider, CustomGeometrySourceOptions options) { + public CustomGeometrySource(String id, CustomGeometrySourceOptions options, + GeometryTileProvider provider) { super(); this.provider = provider; initialize(id, options); -- cgit v1.2.1