|
29 | 29 | * <li><strong>Full screen mode</strong>: will place all the search history, results, and injected |
30 | 30 | * places into a view which has a width equal to the app width.</li> |
31 | 31 | * <li><strong>Card view mode</strong>: the place search history, results, and injected places in |
32 | | - * an Android Support Library {@link android.support.v7.widget.CardView}</li> |
| 32 | + * into a {@link androidx.cardview.widget.CardView}</li> |
33 | 33 | * </ul> |
34 | 34 | * |
35 | 35 | * @since 0.1.0 |
@@ -190,6 +190,16 @@ public abstract class PlaceOptions implements Parcelable { |
190 | 190 | @Nullable |
191 | 191 | public abstract String hint(); |
192 | 192 |
|
| 193 | + /** |
| 194 | + * Optionally change the base URL of the geocoding request |
| 195 | + * to something other then the default Mapbox one. |
| 196 | + * |
| 197 | + * @return base url of geocoding request |
| 198 | + * @since 0.12.0 |
| 199 | + */ |
| 200 | + @Nullable |
| 201 | + public abstract String baseUrl(); |
| 202 | + |
193 | 203 | /** |
194 | 204 | * Build a new instance of the {@link PlaceOptions} class using this method. It will return the |
195 | 205 | * {@link Builder} which can be used to customize the users experience. |
@@ -429,6 +439,16 @@ public Builder addInjectedFeature(CarmenFeature carmenFeature) { |
429 | 439 | */ |
430 | 440 | public abstract Builder hint(@Nullable String hint); |
431 | 441 |
|
| 442 | + /** |
| 443 | + * Optionally change the base URL of the geocoding request |
| 444 | + * to something other then the default Mapbox one. |
| 445 | + * |
| 446 | + * @param baseUrl base url of geocoding request |
| 447 | + * @return this builder instance for chaining options together |
| 448 | + * @since 0.12.0 |
| 449 | + */ |
| 450 | + public abstract Builder baseUrl(@Nullable String baseUrl); |
| 451 | + |
432 | 452 | abstract PlaceOptions autoBuild(); |
433 | 453 |
|
434 | 454 | /** |
|
0 commit comments