Feature Request P4
Status Update
Comments
di...@gmail.com <di...@gmail.com> #4
Also please add to CameraPosition class opportunity to pass different paddings for different sides.
You could also see reference on mapbox realisation of CameraPosition.Builder:
https://maplibre.org/maplibre-native/android/api/-map-libre%20-native%20for%20-android/com.mapbox.mapboxsdk.camera/-camera-position/-builder/index.html#1868368367%2FFunctions%2F2110661137
You could also see reference on mapbox realisation of CameraPosition.Builder:
Description
#REMINDER: Please do not disclose any possible PII such as: email address, IP, contact number, any part of name, project numbers and billing accounts as these information may violate security and privacy. Comments or attachments that include PII will be removed and restricted from public viewing.
Furthermore, please refrain from replying to a comment as this will make your email address visible. Instead, you may use the Issue Tracker’s comment feature for your replies.
It is OK to share your API Project ID, but _not_ API keys or client ID credentials.
To learn more about personal data, visit
===========================================================================================
Feature Request
-----------------------
What would you like to see us add to this API?
Add please additional CameraUpdateFactory.newLatLngBounds methid with support for different paddings.
Signature like this: public static CameraUpdate newLatLngBounds(@NonNull LatLngBounds bounds, int paddingTop, int paddingBottom, int paddingLeft, int paddingRight)
Explain your use case for that feature:
The current implementation of the API really lacks a similar method for positioning a map with different paddings along the edges.
The GoogleMap.setPaddings method is not suitable because it also applies padding to the watermark, and for it there is a need to configure the padding separately from other elements of the map.