This repository has been archived by the owner on Aug 8, 2023. It is now read-only.
Convert annotations API to use peer model #6912
Labels
Android
Mapbox Maps SDK for Android
annotations
Annotations on iOS and macOS or markers on Android
refactor
SEMVER-MAJOR
Requires a major release according to Semantic Versioning rules
Our current annotations API relies heavily on MapboxMap/Mapview as a gateway to use jni to talk to core. There is actually no need to route through these classes if we implement our annotations as peer models, the classes themselves will be able to call into jni.
This type of construction is heavily used in runtime style implementation and separates the code more cleanly. An example of such a peer model class in details below.
cc @ivovandongen
The text was updated successfully, but these errors were encountered: