camera For Annotations
Return camera options bound to given view annotation list, padding, bearing and pitch values. Annotations with ViewAnnotationOptions.visible set to false will be excluded from the calculations of CameraOptions. Annotations with only View.VISIBLE will be included in the calculations for CameraOptions
Note: This API isn't supported by Globe projection and will return NULL. Calling this API immediately after adding the view is a no-op. Please refer to OnViewAnnotationUpdatedListener documentation for understanding the exact moment of time when view annotation is positioned.
If the render thread did not yet calculate the size of the map (due to initialization or map resizing), it will return NULL.
Return
CameraOptions object or NULL if annotations list is empty.
Parameters
view annotation list to be shown. Annotations should be added beforehand with ViewAnnotationManager.addViewAnnotation API.
paddings to apply.
camera bearing to apply.
camera pitch to apply.