diff options
author | Osana Babayan <32496536+osana@users.noreply.github.com> | 2018-10-25 10:35:08 -0400 |
---|---|---|
committer | Tobrun <tobrun@mapbox.com> | 2018-10-31 14:53:56 +0100 |
commit | a1f189937f000b72e8f40739fb9ebb484259dc96 (patch) | |
tree | 1d131ade06a396f3c924b0c95bcbf40701b77190 | |
parent | 2c6d73077d2192764db125961935868782363b6a (diff) | |
download | qtlocation-mapboxgl-a1f189937f000b72e8f40739fb9ebb484259dc96.tar.gz |
[android] Change CustomGeometrySource() signature to be Kotlin friendly (#13178)
-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 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. * <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); |