googlemaps / android-maps-compose

Jetpack Compose composables for the Maps SDK for Android
https://developers.google.com/maps/documentation/android-sdk/maps-compose
Apache License 2.0
1.16k stars 143 forks source link

Z-Axis rotation on MarkerComposable or access to Z-Axis rotation of the native CurrentLocationMarker #604

Closed LuuOW closed 4 months ago

LuuOW commented 4 months ago

Thanks for stopping by to let us know something could be better!


PLEASE READ

If you have a support contract with Google, please create an issue in the support console. This will ensure a timely response.

Discover additional support services for the Google Maps Platform, including developer communities, technical guidance, and expert support at the Google Maps Platform support resources page.

If your bug or feature request is not related to this particular library, please visit the Google Maps Platform issue trackers.

Check for answers on StackOverflow with the google-maps tag.


Is your feature request related to a problem? Please describe.

Not related to a problem.

Describe the solution you'd like It would be great to have access to the Z-axis of current location marker or have the chance to rotate the Z-Axis of a custom MarkerComposable as if it was part of the native map since right know is not possible to achieve this, if you add a. GraphicLayer over the MarkerComposable it behaves as a 2D element and not as part of the 3D view of the GoogleMap.

Describe alternatives you've considered Adding a rotation matrix parameter to the MarkerComposable could achieve the desired behavior but first it would be need to be marked or "included" as an 3D element of the view of the GoogleMap.

Additional context In the current implementation if you manually perform a rotation gesture in the GoogleMap it does rotate the current location marker in the Z-Axis of such composable, even so is not possible to access to the rotation with parameters.