Commit 3a5451d
Update Model Snippets & Catalog Index (#33)
* docs: headers
* feat: Add standalone scripts for cataloging Maps3D API snippets coverage
* Refactor: PlaceSnippets listener to lambda and update CATALOG.md
* Refine camera animations and upgrade button aesthetics in snippets app
* Sort snippet items alphabetically by title in Registry
* Index snippet titles and add navigation controls
* feat(snippets): Implement automatic cleanup and update snippet signatures
- 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.
* feat(snippets): Remove unused GoogleMap3D imports and leftover FQDN and fix null checks
* feat(snippets): Remove FQDN from TrackedMap3D and SnippetsActivity
- 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.
* feat(snippets): Add camera movement to polygon snippets outside snippet tags
* feat(snippets): Update Java polygon camera positions to match Kotlin
* Update Popover and Place snippets with coordinates and camera support
* Update Polyline and Polygon snippets with camera framing coordinates
* Update Model snippets with UFO model configuration and camera framing
* Update Catalog Generator with Concept Index and refresh CATALOG.md
* Add missing Copyright headers to Java utilities and annotations
* Include region tags in catalog index and separate list items
* Update Region Tag search to look both directions prioritizing closest match
* Update Catalog markdown index with sub-bullet layout nested formats
* Add setCameraRestrictions snippet to CameraControlSnippets
* Add setCameraRestrictions snippet and TrackedMap3D forwards
* Update setCameraRestrictions to move camera inside bounds
* Exclude camera movement from camera restriction snippets
* Move camera before setting camera restriction
* Include TrackedMap3D delegate calls into catalog analytics
* feat(snippets): Add Glyph snippets for marker styling on Kotlin and Java
- 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.
* feat(snippets): Add Polygon with Hole snippet to Kotlin and Java
* feat(snippets): Add click listeners & Toast triggers for Polygons, Polylines, 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.
* docs(snippets): Create snippets/README.md and fix DevRel critiques
- 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.
* tooling(snippets): Format catalog links pointing to region tag ranges
- Updated to map line items back to exact region start-end bounds.
- Link generations now use ranges enabling perfect GitHub coordinate views.
* tooling(snippets): Populate file_map with full paths for all source files
- Fixed dictionary fallbacks causing basenames (MapActivity.java) to fail relative mappings.
- Re-ran catalog parser to flush full coordinate reference indices.
* tooling(snippets): Split Catalog Index and Coverage Matrix
- Updated to write (Index) and (Audit matrix) separately.
- Updated documentation indices to reference the split matrix layouts accurately.
* docs(snippets): Detail bytecode analyzer algorithms
- 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.
* tooling(snippets): Remove meta-documentation folder from codebase
- Removed directory following standard cleanliness guidelines.
* tooling(snippets): Untrack docs folder but preserve on disk
* chore(snippets): Reformat code and clean up imports
---------
Co-authored-by: Enrique López Mañas <eenriquelopez@gmail.com>1 parent f23953e commit 3a5451d
60 files changed
Lines changed: 6366 additions & 1047 deletions
File tree
- snippets
- common/src/main/res
- drawable
- layout
- java-app/src
- androidTest/java/com/example/snippets/java
- main
- java/com/example/snippets/java
- annotations
- snippets
- res
- layout
- values
- kotlin-app/src
- androidTest/java/com/example/snippets/kotlin
- main
- java/com/example/snippets/kotlin
- annotations
- snippets
- ui/theme
- utils
- res/values
- scripts
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| 41 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| 29 | + | |
29 | 30 | | |
30 | 31 | | |
31 | 32 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
0 commit comments