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

Commit

Permalink
[android] Change CustomGeometrySource() signature to be Kotlin friend…
Browse files Browse the repository at this point in the history
…ly (#13178)
  • Loading branch information
osana authored and tobrun committed Oct 31, 2018
1 parent 2c6d730 commit a1f1899
Showing 1 changed file with 5 additions and 5 deletions.
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

0 comments on commit a1f1899

Please sign in to comment.