This repository has been archived by the owner on Aug 8, 2023. It is now read-only.
Type problems with CustomGeometrySourceOptions fluent interface #12009
Labels
Android
Mapbox Maps SDK for Android
SEMVER-MAJOR
Requires a major release according to Semantic Versioning rules
Milestone
Platform: Android
Mapbox SDK version: 6.1.1
The fluent interface for CustomGeometrySourceOptions is hard to use if you change paroperties from parent Options class.
This will not compile since withMaxZoom returns a
GeoJsonOptions
You also get a cast error if you call it last and pass it into the
CustomGeometrySource
constructor. And have to cast the result.This is not a major issue, more of an inconvenience.
The text was updated successfully, but these errors were encountered: