[android] Change CustomGeometrySource() signature to be Kotlin friendly (#13178)
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user