Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

[android] Change CustomGeometrySource() signature to be Kotlin friendly #13178

Merged
merged 1 commit into from
Oct 25, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down