Skip to content

Update Model Snippets & Catalog Index#33

Merged
dkhawk merged 37 commits into
mainfrom
feat/snippets-updates
Mar 25, 2026
Merged

Update Model Snippets & Catalog Index#33
dkhawk merged 37 commits into
mainfrom
feat/snippets-updates

Conversation

@dkhawk

@dkhawk dkhawk commented Mar 19, 2026

Copy link
Copy Markdown
Collaborator

Consolidated Model snippet fixes (altitude, orientation, scale validation) and added a concepts index to Catalog generator.

kikoso and others added 15 commits March 18, 2026 15:50
…ures

- Added TrackedMap3D decorator to intercept map element additions.
- Updated SnippetRegistry to support clearable items.
- Added explicit cleanup invocation in MapActivity before execution.
- Updated snippet constructors to take Context for UI operations.
- Resolved type inference for clicks and steady listener events correctly.
- Simplified descriptions by removing coordinate mentions.
- Added imports for Camera and FlyToOptions to TrackedMap3D (Java/Kotlin).
- Simplified signatures in TrackedMap3D by removing com.google.android.gms.maps3d.model prefix.
- Cleaned up Compose imports and variables in KotlinSnippetsActivity.
- Simplified when statements and lambda signatures in SnippetRegistry with Kotlin imports.
@dkhawk dkhawk requested a review from kikoso March 19, 2026 23:57
dkhawk added 14 commits March 19, 2026 17:59
- Added `addMarkerWithColorGlyph`, `addMarkerWithTextGlyph`, and `addMarkerWithCircleGlyph` to demonstrate full Glyph static creators set.
- Added standard `[START_EXCLUDE]` blocks targeting smooth camera repositioning to focus viewports onto the newly created markers in real time.
- Updated `CATALOG.md` linking static `fromText` and `fromCircle` methods to fix missing coverage tracking.
…lylines, and Models

- Expanded constructors for `PolygonSnippets`, `PolylineSnippets`, and `ModelSnippets` to accept an Android `Context` safely.
- Appended `.setClickListener` hooks to dispatch `Toast` popups on the UI thread for all relevant creation functions in both Kotlin and Java.
- Fixed Nullable compilation errors in Kotlin by using safe calls (`polygon?.`, `polyline?.`, `model?.`).
- Regenerated `CATALOG.md` output to sync coordinate and listener trackers correctly on local branches.
- Created snippets/README.md explaining the  decorator architecture.
- Appended trace logs inside empty  hooks for .
- Injected educational warning comment block for CoroutineScope lifecycles setup.
- Linked top-level index pointers.
dkhawk added 8 commits March 20, 2026 12:47
- Updated  to map line items back to exact region start-end bounds.
- Link generations now use  ranges enabling perfect GitHub coordinate views.
…iles

- Fixed dictionary fallbacks causing basenames (MapActivity.java) to fail relative mappings.
- Re-ran catalog parser to flush full coordinate reference indices.
- Updated  to write  (Index) and  (Audit matrix) separately.
- Updated documentation indices to reference the split matrix layouts accurately.
- Updated  with accurate descriptions of Usage: javap <options> <classes>
where possible options include:
  --help -help -h -?               Print this help message
  -version                         Version information
  -v  -verbose                     Print additional information
  -l                               Print line number and local variable tables, works in combination with -c
  -public                          Show only public classes and members
  -protected                       Show protected/public classes and members
  -package                         Show package/protected/public classes
                                   and members (default)
  -p  -private                     Show all classes and members
  -c                               Disassemble the code
  -s                               Print internal type signatures
  -sysinfo                         Show system info (path, size, date, SHA-256 hash)
                                   of class being processed
  -verify                          Print additional class verification info
  -constants                       Show final constants
  --module <module>  -m <module>   Specify module containing classes to be disassembled
  -J<vm-option>                    Specify a VM option
  --module-path <path>             Specify where to find application modules
  --system <jdk>                   Specify where to find system modules
  --class-path <path>              Specify where to find user class files
  -classpath <path>                Specify where to find user class files
  -cp <path>                       Specify where to find user class files
  -bootclasspath <path>            Override location of bootstrap class files
  --multi-release <version>        Specify the version to use in multi-release JAR files

GNU-style options may use = instead of whitespace to separate the name of an option
from its value.

Each class to be shown may be specified by a filename, a URL, or by its fully
qualified class name. Examples:
   path/to/MyClass.class
   jar:file:///path/to/MyJar.jar!/mypkg/MyClass.class
   java.lang.Object disassembly and  offset correlations.
- Removed  directory following standard cleanliness guidelines.

@kikoso kikoso left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@dkhawk dkhawk merged commit 3a5451d into main Mar 25, 2026
7 checks passed
@dkhawk dkhawk deleted the feat/snippets-updates branch March 25, 2026 22:19
@googlemaps-bot

Copy link
Copy Markdown

🎉 This PR is included in version 1.7.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants