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

Commit

Permalink
[android] improved CustomGeometrySource constructor typing
Browse files Browse the repository at this point in the history
  • Loading branch information
LukasPaczos committed Oct 25, 2018
1 parent 1f375cf commit 1948a58
Showing 1 changed file with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,14 +62,16 @@ public CustomGeometrySource(String id, GeometryTileProvider provider) {
}

/**
* Create a CustomGeometrySource with non-default CustomGeometrySourceOptions.
* <p>Supported options are minZoom, maxZoom, buffer, and tolerance.</p>
* @param id The source id.
* Create a CustomGeometrySource with non-default {@link CustomGeometrySourceOptions}.
* <p>
* Supported inherited {@link GeoJsonOptions} options are minZoom, maxZoom, buffer, and tolerance.
*
* @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, CustomGeometrySourceOptions options,
public CustomGeometrySource(String id, GeoJsonOptions options,
GeometryTileProvider provider) {
super();
this.provider = provider;
Expand Down

0 comments on commit 1948a58

Please sign in to comment.