diff options
author | Osana Babayan <32496536+osana@users.noreply.github.com> | 2018-10-25 10:35:08 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-25 10:35:08 -0400 |
commit | 1f375cf3c46f70d6c87e3999e416c3d61e48f08a (patch) | |
tree | 8c7df6d6d57eebe5bd18767eaa103bc42d81cbac | |
parent | 8152e487050d39509ea6688ebd627d74304bccd5 (diff) | |
download | qtlocation-mapboxgl-1f375cf3c46f70d6c87e3999e416c3d61e48f08a.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); |