Repository navigation
Conversation
dkhawk
force-pushed
the
feat/java-ui-controls
branch
from
October 14, 2026 23:33
6c23706 to
31680de
Compare
dkhawk
marked this pull request as ready for review
October 14, 2026 23:34
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Restores the Java
Map3DControlUI controls showcase (UiControlsActivity.java) and snippets (UiControlSnippets.java) that were split out of #78 while awaiting theplay-services-maps3d:16.0.1release.Context
play-services-maps3d:16.0.0,com.google.android.gms.maps3d.Map3DControl.classcontained a malformedRuntimeInvisibleParameterAnnotationsattribute (num_parameters = 2on a 1-parameter constructor), which causedjavacon JDK 21+ to crash withjava.lang.IndexOutOfBoundsExceptionwhenever Java source referencedMap3DControl.play-services-maps3d:16.0.1(maps3d.android.sdk_20260831_RC03). Once16.0.1is published to Google Maven andgradle/libs.versions.tomlis bumped, this PR can be merged to complete 3-way Java/Kotlin/Compose parity for the UI Controls showcase.Changes Included
Maps3DSamples/ApiDemos/java-app:UiControlsActivity.javademonstrating interactive placement and orientation controls for all 6Map3DControlwidgets (MAP_MODE_PICKER,COMPASS,TILT,ROTATE,ZOOM,DEFAULT_CAMERA)..uicontrols.UiControlsActivityinAndroidManifest.xml,MainActivity.java, andMainActivityTest.java.snippets/java-app:UiControlSnippets.javaand registers the 5 UI control snippets inSnippetRegistry.java.