diff options
author | Osana Babayan <32496536+osana@users.noreply.github.com> | 2018-10-25 10:35:08 -0400 |
---|---|---|
committer | Tobrun <tobrun.van.nuland@gmail.com> | 2018-10-31 12:27:06 +0100 |
commit | 62f308e148609b7d9c6ebf10c7cfcc7eb6e04182 (patch) | |
tree | 702a69b99a04e077b9295000641dcb159cd695e6 | |
parent | 3b1105e02be31a7a424ac9149525cf99f22469cd (diff) | |
download | qtlocation-mapboxgl-62f308e148609b7d9c6ebf10c7cfcc7eb6e04182.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); |