* 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>
* chore(dependencies): general update of dependencies
* doc: updated API level for WearOS
* chore: updated API level for WearOS
* chore: moved namespace to Gradle file
Co-authored-by: Angela Yu <5506675+wangela@users.noreply.github.com>
* feat: Using local.properties to provide API key instead of secure.properties.
* Remove redundant declaration in main AndroidManifest.xml
* Migrate ApiDemos - Kotlin to use local.properties.
* Update README for tutorials.
* Genericize.
* Remove references to secure.properties.
* s/master/main
New process to add your own Google Maps API key:
1. [Get a Maps API key](https://developers.google.com/maps/documentation/android-sdk/get-api-key)
1. Create a file in the `ApiDemos/kotlin/app` directory called `secure.properties` (this file should *NOT* be under version control to protect your API key)
1. Add a single line to `ApiDemos/kotlin/app/secure.properties` that looks like `MAPS_API_KEY=YOUR_API_KEY`, where `YOUR_API_KEY` is the API key you obtained in the first step
1. Build and run