In #9983 and previous tickets, there has been much discussion over the naming and convention around MGLComputedShapeSource and its related classes.
Previous conversations have centered around:
Removing MGLAbstractShapeSource in favor of a single MGLShapeSource that allows providing the shape content in a single call, or via callbacks. #9983(comment)
Improving the API interface for MGLComputedShapeSourceDataSource to better indicate that it will not be called on the main thread, and should be implemented with thread safety in mind.1, 2, and 3
Simplifying MGLShapeSourceOption, and better align it with the specific options of the shape source being used.
11568 removed MGLAbstractShapeSource, but it left separate MGLShapeSource and MGLComputedShapeSource classes. A future unification – or at least making one a subclass of the other – would be desirable, but any changes along these lines would require refactoring the underlying mbgl classes as well.
In #9983 and previous tickets, there has been much discussion over the naming and convention around
MGLComputedShapeSource
and its related classes.Previous conversations have centered around:
MGLAbstractShapeSource
in favor of a singleMGLShapeSource
that allows providing the shape content in a single call, or via callbacks. #9983(comment)MGLComputedShapeSourceDataSource
to better indicate that it will not be called on the main thread, and should be implemented with thread safety in mind.1, 2, and 3MGLShapeSourceOption
, and better align it with the specific options of the shape source being used.cc @1ec5