diff options
author | “osana” <osana.babayan@mapbox.com> | 2018-10-24 11:33:08 -0400 |
---|---|---|
committer | “osana” <osana.babayan@mapbox.com> | 2018-10-24 11:33:08 -0400 |
commit | 6c521eef3d6af08a7d8e0722c6e06f5e9c4039f9 (patch) | |
tree | cd16b5249b4d6bf1b0a7b99e72d8c0978d006bf2 | |
parent | 5f1d4199d994dd552b2b65d500133bb39fc88e5b (diff) | |
download | qtlocation-mapboxgl-6c521eef3d6af08a7d8e0722c6e06f5e9c4039f9.tar.gz |
[android] Change CustomGeometrySource() signature to be Kotlin friendlyupstream/osana-12010
-rw-r--r-- | platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/style/sources/CustomGeometrySource.java | 10 |
1 files 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 a44d7cab1a..d897834671 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. * <p>Supported options are minZoom, maxZoom, buffer, and tolerance.</p> - * - * @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); |