* fix: import rememberMarkerState and use the marker state correctly
* feat: dataset styling Kotlin samples
* feat: added DataDrivenBoundariesActivity.kt
* feat: added DataDrivenBoundariesActivity
* feat: added documentation
* feat: added header
* chore: changed MY_MAP_ID to DEMO_MAP_ID
* feat: moved data files to raw
* feat: added DataDrivenBoundariesActivity
* feat: removed unused files
* feat: map id
* chore: replace System.out.println with Log.d
* feat: added region tags
* feat: added different set of DDS
* feat: added different set of DDS
* feat: replacing files
feat: replacing files
* feat: replacing files
* feat: compileSdk 35
* feat: compileSdk 35
* chore: updated README file
* feat: trying to force different datasets
* feat: updated samples
* feat: Add data-driven styling for datasets
This commit introduces data-driven styling for datasets in the ApiDemos application.
The following changes were made:
Added a custom Application class (ApiDemoApplication) to check for the presence and validity of the API key during startup.
Added a new data structure (DataSet) to hold information about each dataset, including its label, dataset ID, location, and styling callback.
Updated the DataDrivenDatasetStylingActivity to use the new data structure and styling callbacks.
Rename the dataset input files to better reflect there contents.
* fix: moves the dataset ids to the secrets.properties file
* feat: significant rewrite to of DataDrivenDatasetStylingActivity
* Makes the app look better on full screen with a cutout
* Uses material elements
* Switch to using secrets for the data set ids
* more of a convenience to prevent having to remove the ids when submitting
* moves dataset data files to common area since they are not used directly by the app
* Detailed instructions for uploading the data to console (WIP)
* fix: exports the data driven styling activities so they can be run directly
* feat: added header
* feat: change ubuntu-latest
* feat: change ubuntu-latest
* feat: change ubuntu-latest
---------
Co-authored-by: dkhawk <107309+dkhawk@users.noreply.github.com>
* feat: copies some snippets that were in v3 only to gms
chore: the java compatibility version
* fix: updates copyright dates and adds missing copyright
* fix: copyright header for strings.xml
* fix: set Java Version back to 17
* fix: set Java Version back to 17
* fix: set Java Version back to 17
* fix: set Java Version back to 17
* fix: set Java Version back to 17
* feat: creates AdvancedMarkersCollisionActivity to demonstrate marker collision behavior
* chore: not adding jar files in libs directory
* feat: set Java 21 everywhere
---------
Co-authored-by: Enrique López Mañas <eenriquelopez@gmail.com>
* Add secrets-gradle-plugin.
* Using new ambient mode API.
* Applying fullscreen.
* Add Kotlin samples.
* Use java 11.
* Include local.defaults.properties.
* Rename to local.defaults.properties.
* Add value for GOOGLE_MAPS_API_KEY
* s/master/main
* chore: Adding samples for V3.
Adding samples for V3 BETA in a new module `app-v3`. These samples are
generated by the `generateV3` Gradle task which runs when the `app`
module is built.
TODOs left:
- [ ] Update README with a note about V3 samples
* Update README and location of secure.properties.
* Using product flavors instead of creating a new module for V3 & GMS.
* Update build workflow to run lint and assemble on all flavor/build types.
* Not using deprecated API.
* Install Android NDK.
* Update license headers.
* feat: Adding kotlin sample for MapWithMarker.
* Using gradle technique for passing the API key
* Adding license headers.
* Modify java MapWithMarker to use secure.properties as well.
* Adding more license headers
* Update build.yml cd
* Fix dir.
* Using maps_api_key
* Update tutorials/kotlin/MapWithMarker/app/src/main/java/com/example/mapwithmarker/MapsMarkerActivity.kt
Co-authored-by: Sean Barbeau <sjbarbeau@gmail.com>
* Comments
* Add missing import
Co-authored-by: Sean Barbeau <sjbarbeau@gmail.com>